Plain text support in FocusWriter
July 31, 2012 4 Comments
For a long time FocusWriter could only read and write plain text files. Way back in version 1.3.0 I added support for rich text and basic RTF files, and I later added support for basic ODT files.
When I added support for rich text I split FocusWriter into two modes: plain text mode and rich text mode. However, many users who are new to FocusWriter have found it confusing to switch modes to enable or disable rich text, and they don’t always realize that FocusWriter can save plain text files as it defaults to rich text files.
In the spirit of the principle of least surprise, I have changed the development version of FocusWriter to behave like other word processors. You will now be able to insert formatting into any file that is open, even if it is a plain text file. FocusWriter will then ask you if you want to discard said formatting if you attempt to save it as a plain text file, and if you do not it will pop up the “Save As” dialog with ODT as the default format. It will only ask you if you have added formatting, unlike some other word processors!
You will also be able to switch a file’s format in the “Save As” and “Rename” dialogs, and it will prompt you about discarding formatting if you switch it from ODT or RTF to a plain text file. These changes have removed the need to explicitly toggle rich text support, so I have removed the menu options “Make plain text” and “Make rich text”.