Context is private.
If I wanna alone analyse strings for highlighting, I need xml files.
Here is well explained:
https://docs.kde.org/stable5/en/kate/katepart/highlight.html
To better understand dynamic rules I need examples:
Let analyse line (with definition in xml.xml from
https://kate-editor.org
I am writing component for viewing huge files > 4 GiB, which are not
loaded to memory. (https://github.com/siplasplas/qt-textviewer)
I want add syntax highlighting (and maybe folding), but I can’t use
QTextDocument because my fro ground widget not keep whole text in
memory and number lines is unkn