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