Force a rehighlight on theme switch for small documents (#1535)
This commit is contained in:
@@ -359,6 +359,8 @@ class GuiDocEditor(QTextEdit):
|
||||
self.clearEditor()
|
||||
else:
|
||||
self.redrawText()
|
||||
if not self._bigDoc:
|
||||
self.highLight.rehighlight()
|
||||
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user