Sorry terminology error, turn off scintilla lexer setting styles, not do away with Scintilla and its rendering of the buffer.

So what I am saying is that when the LSP says that a range is a classname we can set the classname style on that range in Scintilla the same way the lexer does now.

Although MS calls it "semantic" tokens, it seems to also include simple syntax things like keywords, numbers, strings, comments etc so it can provide the information to completely replace the lexer.

And the LSP message specifies a range to return, which seems to map to Scintilla's SCN_STYLENEEDED message.

Of course I'm sure there will be many complicated details in that simple description 😈


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3571/c1752000683@github.com>