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 :smiling_imp: 


-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3571#issuecomment-1752000683
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3571/[email protected]>

Reply via email to