For richer syntax coloring in FlashDevelop we have patched LexCPP to add 3 additional keyword classes. It takes time to keep our fork in sync with Scintilla updates so I'm asking you to include it by default.
Why is 3 the correct number of additional keyword lists? Why is this better than 2? Or 4?
I'm open to implement it differently - would you accept it if it's based on a property defining an arbitrary number of additional keyword lists?
The goal isn't to add more keywords to JS, but to support more subtle coloring of more complex languages using the cpp lexer (Actionscript, Haxe). This was a popular request among our users who love to completely customize their colors.
But I suppose it'll be better to make this aspect more flexible in scintilla general instead of this kind of monkey patching.
There is now provisional support for substyles in the C++ lexer so they can be experimented with. Provisional means it may change before becoming final.
Substyles are now finalized so should be used for this case.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.