Make a few improvements to regex and remove debug output

This commit is contained in:
Veronica Berglyd Olsen
2024-06-01 14:16:05 +02:00
parent 987740f7e9
commit d190315909
3 changed files with 5 additions and 7 deletions
+3
View File
@@ -2030,6 +2030,9 @@ class GuiDocEditor(QPlainTextEdit):
cursor.movePosition(QtMoveLeft, QtKeepAnchor, nDelete)
cursor.insertText(tInsert)
# Re-highlight, since the auto-replace sometimes interferes with it
self._qDocument.syntaxHighlighter.rehighlightBlock(cursor.block())
return
@staticmethod