Get HTML and RTF directly (instead of copying to clipboard)
The old Scintilla.NET control only allowed to export HTML to a StreamWriter. The new Scintilla.NET (3.5) only allows to copy HTML/RTF directly to the clipboard (if I'm not mistaken). Wouldn't it be better to have a method that just returns the HTML as a string and leave it to the developer what to do with it (write to file, copy to clipboard, show in browser, ...)?
Issue #1 specifically requested that HTML be copied to the clipboard and so that is how it got implemented.
I think I can also export it as a string if you would like.
That would be great, because it is the most flexible method.
Partial support for this was added in the 3.5.4 release. I'll leave the issue open though because I want to get RTF support completed before I close it out.
When you say "RTF" support, does that mean Scintilla will be usable as a RichText editor? If so, that would be amazing and help me tremendously with a project that is on hold simply because of how annoying it is to work with the Visual Studio RichTextBox.
It wouldn't be fair to call ScintillaNET a RTF editor by any stretch of the definition, even when support for exporting is complete. RTF allows for quite a few additional document entities like tables, bulleted lists, embedded images, etc... which ScintillaNET will never be able to do.
Once RTF export is completed, however, ScintillaNET should be able to generate an RTF document that represents the basic styling which ScintillaNET supports. No RTF import support is planned.