@b4n commented on this pull request.
> SSM(sci, SCI_SETILEXER, 0, (uintptr_t) lexer); - if (old != (gint)lexer_id) + if (old != sci_get_lexer(sci))
I'm not sure what is the recommendation on this: the documentation says to use this for checking whether setting the new lexer worked. OTOH, there is SCI_GETLEXERLANGUAGE which probably would work as well (albeit a bit more expansive).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.