Looking over “Editor.c”:
Removed a lot of unused variables.
Get rid of unsupported (on OS X) InvalWindowRgn:
…and replace it with QDFlushPortBuffer later in the code’s execution.
Also got rid of must calls to QDIsPortBuffered: it should be port buffered on OS X always.
General fiddling.
Fix an off-by-one bug in the Views menu.
Be aggressive on flushing buffers.
More changes…