The computation of which node in Outline to show for the corresponding editor caret position should be done in a Job instead of Thread

Details

Description

When done in a thread, if user clicks around quickly, each caret position change will trigger a new thread to compute the corresponding node, even though only the last one is necessary. The operation should be changed to use a Job instead to improve performance.

Note, you could try replicating this by opening a large javascript file in a previous version, turn on "link with editor" and try clicking around to see how it performed. Try this again with the newer version.

Ingo Muschenetz
added a comment - 22/Nov/11 1:25 AM Note, you could try replicating this by opening a large javascript file in a previous version, turn on "link with editor" and try clicking around to see how it performed. Try this again with the newer version.