@kugel- commented on this pull request.


>       SSM(sci, SCI_SETILEXER, 0, (uintptr_t) lexer);
 
-       if (old != (gint)lexer_id)
+       if (old != sci_get_lexer(sci))

Must be out-dated. Clearly, because of

> Some lexers may not have a lexer ID, just a lexer name in which case 0 is 
> returned.

`SCI_GETLEXER` cannot be reliably used anymore, if using any recent lexer 
anyway.

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

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

Reply via email to