Force a rehighlight on theme switch for small documents (#1535)

This commit is contained in:
Veronica Berglyd Olsen
2023-11-04 17:43:02 +01:00
parent a50e79b155
commit dd61897d11
+2
View File
@@ -359,6 +359,8 @@ class GuiDocEditor(QTextEdit):
self.clearEditor()
else:
self.redrawText()
if not self._bigDoc:
self.highLight.rehighlight()
return True