- This topic has 3 replies, 3 voices, and was last updated 20 years, 11 months ago by Riyad Kalla.
-
AuthorPosts
-
Riyad KallaMemberCurrently the outline view parser updates after ever keystroke, this seems overly aggressive to me. Could this become a configuration option under the XML parser?
Also some people like their outlines to not necessarily update on a timer, but update after a save, so if that isn’t currently an option, maybe that could be another options?
* Update outline after: [ ]ms
* Update outline on saveBest,
Riyad
support-michaelKeymasterThe issue with the outline viewer being out of sync with the src is that the outliner allows the user to select a node which in turn scrolls to and selects the corresponding src. So we update the tree on each src update. I know this may cause some flicker in outliner (which we will optmize in the future). We’ll give these enhancement discussion internally.
Michael
MyEclipse Support
stevehParticipantThe outline not only flickers, but on very long Struts configuration files it also introduces a noticeable delay between each keypress. If the outline was updated very slightly less regularly in the background it would help.
Riyad KallaMemberMichael,
I rarely use the outline to click on it, but I understand what you are saying (if the person doesn’t save the outline, then it isn’t update and they click on something that is no longer there in the file, bad things happen) so what about adding the two options i Mentioned, and performing a sync if the user focuses or clicks on the Outline view? Granted you won’t perform their jumpto, but after the tree updates they’ll be able to click again.If your default sync pause is 250ms, that’s slow enough that the outline won’t flicker like crazy, and fast enough that by the time the user takes his/her hands off the keyboard to go click on the outline, its already updated itself. If this is a good default, many people will not change it. Now if someone does change the behavior to every save, and they use the outline alot they will get used to double clicking (1 click == sync, 1 click == select) and you could add an explination in the options panel how this may effect their use of the outline view.
Now if you are like me and like LOOKING at the outline view but don’t use it, then I’d set mine to save and just enjoy it being pretty.
-
AuthorPosts