Most of the work in this version was done to support different paper sizes.
In this Release:
Work on the caret to make it the same across platforms
added a page layout dialog ^OY
completed .po .poe .poo .mt .mb .hm .fm commands
added new command .pt to specify paper type (auto added by ^OY)
moved RTF code to make it easier to work on
sped up loading LibreOffice’s bloated RTF
.pt command (a non Wordstar dot command) specifies paper type/size.
You can use ^OY to specify the paper. Wordstar doesn’t really care about
paper size, it uses whatever is in the printer and the .rm .pl, etc
commands to print on that paper. Modern printers can have multiple paper
bins, and auto select the bin based on paper size.
Is no longer hard coded to 8.5″ x 11″ paper size
.po .poe .poo .mt .mb .hm and .fm are all implemented
bad dot commands are highlighted in a different color as well as having the ‘?’ in the right margin
more work on the carat.
RTF support for many dot commands is not implemented (see implemented.xlsx)
^KP not implemented, use ^OP
GTK print preview displays a black page. Printing still works fine. This is a wxWidgets issue.
.pt command can only be used once per document, all others are ignored. (wxWidgets doesn’t let you change paper type on the fly)
OSX keyboard input does not work
See Ticket System
It’s time for a bit of code cleanup. Don’t expect any new command or
key sequences in the next release. After the code cleanup, I’d like to
move RTF import and export into a first class citizen so it can be a
native file format for WordTsar right beside Wordstar files.
In the background, I’m thinking of adding column support and how to
add table support (Comments welcome. Wordstar never had the concept of
A large portion of this development cycle was spent on printing
issues. In fact, I got so fed up with it, I ported WordTsar from
wxWidgets to QT. Doing so helped me find the issue with wxWidgets
printing (it’s a weird workaround), so the QT port has stopped (it works
quite well though). The port also showed me how embedded wxWidgets was
into this project, even where maybe it shouldn’t be, so I see a code
cleanup in the future.
In this Release:
added .IG command based on user request
added spell checking (currently Linux only)
printing should now look the same under Windows and Linux
creating a block ^KB – ^KK didn’t properly highlight the block
corrected caret so should now work under all OS’s (needs testing)
RTF import and export of headers and footers is incomplete
^KP still not implemented, use ^OP
OSX keyboard input is incomplete
See ticket system
For those interested, here is a screen shot of the QT version. It looks close to the same, but there are minor differences.
Headers and Footers now implemented. Set them up, and ^OP to see the end result and print them
A minor bug fixed with printing and .rm, and ^KP is still not done (use ^OP)
I think what I’ll work on next is RTF export, to get it to support all the work done recently and make it easier to extend. Finally getting the Mac/OSX port back into a working state would be great as well.
Another big step for the project. We can now print. Imagine that, a word processor that prints!
Due to a bit of a brain fart, I only implement ^OP (print preview) and forgot ^KP (print). It’ll be in the next release. Both will do the exact same thing anyway. There are also a few squiggly corner cases I may have missed with printing, but I’ll catch them next time.
I also changed the main window display a bit, there’s a progress meter in the status bar when formatting the document, and the bold/italic/etc indicators look a bit different.
That’s it. No bug fixes
I’ll do something new here as well, and tell you what I’m working on next. Because I need it, headers and footers will be implemented next.
This release is a big step for the project. We’ve moved from an in-house Mercurial repo to Sourceforge, so now anyone can look at the code. It’s a bit sloppy in parts. Other changes are:
fixed a bug that stopped auto formatting of documents when they are loaded.
fixed a screen flicker introduced during ‘format on load’ code.
added math in dot command
The addition of math in dot commands means you can do simple things like .rm 8.5-1-1i to set the right margin to 6.5 inches. The math system will also do complex math like 2 * (pi / 4.7) + sqrt(7), but why would you want to?
Besides a few bug fixes, this adds the .pm command and adds proper incremmental changes to .lm and .rm. For example, .lm.25″ will create a left margin of .25″. A .lm+.25″ will add .25″ to the current left margin while .lm-.25″ will subtract .25″ from the left margin.