Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumssyntax highlighting for different groups of keywords
https://www.eclipse.org/forums/index.php/mv/msg/1087040/1766634/#msg_1766634
i am able to override the keywordTextStyle() method in a class that extends DefaultHighlightingConfiguration (which i then bind appropriately).... but this simply changes the style of *all* keywords....
i've found the class HighlightingStyles, though this appears to have a fixed set of categories (KEYWORD, COMMENT, etc)
how might i do this with the framework????
thanks, bob]]>Bob Frankel2017-06-23T17:20:37-00:00Re: syntax highlighting for different groups of keywords
https://www.eclipse.org/forums/index.php/mv/msg/1087040/1766636/#msg_1766636
- create different styles in the HighlightingConfiguration
- implement a ISemanticHighlightingCalculator that calculates the keywords.