I have no idea, I will evaluate the options when I get to the editor component. My instinct is to use QScintilla, I like challenges

But, that may change when I actually look at the various options. Currently the three options I have in mind are QPlainTextEdit, Ace and QScintilla.