@kugel- commented on this pull request.


In src/sciwrappers.c:

>  	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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3668/review/1713533346@github.com>