|Reevaluate syntax highlighting for entire document [message #929875]
||Mon, 01 October 2012 17:11
| James Phillpotts
Registered: October 2012
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,
Powered by FUDForum
. Page generated in 0.05875 seconds