currently we are using `QTextDocument` which is way too overkill for our usecase. In this case we have to manually implement `KAbstractSyntaxHighlighting`