Hello Dave,
Attached are two more patches, mostly cosmetic:
* Make a better guess of default line-end type based on platform type.
* Get rid of #ifdef -- let wxTextBuffer::Translate do all the work.
Sending as attachments, let me know if inserting inline is preferred.
Tested on windows only, but I think should not break other platforms.
Thank you,
Nikolai