| Reevaluate syntax highlighting for entire document [message #929875] |
Mon, 01 October 2012 17:11  |
James Phillpotts Messages: 2 Registered: October 2012 |
Junior Member |
|
|
Hi,
I've got a plugin I've written that provides an Editor for Cucumber-JVM .feature files (using the Gherkin language). The first line of the file can declare a i18n language. I have got the syntax highlighting using this value, but when the value is changed, the old language's highlighting continues to be applied until the editor is closed and reopened.
I've been looking through documentation and examples on using presentation reconcilers, damagers and repairers - but to re-evaluate the entire document I'm not sure what I should be looking at doing - should I be creating a custom reconciler that on finding damage in the language declaration then calls to all repairers for all tokens of the appropriate type in the document?
Thanks in advance for any pointers,
James
|
|
|
|
Powered by
FUDForum. Page generated in 0.02625 seconds