[QScintilla] Inconsistency about clear() and undo history

Phil Thompson phil at riverbankcomputing.com
Wed Mar 13 10:39:27 GMT 2019


On 9 Mar 2019, at 6:27 pm, Manuel Gómez <mgrojo at gmail.com> wrote:
> 
> Hi,
> 
> Both QsciScintilla::setText() and QTextEdit::setText() clear the undo/redo history but QsciScintilla::clear() doesn't, while QTextEdit::clear() does. Shouldn't the QScintilla version also clear the undo history for consistency with Qt?

I agree.

Phil


More information about the QScintilla mailing list