I would like to export a custom range of code to RTF. As far as I can tell from the documentation, you currently only support either exporting the entire document or the selected text. I really think that it would make sense to be able to decide a start and end offset and then export that also. As a workaround, I'm currently creating a new SyntaxEditor instance, copying the language and text from the original SyntaxEditor instance, creating the desired selection and then calling the selection export method, but it's a bit slow, especially for documents with big amounts of text :). I assume that it would be very easy to implement a function like this, since you can already do it for selections, so would it be possible to include in the next release?