Added synopsis keyword and a meta file and dictiopnaries to hold the data

This commit is contained in:
Veronica K. B. Olsen
2019-11-10 17:09:35 +01:00
parent f9ead10245
commit 231b0b8c53
6 changed files with 96 additions and 26 deletions
+5 -5
View File
@@ -523,17 +523,17 @@ class GuiMain(QMainWindow):
theDoc = NWDoc(self.theProject, self)
theText = theDoc.openDocument(tHandle, False)
# Run Word Count
cC, wC, pC = countWords(theText)
# Build tag index
self.theIndex.scanText(tHandle, theText)
# Get Word Counts
cC, wC, pC = self.theIndex.getCounts(tHandle)
tItem.setCharCount(cC)
tItem.setWordCount(wC)
tItem.setParaCount(pC)
self.treeView.propagateCount(tHandle, wC)
self.treeView.projectWordCount()
# Build tag index
self.theIndex.scanText(tHandle, theText)
nDone += 1
if dlgProg.wasCanceled():
break