I'm looking for a control to edit rich text. These are my requireme开发者_JS百科nts:
- Fast/lightweight
- Support for bulleted/numbered lists
- Colored text and highlighting
- Targeting Windows, but cross-platform would be a bonus
- Fine control over undo/redo and easy way to monitor what parts of the documents have changed
- All the other usual features: text styles, copy/paste, etc.
- Can easily be a subclassed and extended
I'm considering Qt's QTextEDit
, but wanted to see if you have any other suggestions.
My first choice would be Qt. From what I tested, it is the best toolkit around, and it is the only one I know that has all of your requirements. My second choice would be wxWidgets, but I didn't like its architecture and API very much.
精彩评论