Merge branch 'develop' into charcount

This commit is contained in:
Tobias Frisch 2021-02-19 15:08:51 +01:00 committed by GitHub
commit 1b62288982
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -2,7 +2,7 @@ language: generic
os:
- osx
- linux
osx_image: xcode10.1
osx_image: xcode11
sudo: required
install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then package/prepare_osx.sh; fi

View file

@ -80,6 +80,9 @@ class outlineItem(abstractItem):
def wordCount(self):
return self._data.get(self.enum.wordCount, 0)
def charCount(self):
return self._data.get(self.enum.charCount, 0)
def __str__(self):
return "{id}: {folder}{title}{children}".format(
id=self.ID(),