Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.10
-
None
Description
After calling QSyntaxtHighlighter::rehighlight() to update highlighting on the whole document nothing happens until the text edit is updated (for example: resized..).
Expected behavior: text background should be updated after calling rehighlight()
The workaround for this issue is to update every block with QSyntaxHighlighter::rehighlightBlock(textblock) mentioned here.