GtkSourceView and Scintilla are two different libraries addressing the same 
use-case but with totally different ways of doing it, different APIs and 
different highlighting approaches (as you observed).  They are not drop in 
replacements.  Geany and plugins are entirely written around the Scintilla API, 
relying on Scintilla features and capabilities.  To change it to GtkSourceView 
would require a complete rewrite of all of those, it would not be Geany, it 
would be a different program.

There is nothing preventing "somebody" writing a Scintilla lexer that uses 
regexen or other user configurable method to generate highlighting, but nobody 
has found it worthwhile.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/3695#discussioncomment-7608842
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/repo-discussions/3695/comments/[email protected]>

Reply via email to