Added --info flag and modified logging output a bit

This commit is contained in:
Veronica K. B. Olsen
2019-11-05 11:25:45 +01:00
parent 28d347c848
commit 709689cf55
4 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -531,7 +531,7 @@ class GuiDocEditor(QTextEdit):
def _addWord(self, theCursor):
theWord = theCursor.selectedText().strip()
logger.info("Added '%s' to project dictionary" % theWord)
logger.debug("Added '%s' to project dictionary" % theWord)
self.theDict.addWord(theWord)
self.hLight.setDict(self.theDict)
self.hLight.rehighlightBlock(theCursor.block())