Dunno, can only suggest looking at one of the scintilla based apps that does what you want and steal, erm reuse, their algorithms.
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1141#issuecomment-344471890
