[Github-comments] [geany/geany] Scintilla V5 upgrade (#2824)

elextr notifications at xxxxx
Mon Aug 16 09:29:03 UTC 2021


Yeah, I have only had a quick look, but setting lexers by ID is no longer even supported, needs the `ilexer5*` pointer AFAICT.  Thats awkward with the big switches in `highlighting.c`.  Maybe as you said we can map from id to name to pointer and fill that in using `LexerNameFromID()` and `CreateLexer()` for now, but in the longer term probably need to store the name of the lexer and our internal id (for the switches) in the filetype struct and use that instead of SCILEX_* IDs.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2824#issuecomment-899364796
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210816/8ac078df/attachment.htm>


More information about the Github-comments mailing list