>There is definitely a use-case for a non-rich text editor (Qt has >different editors for rich- and raw- for performance reasons). >And for a raw editor, you can get away with much simpler data-structures.
For the initial release, TextArea will be non-rich. The data structures it will use for this release are pretty basic: Document Paragraph TextNode These don't currently contain any formatting information (though they will in a later release). TextArea provides a setText() method that will perform translation from plain text (with paragraphs delimited by carriage returns) to a Document, so callers don't even need to be aware of the existence of the document. In other words, it's not really all that complex to begin with, but will scale to support future complexity as needed. G
