AFAIK the styles are just compile-time constants so it's not obvious how they could be stored in the filetype file. Perhaps Scintilla provides some other way too, IDK.
Well themes set styles using names for the lexical entity, my (not fleshed out) thought at the time of the comment was that the same mechanism could be used to translate names to style numbers?
More generally it would be good if we could auto-generate C code based on scintilla styles so adding a lexer is semi-automated.
Agree totally, IIRC @codebrainz once looked at scripting Lexer upgrades further, but (again IIRC) when he asked for changes to Scintilla Neil refused (backward compatibility) so the idea was dropped. I think some other Scintilla users have such tooling, thats why Neil didn't want to change stuff, maybe we could steal reuse it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.