|DerivedState filter events [message #1770991]
||Sun, 20 August 2017 17:56
| Carsten Wrobel
Registered: May 2017
We have an xtext project that uses derivedstate functionality and we would like to filter the events we act on in the installDerivedState method.
In our project we receive a resource modified event every time a character or for example a space is inserted into the editor.
Our problem is that we can't interpret something meaningful from the concrete syntax before a user has completed a full sentence. A way to handle this is only to act on save events.
Is that possible (if so, how?) - or are there other mechanisms in the framework which can be used to avoid this problem?
Powered by FUDForum
. Page generated in 0.01453 seconds