Remove no longer needed rehighlighting code
This commit is contained in:
@@ -1924,8 +1924,6 @@ class GuiDocEditor(QPlainTextEdit):
|
|||||||
).format(tag)):
|
).format(tag)):
|
||||||
itemClass = nwKeyWords.KEY_CLASS.get(tBits[0], nwItemClass.NO_CLASS)
|
itemClass = nwKeyWords.KEY_CLASS.get(tBits[0], nwItemClass.NO_CLASS)
|
||||||
self.requestNewNoteCreation.emit(tag, itemClass)
|
self.requestNewNoteCreation.emit(tag, itemClass)
|
||||||
QApplication.processEvents()
|
|
||||||
self._qDocument.syntaxHighlighter.rehighlightBlock(block)
|
|
||||||
|
|
||||||
return nwTrinary.POSITIVE if exist else nwTrinary.NEGATIVE
|
return nwTrinary.POSITIVE if exist else nwTrinary.NEGATIVE
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user