From 5eda8ddd13fed12e2ad7797aeb100b720fe1dff1 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Sat, 20 Jun 2020 20:24:31 +0200 Subject: [PATCH 1/3] Bumped version to 0.9 and updated changelog --- CHANGELOG.md | 18 +++++++++--------- docs/source/conf.py | 2 +- nw/__init__.py | 6 +++--- setup.py | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 714ed4ee..365f492b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,29 +1,29 @@ # novelWriter ChangeLog -## Version 0.9rc1 [2020-xx-xx] +## Version 0.9 [2020-06-21] **Core Functionality** -* Underline text formatting has been removed. It is not standard HTML5, not Markdown, and was previously implemented using the double underscore notation that in standard Markdown is renderred as bold text. Instead, novelWriter now renders a single `*` or `_` wrapping a piece of text *within* a paragraphs as italicised text, and a double `**` or `__` as bold text. The keyboard shortcuts and automatic features **only** support the `*` notation. A triple set of `***` are treated as both bold and italicised. PR #310. +* Underline text formatting has been removed. It is not standard HTML5, nor Markdown, and was previously implemented using the double underscore notation that in standard Markdown is renderred as bold text. Instead, novelWriter now renders a single `*` or `_` wrapping a piece of text *within* a paragraphs as italicised text, and a double `**` or `__` as bold text. The keyboard shortcuts and automatic features *only* support the `*` notation. A triple set of `***` are treated as both bold and italicised. PR #310. * Strikethrough formatting has been added back into novelWriter using the standard Markdown `~~` wrapping. PR #310. * Added support for thin spaces and non-breaking thin spaces. PR #319. -* The `Ctrl+Z` key sequence would not go through the wrapper function for document action for the document editor, but act directly on the document. This caused some of the logic preventing conflict between auto-replace and undo to be bypassed. This has now been resolved by blocking the keypress itself. Issue #320, PR #321. +* The `Ctrl+Z` key sequence (undo) would not go through the wrapper function for document action for the document editor, but act directly on the document. This caused some of the logic preventing conflict between auto-replace and undo to be bypassed. This has now been resolved by blocking the keypress itself and let the menu action handle the key sequence. Issue #320, PR #321. * The dialog window size and column width setting for the auto-replace feature in Project Settings are now preserved between closing and opening the dialog. Issue #322, PR #324. **User Interface** * The Open Project dialog will now ask before removing an entry from the recent projects list. PR #309. -* The text emphasis functions, either selected from the menu or via keyboard shortcuts, will now try to respond to the command in a more meaningful way. That is, the text editor will try to toggle the bold or italics features independently of eachother on the selected text. A feature to apply both at the same time has also been added. PR #310. -* The document editor search tool has been completely rewritten. It now appears as a search box at the top of the document, and has a number of toggle switches added to it. You can modify the search tool to be case sensitive, select only whole words, use regular expression search strings, loop when reaching the end, and continue the search in next file. For the replace feature, you can also select to have the feature try to preserve the case of the replaced word. Issues #84 and #305, PR #314. -* A dialog has been added for selecting quotation mark style. These are now used in the Preferences dialog instead of a plain text box. PR #317. +* The text emphasis functions, either selected from the menu or via keyboard shortcuts, will now try to respond to the command in a more meaningful way. That is, the text editor will try to toggle the bold or italics features independently of eachother on the selected text. A menu entry to apply both at the same time has also been added. PR #310. +* The document editor search tool has been completely rewritten. It now appears as a search box at the top of the document, and has a number of toggle switches added to it. You can modify the search tool to be case sensitive, select only whole words, use regular expression search strings, loop when reaching the end, and continue the search in the next file in the project tree. For the replace feature, you can also select to have the feature try to preserve the case of the replaced word. Issues #84 and #305, PR #314. +* A dialog has been added for selecting quotation mark style. These are now used in the Preferences dialog instead of a plain text edit box. PR #317. * Added an insert menu for inserting special symbols like dashes, ellipsis, thin and non-breaking spaces, and hard line breaks. PR #319. * A menu option to replace straight single and double quotes in a selected piece of text has been added. This uses the same logic as the auto-replace feature. Issue #312, PR #321. -* When pressing `Ctrl+R` while the document editor has focus, the edited document will be viewed or refreshed in the document viewer. Previously, the selected document in the project tree had priority. The document is also now saved before loaded in the viewer, censuring that it shows the very latest changes. Issue #143, PR #323. -* The selection in the project tree should not scroll into view when just opening the document. This can be quite annoying if loading several documents in sequence by double-clicking, as the target may move just when you're about to click. PR #325. +* When pressing `Ctrl+R` while the document editor has focus, the edited document will be viewed or refreshed in the document viewer. Previously, the selected document in the project tree had priority. The document is also now saved before loaded in the viewer, ensuring that it shows the very latest changes. Issue #143, PR #323. +* The selection in the project tree should not scroll into view when just opening the document. This can be quite annoying if loading several documents in sequence by double-clicking as the target may move just when you're about to click. PR #325. **Other Changes** -* Added the file's class and layout to the meta data string added as the first line of saved document files. This meta data is only used to restore the file meta information into the project if it was lost from the project file. It is also useful information when reading the file in external tools. PR #308. +* Added the file's class and layout to the meta data string of saved document files. This meta data is only used to restore the file meta information into the project if it was lost from the project file. It is also useful information when reading the file in external tools. PR #308. ## Version 0.8 [2020-06-14] diff --git a/docs/source/conf.py b/docs/source/conf.py index ddaebd44..d0ca4570 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -26,7 +26,7 @@ author = "Veronica Berglyd Olsen" # The short X.Y version version = "0.9" # The full version, including alpha/beta/rc tags -release = "0.9.0rc1" +release = "0.9" # -- General configuration --------------------------------------------------- diff --git a/nw/__init__.py b/nw/__init__.py index 92fd0ac2..430e5ec6 100644 --- a/nw/__init__.py +++ b/nw/__init__.py @@ -40,9 +40,9 @@ __package__ = "novelWriter" __author__ = "Veronica Berglyd Olsen" __copyright__ = "Copyright 2018–2020, Veronica Berglyd Olsen" __license__ = "GPLv3" -__version__ = "0.9.0rc1" -__hexversion__ = "0x000900c1" -__date__ = "2020-06-14" +__version__ = "0.9.0" +__hexversion__ = "0x000900f0" +__date__ = "2020-06-21" __maintainer__ = "Veronica Berglyd Olsen" __email__ = "code@vkbo.net" __status__ = "Pre-Release" diff --git a/setup.py b/setup.py index b8246fd5..13e29d76 100755 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ with open("README.md", "r") as inFile: setuptools.setup( name = "novelWriter", - version = "0.9rc1", + version = "0.9", author = "Veronica Berglyd Olsen", author_email = "code@vkbo.net", description = "A markdown-like document editor for writing novels", From 02da62f120f33d4b17aeb5fdc03d4726be39211c Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Sat, 20 Jun 2020 20:31:50 +0200 Subject: [PATCH 2/3] Fixed typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 365f492b..415a7075 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,7 +41,7 @@ * Icons have been added to the Title and Document columns in the Outline. The titles get a new icon indicating the header level, while the documents get the already existing document icon. PR #302. * Added a context menu to the project tree for easier access to some of the most use actions on the tree. PR #282. * Improved the support for High DPI screens. Margins and box sizes that were hardcoded should now scale. User settings should also scale back and forth when switching between scale factors. Issue #280, PR #285. -* The total edit time of a project is no displayed on the Details tab of the Project Settings dialog. PR #290. +* The total edit time of a project is now displayed on the Details tab of the Project Settings dialog. PR #290. * The title bar in the document editor now has a full screen button and a close button, and in the document viewer a reload button and a close button. The full screen button toggles the distraction free mode, and the reload button regenerates the document being viewed to update any changes that may have been made to it. PRs #293, #300, #303 and #306. * The References panel below the document viewer has been redesigned. It now sits in a resizeable panel below the document, and its controls sit in a footer bar in the document itself. The functionality of the feature is otherwise unchanged, but the buttons have received new icons. PRs #304 and #306. * The option to render comments and synopsis in the document view panel has been added to Preferences. The toggle option for comments that was previously in the menu has been removed. PR #311. From afd6c4660981f9ce4af1401bad55da55155d97bb Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Sat, 20 Jun 2020 20:43:12 +0200 Subject: [PATCH 3/3] Updated docs --- docs/source/interface.rst | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/docs/source/interface.rst b/docs/source/interface.rst index 3174a888..005efd92 100644 --- a/docs/source/interface.rst +++ b/docs/source/interface.rst @@ -60,8 +60,10 @@ The editor also has a minimal set of keywords used for setting tags and referenc The editor and viewer also supports markdown standard hard line breaks, and preserves non-breaking spaces. A hard line break is achieved by leaving two or more spaces at the end of the line. -Alternatively, the user can press :kbd:`Shift-Enter` to insert this. -A non-breaking space is inserted with :kbd:`Shift-Space`. +Alternatively, the user can press :kbd:`Ctrl-K, Return` to insert this. +A non-breaking space is inserted with :kbd:`Ctrl-K, Space`. + +Thin spaces are also supported, and can be inserted with :kbd:`Ctrl-K, Shift-Space`, and the non-breaking version of it with :kbd:`Ctrl-K, Ctrl-Space`. Both hard line breaks and non-breaking spaces are highlighted by the syntax highlighter as an alternate coloured background, depending on the selected theme. @@ -133,7 +135,6 @@ These are as following: ":kbd:`Ctrl-Q`", "Exit novelWriter." ":kbd:`Ctrl-R`", "If in tree view, open a document for viewing. If editor pane has focus, open current document for viewing." ":kbd:`Ctrl-S`", "Save the current document in the editor." - ":kbd:`Ctrl-U`", "Format selected text, or word under cursor, as underline." ":kbd:`Ctrl-V`", "Paste text from clipboard to cursor position." ":kbd:`Ctrl-W`", "Close the current document in the editor." ":kbd:`Ctrl-X`", "Cut selected text to clipboard." @@ -174,3 +175,17 @@ These are as following: .. note:: On macOS, replace :kbd:`Ctrl` with :kbd:`Cmd`. + +A set of insert features are also available through shortcuts, but they require a double combination of shortcuts. + +.. csv-table:: Keyboard Shortcuts + :header: "Shortcut", "Description" + :widths: 30, 50 + + ":kbd:`Ctrl-K, -`", "Insert a short dash (en dash)." + ":kbd:`Ctrl-K, _`", "Insert a long dash (em dash)." + ":kbd:`Ctrl-K, .`", "Insert ellipsis." + ":kbd:`Ctrl-K, Return`", "Insert a hard line break." + ":kbd:`Ctrl-K, Space`", "Insert a non-breaking space." + ":kbd:`Ctrl-K, Shift-Space`", "Insert a thin space." + ":kbd:`Ctrl-K, Ctrl-Space`", "Insert a thin non-breaking space."