Remove no longer needed rehighlighting code

This commit is contained in:
Veronica Berglyd Olsen
2024-06-16 21:19:42 +02:00
parent efc94a7fd5
commit 6540c56672
-2
View File
@@ -1924,8 +1924,6 @@ class GuiDocEditor(QPlainTextEdit):
).format(tag)):
itemClass = nwKeyWords.KEY_CLASS.get(tBits[0], nwItemClass.NO_CLASS)
self.requestNewNoteCreation.emit(tag, itemClass)
QApplication.processEvents()
self._qDocument.syntaxHighlighter.rehighlightBlock(block)
return nwTrinary.POSITIVE if exist else nwTrinary.NEGATIVE