novelWriter 2.6b2__py3-none-any.whl → 2.6rc1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {novelWriter-2.6b2.dist-info → novelWriter-2.6rc1.dist-info}/METADATA +2 -2
- {novelWriter-2.6b2.dist-info → novelWriter-2.6rc1.dist-info}/RECORD +95 -95
- {novelWriter-2.6b2.dist-info → novelWriter-2.6rc1.dist-info}/WHEEL +1 -1
- novelwriter/__init__.py +4 -4
- novelwriter/assets/i18n/nw_de_DE.qm +0 -0
- novelwriter/assets/i18n/nw_en_US.qm +0 -0
- novelwriter/assets/i18n/nw_es_419.qm +0 -0
- novelwriter/assets/i18n/nw_fr_FR.qm +0 -0
- novelwriter/assets/i18n/nw_it_IT.qm +0 -0
- novelwriter/assets/i18n/nw_ja_JP.qm +0 -0
- novelwriter/assets/i18n/nw_nb_NO.qm +0 -0
- novelwriter/assets/i18n/nw_nl_NL.qm +0 -0
- novelwriter/assets/i18n/nw_pl_PL.qm +0 -0
- novelwriter/assets/i18n/nw_pt_BR.qm +0 -0
- novelwriter/assets/i18n/nw_ru_RU.qm +0 -0
- novelwriter/assets/i18n/nw_zh_CN.qm +0 -0
- novelwriter/assets/manual.pdf +0 -0
- novelwriter/assets/sample.zip +0 -0
- novelwriter/common.py +1 -1
- novelwriter/config.py +4 -1
- novelwriter/constants.py +36 -36
- novelwriter/core/buildsettings.py +1 -1
- novelwriter/core/coretools.py +1 -1
- novelwriter/core/docbuild.py +1 -1
- novelwriter/core/document.py +1 -1
- novelwriter/core/index.py +1 -1
- novelwriter/core/item.py +1 -1
- novelwriter/core/itemmodel.py +1 -1
- novelwriter/core/options.py +1 -1
- novelwriter/core/project.py +1 -1
- novelwriter/core/projectdata.py +8 -2
- novelwriter/core/projectxml.py +1 -1
- novelwriter/core/sessions.py +1 -1
- novelwriter/core/spellcheck.py +1 -1
- novelwriter/core/status.py +17 -3
- novelwriter/core/storage.py +1 -1
- novelwriter/core/tree.py +1 -1
- novelwriter/dialogs/about.py +1 -1
- novelwriter/dialogs/docmerge.py +1 -1
- novelwriter/dialogs/docsplit.py +1 -1
- novelwriter/dialogs/editlabel.py +1 -1
- novelwriter/dialogs/preferences.py +2 -2
- novelwriter/dialogs/projectsettings.py +146 -96
- novelwriter/dialogs/quotes.py +1 -1
- novelwriter/dialogs/wordlist.py +11 -10
- novelwriter/enum.py +1 -1
- novelwriter/error.py +2 -2
- novelwriter/extensions/configlayout.py +1 -1
- novelwriter/extensions/eventfilters.py +1 -1
- novelwriter/extensions/modified.py +17 -5
- novelwriter/extensions/novelselector.py +1 -1
- novelwriter/extensions/pagedsidebar.py +4 -4
- novelwriter/extensions/progressbars.py +4 -4
- novelwriter/extensions/statusled.py +3 -3
- novelwriter/extensions/switch.py +3 -3
- novelwriter/extensions/switchbox.py +1 -1
- novelwriter/extensions/versioninfo.py +1 -1
- novelwriter/formats/shared.py +1 -1
- novelwriter/formats/todocx.py +1 -1
- novelwriter/formats/tohtml.py +1 -1
- novelwriter/formats/tokenizer.py +5 -5
- novelwriter/formats/tomarkdown.py +1 -1
- novelwriter/formats/toodt.py +1 -1
- novelwriter/formats/toqdoc.py +1 -1
- novelwriter/formats/toraw.py +1 -1
- novelwriter/gui/doceditor.py +4 -2
- novelwriter/gui/dochighlight.py +1 -1
- novelwriter/gui/docviewer.py +1 -1
- novelwriter/gui/docviewerpanel.py +1 -1
- novelwriter/gui/editordocument.py +1 -1
- novelwriter/gui/itemdetails.py +3 -3
- novelwriter/gui/mainmenu.py +1 -1
- novelwriter/gui/noveltree.py +1 -1
- novelwriter/gui/outline.py +8 -9
- novelwriter/gui/projtree.py +5 -7
- novelwriter/gui/search.py +2 -9
- novelwriter/gui/sidebar.py +1 -1
- novelwriter/gui/statusbar.py +20 -3
- novelwriter/gui/theme.py +1 -1
- novelwriter/guimain.py +1 -5
- novelwriter/shared.py +1 -1
- novelwriter/text/counting.py +1 -1
- novelwriter/text/patterns.py +1 -1
- novelwriter/tools/dictionaries.py +1 -1
- novelwriter/tools/lipsum.py +1 -1
- novelwriter/tools/manusbuild.py +1 -1
- novelwriter/tools/manuscript.py +7 -7
- novelwriter/tools/manussettings.py +1 -1
- novelwriter/tools/noveldetails.py +1 -1
- novelwriter/tools/welcome.py +1 -1
- novelwriter/tools/writingstats.py +1 -1
- novelwriter/types.py +2 -2
- {novelWriter-2.6b2.dist-info → novelWriter-2.6rc1.dist-info}/LICENSE.md +0 -0
- {novelWriter-2.6b2.dist-info → novelWriter-2.6rc1.dist-info}/entry_points.txt +0 -0
- {novelWriter-2.6b2.dist-info → novelWriter-2.6rc1.dist-info}/top_level.txt +0 -0
novelwriter/text/patterns.py
CHANGED
@@ -7,7 +7,7 @@ Created: 2024-06-01 [2.5rc1] RegExPatterns
|
|
7
7
|
Created: 2024-11-04 [2.6b1] DialogParser
|
8
8
|
|
9
9
|
This file is a part of novelWriter
|
10
|
-
Copyright
|
10
|
+
Copyright (C) 2024 Veronica Berglyd Olsen and novelWriter contributors
|
11
11
|
|
12
12
|
This program is free software: you can redistribute it and/or modify
|
13
13
|
it under the terms of the GNU General Public License as published by
|
@@ -6,7 +6,7 @@ File History:
|
|
6
6
|
Created: 2023-11-19 [2.2rc1] GuiDictionaries
|
7
7
|
|
8
8
|
This file is a part of novelWriter
|
9
|
-
Copyright
|
9
|
+
Copyright (C) 2023 Veronica Berglyd Olsen and novelWriter contributors
|
10
10
|
|
11
11
|
This program is free software: you can redistribute it and/or modify
|
12
12
|
it under the terms of the GNU General Public License as published by
|
novelwriter/tools/lipsum.py
CHANGED
@@ -6,7 +6,7 @@ File History:
|
|
6
6
|
Created: 2022-04-02 [2.0rc1] GuiLipsum
|
7
7
|
|
8
8
|
This file is a part of novelWriter
|
9
|
-
Copyright
|
9
|
+
Copyright (C) 2022 Veronica Berglyd Olsen and novelWriter contributors
|
10
10
|
|
11
11
|
This program is free software: you can redistribute it and/or modify
|
12
12
|
it under the terms of the GNU General Public License as published by
|
novelwriter/tools/manusbuild.py
CHANGED
@@ -6,7 +6,7 @@ File History:
|
|
6
6
|
Created: 2023-05-24 [2.1b1] GuiManuscriptBuild
|
7
7
|
|
8
8
|
This file is a part of novelWriter
|
9
|
-
Copyright
|
9
|
+
Copyright (C) 2023 Veronica Berglyd Olsen and novelWriter contributors
|
10
10
|
|
11
11
|
This program is free software: you can redistribute it and/or modify
|
12
12
|
it under the terms of the GNU General Public License as published by
|
novelwriter/tools/manuscript.py
CHANGED
@@ -6,7 +6,7 @@ File History:
|
|
6
6
|
Created: 2023-05-13 [2.1b1] GuiManuscript
|
7
7
|
|
8
8
|
This file is a part of novelWriter
|
9
|
-
Copyright
|
9
|
+
Copyright (C) 2023 Veronica Berglyd Olsen and novelWriter contributors
|
10
10
|
|
11
11
|
This program is free software: you can redistribute it and/or modify
|
12
12
|
it under the terms of the GNU General Public License as published by
|
@@ -986,17 +986,17 @@ class _StatsWidget(QWidget):
|
|
986
986
|
def updateStats(self, data: dict[str, int]) -> None:
|
987
987
|
"""Update the stats values from a Tokenizer stats dict."""
|
988
988
|
# Minimal
|
989
|
-
self.minWordCount.setText("{0:n}".format(data.get(nwStats.
|
990
|
-
self.minCharCount.setText("{0:n}".format(data.get(nwStats.
|
989
|
+
self.minWordCount.setText("{0:n}".format(data.get(nwStats.WORDS, 0)))
|
990
|
+
self.minCharCount.setText("{0:n}".format(data.get(nwStats.CHARS, 0)))
|
991
991
|
|
992
992
|
# Maximal
|
993
|
-
self.maxTotalWords.setText("{0:n}".format(data.get(nwStats.
|
993
|
+
self.maxTotalWords.setText("{0:n}".format(data.get(nwStats.WORDS, 0)))
|
994
994
|
self.maxHeadWords.setText("{0:n}".format(data.get(nwStats.WORDS_TITLE, 0)))
|
995
995
|
self.maxTextWords.setText("{0:n}".format(data.get(nwStats.WORDS_TEXT, 0)))
|
996
996
|
self.maxTitleCount.setText("{0:n}".format(data.get(nwStats.TITLES, 0)))
|
997
997
|
self.maxParCount.setText("{0:n}".format(data.get(nwStats.PARAGRAPHS, 0)))
|
998
998
|
|
999
|
-
self.maxTotalChars.setText("{0:n}".format(data.get(nwStats.
|
999
|
+
self.maxTotalChars.setText("{0:n}".format(data.get(nwStats.CHARS, 0)))
|
1000
1000
|
self.maxHeaderChars.setText("{0:n}".format(data.get(nwStats.CHARS_TITLE, 0)))
|
1001
1001
|
self.maxTextChars.setText("{0:n}".format(data.get(nwStats.CHARS_TEXT, 0)))
|
1002
1002
|
|
@@ -1037,7 +1037,7 @@ class _StatsWidget(QWidget):
|
|
1037
1037
|
hPx = CONFIG.pxInt(12)
|
1038
1038
|
vPx = CONFIG.pxInt(4)
|
1039
1039
|
|
1040
|
-
trAllChars = trConst(nwLabels.STATS_NAME[nwStats.
|
1040
|
+
trAllChars = trConst(nwLabels.STATS_NAME[nwStats.CHARS])
|
1041
1041
|
trTextChars = trConst(nwLabels.STATS_NAME[nwStats.CHARS_TEXT])
|
1042
1042
|
trTitleChars = trConst(nwLabels.STATS_NAME[nwStats.CHARS_TITLE])
|
1043
1043
|
trParagraphCount = trConst(nwLabels.STATS_NAME[nwStats.PARAGRAPHS])
|
@@ -1045,7 +1045,7 @@ class _StatsWidget(QWidget):
|
|
1045
1045
|
trAllWordChars = trConst(nwLabels.STATS_NAME[nwStats.WCHARS_ALL])
|
1046
1046
|
trTextWordChars = trConst(nwLabels.STATS_NAME[nwStats.WCHARS_TEXT])
|
1047
1047
|
trTitleWordChars = trConst(nwLabels.STATS_NAME[nwStats.WCHARS_TITLE])
|
1048
|
-
trAllWords = trConst(nwLabels.STATS_NAME[nwStats.
|
1048
|
+
trAllWords = trConst(nwLabels.STATS_NAME[nwStats.WORDS])
|
1049
1049
|
trTextWords = trConst(nwLabels.STATS_NAME[nwStats.WORDS_TEXT])
|
1050
1050
|
trTitleWords = trConst(nwLabels.STATS_NAME[nwStats.WORDS_TITLE])
|
1051
1051
|
|
@@ -6,7 +6,7 @@ File History:
|
|
6
6
|
Created: 2023-02-13 [2.1b1] GuiBuildSettings
|
7
7
|
|
8
8
|
This file is a part of novelWriter
|
9
|
-
Copyright
|
9
|
+
Copyright (C) 2023 Veronica Berglyd Olsen and novelWriter contributors
|
10
10
|
|
11
11
|
This program is free software: you can redistribute it and/or modify
|
12
12
|
it under the terms of the GNU General Public License as published by
|
@@ -6,7 +6,7 @@ File History:
|
|
6
6
|
Created: 2024-01-18 [2.3b1] GuiNovelDetails
|
7
7
|
|
8
8
|
This file is a part of novelWriter
|
9
|
-
Copyright
|
9
|
+
Copyright (C) 2024 Veronica Berglyd Olsen and novelWriter contributors
|
10
10
|
|
11
11
|
This program is free software: you can redistribute it and/or modify
|
12
12
|
it under the terms of the GNU General Public License as published by
|
novelwriter/tools/welcome.py
CHANGED
@@ -6,7 +6,7 @@ File History:
|
|
6
6
|
Created: 2023-12-14 [2.3b1] GuiWelcome
|
7
7
|
|
8
8
|
This file is a part of novelWriter
|
9
|
-
Copyright
|
9
|
+
Copyright (C) 2023 Veronica Berglyd Olsen and novelWriter contributors
|
10
10
|
|
11
11
|
This program is free software: you can redistribute it and/or modify
|
12
12
|
it under the terms of the GNU General Public License as published by
|
@@ -6,7 +6,7 @@ File History:
|
|
6
6
|
Created: 2019-10-20 [0.3.0] GuiWritingStats
|
7
7
|
|
8
8
|
This file is a part of novelWriter
|
9
|
-
Copyright
|
9
|
+
Copyright (C) 2019 Veronica Berglyd Olsen and novelWriter contributors
|
10
10
|
|
11
11
|
This program is free software: you can redistribute it and/or modify
|
12
12
|
it under the terms of the GNU General Public License as published by
|
novelwriter/types.py
CHANGED
@@ -6,7 +6,7 @@ File History:
|
|
6
6
|
Created: 2024-04-01 [2.4rc1]
|
7
7
|
|
8
8
|
This file is a part of novelWriter
|
9
|
-
Copyright
|
9
|
+
Copyright (C) 2024 Veronica Berglyd Olsen and novelWriter contributors
|
10
10
|
|
11
11
|
This program is free software: you can redistribute it and/or modify
|
12
12
|
it under the terms of the GNU General Public License as published by
|
@@ -66,7 +66,7 @@ QtNoBrush = Qt.BrushStyle.NoBrush
|
|
66
66
|
QtNoPen = Qt.PenStyle.NoPen
|
67
67
|
QtRoundCap = Qt.PenCapStyle.RoundCap
|
68
68
|
QtSolidLine = Qt.PenStyle.SolidLine
|
69
|
-
|
69
|
+
QtPaintAntiAlias = QPainter.RenderHint.Antialiasing
|
70
70
|
QtMouseOver = QStyle.StateFlag.State_MouseOver
|
71
71
|
QtSelected = QStyle.StateFlag.State_Selected
|
72
72
|
|
File without changes
|
File without changes
|
File without changes
|