diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d8b991a..6687543d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# novelWriter ChangeLog +# novelWriter Change Log ## Version 1.0 Release Candidate 1 [2020-11-16] diff --git a/nw/assets/text/release_notes_en.htm b/nw/assets/text/release_notes_en.htm new file mode 100644 index 00000000..ac186481 --- /dev/null +++ b/nw/assets/text/release_notes_en.htm @@ -0,0 +1,34 @@ + + +
+This is the first release candidate for the upcoming release of novelWriter 1.0.
+Since the fifth beta release about four weeks ago, not much has been changed in novelWriter. A +few minor tweaks have been made to the GUI. A number of features and tools are now automatically +switched off when there is no project or document open for those features to act upon. No serious +bugs have been reported or encountered, and I feel it’s time to move on to the release candidates. +Most of the minor changes should not be noticeable to most users. However, there are a couple of +noticeable changes.
+"Typewriter Mode" of the editor has been improved. Essentially, this feature is a sort of smart +scroll. It tries to keep the cursor stationary in the vertical direction, and will try to scroll +the document up when the cursor skips to a new line while typing (or down in case of backspace). +This is similar to the way a typewriter scrolls the paper when hitting the return key. It improves +the writing experience as the current active line will stay at the same eye height level on the +screen.
+Previously, the feature would lock the cursor to a given vertical position defined by the user. +Now, instead, the cursor will remain stationary in the vertical direction at any position the user +sets it to by mouse click or keyboard navigation. The user can define a minimum distance from the +top where this feature is activated. It makes it more flexible. The feature can be controlled from +the main Preferences.
+It is now possible to switch syntax highlighting theme without restarting novelWriter. +Previously, changing the theme would only half-way update the document, header and footer +background and text colour. The new settings would not be applied until the application was shut +down and started again. This makes it a bit tedious to look through themes to find the one you +want. This issue has now been resolved.
+Switching main GUI theme still requires a restart.
+The full changelog is available +here.
+ + diff --git a/nw/gui/about.py b/nw/gui/about.py index 7f00cf11..d2c436cf 100644 --- a/nw/gui/about.py +++ b/nw/gui/about.py @@ -84,10 +84,15 @@ class GuiAbout(QDialog): self.pageLicense.setOpenExternalLinks(True) self.pageLicense.document().setDocumentMargin(self.mainConf.pxInt(16)) + self.pageNotes = QTextBrowser() + self.pageNotes.setOpenExternalLinks(True) + self.pageNotes.document().setDocumentMargin(self.mainConf.pxInt(16)) + # Main Tab Area self.tabBox = QTabWidget() self.tabBox.addTab(self.pageAbout, "About") self.tabBox.addTab(self.pageLicense, "License") + self.tabBox.addTab(self.pageNotes, "Release Notes") self.innerBox.addWidget(self.tabBox) # OK Button @@ -101,6 +106,7 @@ class GuiAbout(QDialog): self._setStyleSheet() self._fillAboutPage() self._fillLicensePage() + self._fillNotesPage() logger.debug("GuiAbout initialisation complete") @@ -205,6 +211,19 @@ class GuiAbout(QDialog): self.pageLicense.setHtml("Error loading license text ...") return + def _fillNotesPage(self): + """Load the content for the Release Notes page. + """ + docName = "release_notes_%s.htm" % self.mainConf.guiLang + docPath = os.path.join(self.mainConf.assetPath, "text", docName) + if os.path.isfile(docPath): + with open(docPath, mode="r", encoding="utf8") as inFile: + helpText = inFile.read() + self.pageNotes.setHtml(helpText) + else: + self.pageNotes.setHtml("Error release notes text ...") + return + def _setStyleSheet(self): """Set stylesheet for all browser tabs """ @@ -222,6 +241,7 @@ class GuiAbout(QDialog): ) self.pageAbout.document().setDefaultStyleSheet(styleSheet) self.pageLicense.document().setDefaultStyleSheet(styleSheet) + self.pageNotes.document().setDefaultStyleSheet(styleSheet) return diff --git a/nw/gui/mainmenu.py b/nw/gui/mainmenu.py index d6a1e411..9bf4cae1 100644 --- a/nw/gui/mainmenu.py +++ b/nw/gui/mainmenu.py @@ -598,8 +598,8 @@ class GuiMainMenu(QMenuBar): # Insert > Separator self.insertMenu.addSeparator() - # Insert > Keywords and Tags - self.mInsKeywords = self.insertMenu.addMenu("Keywords and Tags") + # Insert > Tags and References + self.mInsKeywords = self.insertMenu.addMenu("Tags and References") self.mInsKWItems = {} self.mInsKWItems[nwKeyWords.TAG_KEY] = (QAction(self.mInsKeywords), "Ctrl+K, G") self.mInsKWItems[nwKeyWords.POV_KEY] = (QAction(self.mInsKeywords), "Ctrl+K, V")