|
|
Re: How to force the editor to parse the entire editor content [message #1776224 is a reply to message #1776196] |
Tue, 14 November 2017 06:58 |
Markus Holzem Messages: 7 Registered: November 2017 |
Junior Member |
|
|
Thanks for the hint, but unfortunately the process does not pass PartialParsingHelper.reparse.
While editing my stack trace looks like
Thread [main] (Suspended)
DocumentTokenSource.computeDamageRegion(DocumentEvent) line: 286
DocumentTokenSource.updateStructure(DocumentEvent) line: 249
XtextDocument.fireDocumentChanged(DocumentEvent) line: 700
XtextDocument(AbstractDocument).replace(int, int, String, long) line: 1102
XtextDocument(AbstractDocument).replace(int, int, String) line: 1120
ProjectionTextStore.replace(int, int, String) line: 103
ProjectionDocument(AbstractDocument).replace(int, int, String, long) line: 1095
ProjectionDocument(AbstractDocument).replace(int, int, String) line: 1120
ProjectionDocument.replace(int, int, String) line: 625
DefaultDocumentAdapter.replaceTextRange(int, int, String) line: 233
StyledText.modifyContent(Event, boolean) line: 7355
...
The DocumentEvent holds the XtextDocument and an offset starting at the position where I type in the editor.
I think I have to override org.eclipse.xtext.ui.editor.model.DocumentTokenSource.getRepairEntryData(DocumentEvent) to achieve what I want.
Markus
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.26622 seconds