|How to change Xtext DSL file programmatically ? (Xtext 2.24) [message #1841843]
||Tue, 01 June 2021 06:45
| Ryana Karaki
Registered: May 2021
I am new to Xtext & DSL writing. Following Xtext tutorials, I created a DSL and want to add debugging support such as breakpoints, detailed messages...
To add messages dynamically, I want to be able to edit my Xtext DSL file programmatically : for instance, if I pass through a certain variable, I want it to change its writing style to italic.
I saw this thread https://www.eclipse.org/forums/index.php/m/552850/?srch=getActiveXtextEditor+returns+null#msg_552850, and discovered that the IDocumentEditor could help me. However, working in Xtext 2.24, it seems that I can't access it.
Does a 'replacement' for the IDocumentEditor exist or am I missing something ?
Thanks in advance !
Powered by FUDForum
. Page generated in 0.02115 seconds