|
|
Re: Outline View flicker [message #870472 is a reply to message #782885] |
Tue, 08 May 2012 11:28 |
Jan Koehnlein Messages: 760 Registered: July 2009 Location: Hamburg |
Senior Member |
|
|
Which version of Xtext are you using?
Am 24.01.12 17:36, schrieb David Struck:
> Hi all, when I have an Xtext editor open with an Outline View, the
> Outline View's tree refreshes every time I make an edit to the file in
> the editor. This is great except for it makes the Outline View seem to
> flicker if I'm, say, editing the name of something, since it refreshes
> on each key press.
>
> Is there any way to do a more local refresh to the Outline View in these
> situations? For example, if I am simply changing the name of an item,
> can I make it so only the node that corresponds to that item is
> refreshed (instead of the whole tree)?
>
> Thanks,
>
> David
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
---
Get professional support from the Xtext committers at www.typefox.io
|
|
|
|
Re: Outline View flicker [message #870770 is a reply to message #870644] |
Wed, 09 May 2012 15:07 |
Jan Koehnlein Messages: 760 Registered: July 2009 Location: Hamburg |
Senior Member |
|
|
The outline is refreshed by the reconciler, i.e. if you stop typing for
200ms. So as long as you spend less than 1/5s between keystrokes, there
should be no flickering. Is that what you experience?
I assume your outline tree is very big? How many nodes do you have
approx.? Does it improve when you collapse nodes ?
As the outline model is calculated in background, it wouldn't be a good
idea to reconcile the outline model, as UI actions could happen
concurrently.
Am 09.05.12 10:07, schrieb Thomas Hergenröder:
> 2.2
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
---
Get professional support from the Xtext committers at www.typefox.io
|
|
|
Powered by
FUDForum. Page generated in 0.04018 seconds