Add novel tree method to refresh metadata for item

This commit is contained in:
Veronica Berglyd Olsen committed 2022-11-14 16:59:04 +01:00
1 parent e9b603d5a5
commit e52d8d9ff7
4 files changed
+62 -19

No files matched your search

+5
View File
@@ -501,6 +501,11 @@ class NWIndex:
yield f"{tHandle}:{sTitle}", tHandle, sTitle, hItem
return
def getItemData(self, tHandle):
"""Get the index data for a given item.
"""
return self._itemIndex[tHandle]
def getNovelWordCount(self, skipExcl=True):
"""Count the number of words in the novel project.
"""