Add a main count setting and use it for the project tree

This commit is contained in:
Veronica Berglyd Olsen
2025-04-29 21:26:13 +02:00
parent da84d40cd5
commit ba7fdb314b
3 changed files with 15 additions and 1 deletions
+4
View File
@@ -164,6 +164,10 @@ class NWItem:
def paraCount(self) -> int:
return self._paraCount
@property
def mainCount(self) -> int:
return self._charCount if CONFIG.useCharCount else self._wordCount
@property
def initCount(self) -> int:
return self._initCount