ghostwriter Changelog

What's new in ghostwriter 2.2.0

Sep 18, 2022
  • Fixed:
  • Issue #813: Opening the app after a fresh install no longer complains of a file backup error when text is entered.
  • Issue #815: Invoking the app from the command line with a non-existent file path specified will now create an empty file for the path.
  • Spaces are now properly underlined in emphasized text when emphasis style option is set to underline.
  • Added:
  • A line break symbol is now drawn at the end of lines having two trailing spaces to designate a line break.

New in ghostwriter 2.1.6 (Sep 14, 2022)

  • Fixed:
  • Changed Classic theme's dark mode selection color from the light mode's color to the appropriate dark color.
  • Changed live preview's code block styling to scroll on overflow.
  • Fixed regression in translations failing to load.

New in ghostwriter 2.1.5 (Sep 10, 2022)

  • Fixed:
  • When renaming a file, file will now be saved even if the new file name already exists, provided the user chooses to proceed from the warning dialog.
  • Spell check dialog no longer eats HTML angle brackets when showing the context around a misspelled word.
  • Application now supports Qt 6 while maintaining backward compatibility with Qt 5.
  • Various under-the-hood refactoring/improvements have been added.
  • CSS and QSS style sheets now support SASS-style variables.
  • Hover and pressed button effects have been added to improve visibility.
  • User interface component icons and text have had their coloring adjusted to better meet WCAG accessibility standards.
  • Issues , 803, and 809: To prevent the equation and typing duplication in math equations, math rendering has been restricted to the Pandoc processor. All other Markdown processors will no longer render math, since special preprocessing is required that only Pandoc does.
  • Added a command line option --disable-gpu to disable GPU acceleration to allow users to bypass a Windows bug in Qt 6 where full screen windows having an OpenGL component (in this case, QWebEngineView) cannot display menus (popups, menus from the menu bar).

New in ghostwriter 2.1.4 (Jun 19, 2022)

  • Fixed:
  • Replaced whole word icon in find/replace due to Windows 10 not rendering Unicode characters used for old icon.
  • Changed selection color for Plainstraction Dark theme to be brighter.
  • Issues #772, #773, and #777: Added workaround for segmentation fault on GTK/Gnome 42 at startup.

New in ghostwriter 2.1.2 (Mar 17, 2022)

  • Fixed:
  • Issue #624: Text on line breaks is now correctly highlighted.
  • Issue #708: Removing large portions of text no longer freezes the app.
  • Issue #732: User-defined width of sidebar is now restored on load.
  • Issue #738: App waits longer for Pandoc to start up on Windows before timing out.

New in ghostwriter 2.1.1 (Dec 26, 2021)

  • Fixed:
  • Untitled documents are no longer created upon opening or closing a new, empty document.
  • Updated Chinese translation.
  • Fix compilation issue with Ubuntu 18.04.

New in ghostwriter 2.1.0 (Dec 25, 2021)

  • Untitled documents are now autosaved to a draft folder when autosave is enabled.
  • Added preferences button to open the draft folder location where untitled documents are autosaved.
  • Added check box option to load last opened file on startup. If left unchecked, a new file will be opened on startup
  • Added ability to word count indicator in status bar to display a different statistic. (The indicator is now a combo box.)
  • Updated Brazilian Portuguese translation.

New in ghostwriter 2.0.2 (Jul 7, 2021)

  • Fixed:
  • Issue #615: Unicode characters are properly displayed in the sidebar's Outline.
  • Issue #619: Chinese and other languages with unicode characters now display properly in the HTML preview.

New in ghostwriter 1.8.1 (Mar 7, 2021)

  • Issue #443: MathJax 3.0 is now built into the HTML preview. Note that this feature works best with Pandoc and requires an Internet connection. Other Markdown processors are not currently supported.
  • Issue #447: Cursor is no longer shown when editor is not in focus.
  • Issue #461: Fixed Cheat Sheet to have correct image example.
  • Issue #471: HUD window styling is fixed for Qt 5.13.
  • Issue #472: Fixed typing paused timers for session statistics and for hiding HUD windows.
  • Discount is not listed as an available Markdown processor if MultiMarkdown is installed.
  • New application translations are available for the following languages:
  • Arabic
  • Dutch

New in ghostwriter 1.8.0 (May 15, 2019)

  • New Features:
  • HTML preview has been ported from QtWebKit to QtWebEngine (Chromium).
  • Fixes
  • Issue #206: ghostwriter now has right-to-left language support.
  • Issue #391: mathml option for pandoc is now used to render math equations for preview and export.
  • Issue #411: Fixed crash when adding a new theme with no theme selected.
  • Issue #412: Fixed export to PDF (wkhtmltopdf) failure with Pandoc.
  • Issue #430: Fixed issue extra spaces appearing between <br/> tags in the HTML preview.
  • Removed print support, since it has some odd bugs on some platforms, and most users would want to print their exported content anyway.
  • Removed graphics fade effect for the bottom of the editor, as it is a risky feature that has caused bugs in the past and does not work on HiDPI screens.

New in ghostwriter 1.7.4 (Dec 10, 2018)

  • Fixes:
  • Issue #178: Only use --quiet option for Pandoc version 2 or greater.
  • Fixed words-per-minute calculations to not be jumpy or overly high.
  • Fixed issue where creating a new theme resulted in inconsistent selection and display of themes in the Theme Selection dialog.
  • Fixed broken icon when running under Wayland.
  • Fixed screenshots in appdata.
  • Issue #385: Updated resource files license to CC BY-SA 4.0.

New in ghostwriter 1.7.1 (Jul 22, 2018)

  • Fixes:
  • Fixed regression in full screen mode where menu bar was not showing on mouse-over.
  • Fixed regression where wrong theme was shown as selected on opening the Theme Selection dialog.
  • Fixed issue #366 where warnings from Pandoc that were resulting in error dialogs on successful export.
  • Fixed issue #292 where saving a document under Windows resulted in end-of-line characters being written as n instead of rn.

New in ghostwriter 1.7.0 (Jul 9, 2018)

  • New Features:
  • Added light and dark built-in themes based on the community Ulysses III theme Plainstraction.
  • @sbrl added a new Github Dark built-in stylesheet for use with the live preview.
  • Live preview has been optimized to show the preview for typed characters immediately on smaller documents.
  • Added ODT and EPUB 3 as export options for MultiMarkdown 6.
  • Theme selection dialog now displays a grid instead of a list.
  • Fixes:
  • The menu bar is now hidden again in full screen mode when the user presses Alt+Tab to switch to a different application.
  • Fixed issue #354 to disable hard line breaks for Pandoc's Github-flavored Markdown.
  • Worked around issue in Qt 5.11 where changing the theme causes the app to crash.
  • Worked around issue in Qt 5.10 where opening a new document with a document already loaded can cause the app to crash.
  • Notes:
  • Since version 1.4.0, if you are using the portable version of ghostwriter for Windows, please note that you no longer require the translations folder in your data folder. The translations folder has been moved up one folder, so you don't need to have your settings and themes mixed with an application dependency. When moving the contents of your old data folder to the new one, please delete the old datatranslations folder.
  • Version 1.5.0 brings various HiDPI improvements. However, SVG icons for the full screen button and the HUD window buttons will look overly large and clipped. Drop shadows on text and buttons will also look somewhat pixelated. This is due to QTBUG-60026, which has been fixed in Qt 5.9. It is recommended for users using Qt versions below 5.9 to use FHD screen resolution when using ghostwriter.
  • Version 1.6.0 and above will no longer compile with Qt 4 due to new features that depend on Qt 5. Please use Qt 5 when building ghostwriter from the source code. Also, as of version 1.6.0, the Windows editions come bundled with Qt 5.10.1. As such, you might enjoy using FreeType font rendering with ghostwriter, which looks superb under this Qt version. Please see the wiki page for a quick guide on how to enable this feature. Finally, as of version 1.6.0, the Windows edition comes bundled with annulen's QtWebKit for displaying the HTML preview. Special thanks goes out to this hard-working team for providing a QtWebKit build for newer Qt versions!

New in ghostwriter 1.6.2 (Apr 16, 2018)

  • Issue #315: Worked around slow load of QPrinter constructor in Fedora 27 by lazy loading the printer settings only when needed for printing or print preview rather than during application startup.
  • Fixed line break tokenizing to not include paragraph breaks.

New in ghostwriter 1.6.1 (Apr 10, 2018)

  • Worked around an issue with Qt version 5.10 that causes the application to occasionally crash when reloading the currently opened document or when opening a new document due to the text cursor not being set to the beginning of the document before clearing the editor and loading the new document.

New in ghostwriter 1.5.0 (May 14, 2017)

  • New Features:
  • HUD windows can now be closed using the Esc key when they have focus.
  • A new option has been added to highlight double spaces at the end of a line.
  • Github-style task lists can now be made using the * and + bullet point characters, in addition to the - character.
  • Support for ConTeXt and wkhtmltopdf when exporting to PDF with Pandoc has been added.
  • Auto-matching characters for selected text now respects the existing preferences for the matching done while typing without text selected.
  • Typing a single quote (') will no longer result in a second quote being automatically inserted after the cursor if the cursor is positioned in the middle of a word.
  • Most settings have been moved into a new Preferences dialog to accommodate the ever increasing number of application options.
  • Font size can now be increased by pressing Ctrl+=or decreased by pressing Ctrl+-. It can also be changed by using Ctrl and the mouse wheel.
  • When exporting to other file formats, the output file will be opened after export with its default application.
  • E-books created using Pandoc will now also be generated with a table of contents.
  • When passing in a file path via the command line, a new file will be created with that path if it does not already exist.
  • When typing a * character, ghostwriter would auto-insert a second * character in anticipation of emphasized text. The auto-inserted second * will now be removed if a space is typed to accommodate a bullet list instead.
  • Rudimentary support for HiDPI has been added. See notes below.
  • Various performance enhancements and tweaks have been made under the hood.
  • Fixes:
  • Issue #128: Hyphenated words are now considered one word for spell checking.
  • Issue #131: ghostwriter can now be built from its source tarball without needing git to be installed.
  • Issue #132: Linux desktop file now specifies that ghostwriter can open only one file from the command line rather than multiple files.
  • Issue #170: Ctrl+M now opens the HTML Preview instead of Ctrl+W. This is to avoid a conflict with closing windows in Linux.
  • Issue #219: Copy and paste no longer makes the word count jump.
  • Sundry minor fixes have been added.

New in ghostwriter 1.4.2 (Feb 1, 2017)

  • This release contains the following fixes:
  • Issue #113: Full screen clock now displays time based on locale.
  • Issue #119: Null characters, which had been breaking the HTML preview, are no longer inserted when typing over selecting text.
  • Issue #121: Code fences are now correctly highlighted when they contain blank lines.
  • Issue #123: Statistics HUDs now have proper padding when alternating row colors is enabled.
  • Issue #125: The translations folder has been moved up one folder for the portable distribution of ghostwriter.
  • Sundry minor fixes have been added.
  • Important Note:
  • If you are using the portable version of ghostwriter for Windows, please note that you no longer require the translations folder in your data folder. The translations folder has been moved up one folder, so you don't need to have your settings and themes mixed with an application dependency. When moving the contents of your old data folder to the new one, please delete the old datatranslations folder.

New in ghostwriter 1.4.1 (Feb 1, 2017)

  • This release contains the following fixes:
  • Issue #115: Pressing backspace at the end of a line no longer deletes adjacent line breaks.
  • Issue #116: Renaming a theme no longer removes its background image.
  • Issue #107: Main window is now rendered correctly when transitioning between full screen mode and maximized. Main window also remembers its normal size upon being restored from maximized after having been in full screen mode previously.

New in ghostwriter 1.4.0 (Feb 1, 2017)

  • This release contains the following features and fixes:
  • The time of day optionally displays in full screen mode.
  • The recent file history size has been increased to 10.
  • The menu bar will optionally auto-hide in full screen mode when the mouse is not hovering over it.
  • All new Hemingway mode button will disable backspace and delete keys.
  • Two new HUDs display statistical information on the current writing session and document.
  • Auto-matched characters can be customized.
  • Pandoc PDF export now has better defaults for margins and hyperlinks.
  • Shortcut keys using Alt now use Ctrl to avoid conflicts with OS shortcut keys and to better accommodate non-USA keyboards.
  • High DPI scaling has been enabled for Qt 5.6 and above.
  • Dragging and dropping an image into the editor will now insert the image link at the mouse location.
  • Classic Light and Classic Dark themes have new color palettes.
  • Various aesthetics have been added to the main window.
  • Sundry other fixes have been added.
  • New application translations are available for the following languages:
  • German
  • Italian
  • Japanese
  • Portuguese (Brazil)
  • Russian

New in ghostwriter 1.3.1 (Feb 1, 2017)

  • This release contains the following features and fixes:
  • Added a new Markdown cheat sheet HUD window.
  • Fixed DPI scaling for HTML Preview and Quick Reference Guide.
  • Added proper English translation ts and qm files to support plurals.
  • Updated ghostwriter to select application translation to use based on OS locale.
  • Fixed Qt 5 API call that was causing ghostwriter to fail compilation under Qt 4.

New in ghostwriter 1.2.5 (Feb 1, 2017)

  • This release contains the following fixes:
  • Fixed an issue where export of Markdown document using Pandoc or other command line tools failed when spaces were in the output file path.
  • Fixed an issue where numbered lists that were sublists to a bullet point list were not highlighted properly.

New in ghostwriter 1.2.4 (Feb 1, 2017)

  • This release contains the following fixes:
  • Fixed an issue where anchor tags for headings inserted for HTML Preview were conflicting with Pandoc's heading anchor tags.

New in ghostwriter 1.2.3 (Feb 1, 2017)

  • This release contains the following fixes:
  • Fixed an issue on Windows where UTF-8 encoding was not being detected on opening a file unless there was a BOM present. The application now defaults to UTF-8 when opening a file.

New in ghostwriter 1.2.2 (Feb 1, 2017)

  • This release contains the following fixes:
  • Fixed an issue where spelling suggestions were not always displayed in the context menu if the menu key was pressed on the keyboard.

New in ghostwriter 1.2.1 (Feb 1, 2017)

  • This release contains the following fixes:
  • Corrected a regression where the application stopped going to the last known cursor position upon opening a file.
  • Fixed an issue where the context menu was showing up in the wrong position on the screen when the user pressed the keyboard's menu key for a misspelled word.
  • Fixed an issue where spelling suggestions were not always being displayed in the context menu depending on which line in the text block the mouse was clicked.

New in ghostwriter 1.2.0 (Feb 1, 2017)

  • Just in time for National Novel Writing Month (NanoWriMo), this release contains various bug fixes and internal enhancements, along with the following features and improvements:
  • More intelligent list handling
  • New Format menu
  • Pipe table highlighting
  • GitHub mentions highlighting

New in ghostwriter 1.1.0 (Feb 1, 2017)

  • This release contains various bug fixes and internal enhancements, along with the following features and improvements:
  • Export dialog now categorizes export options by Markdown processor.
  • Export dialog displays a checkbox option for smart typography.
  • Support for the latest Pandoc version's CommonMark input format option has been added both to the export dialog and to the HTML preview window.
  • Support for cmark has been added to the export dialog and HTML preview window. ghostwriter will automatically detect if cmark is installed (i.e., if its location is in the system's PATH environment variable).
  • Word counting is more accurate and does not regard markup text as separate words.
  • Font dialog's combo box now shows fonts WYSIWYG-style.