On Thu, 23 Feb 2012 17:19:33 +0300, Andrei Kopats <[email protected]> wrote: > Hi > > I need to edit text in the QScintilla by software. To do it, I > 1) Select peace of text with QScintilla::setSelection() > 2) Remove it with QScintilla::removeSelectedText() > 3) Insert new text with QScintilla::insertText() > > (I probably can use QScintilla::removeSelectedText(newtext)) > > The problem is that this procedure overwrites window system selection > clipboard with text I removed. > I think, QScintilla should copy new text to the selection buffer, only if > it was selected by user, not when it was selected automatically.
Unfortunately the underlying Scintilla code doesn't make the distinction. Phil _______________________________________________ QScintilla mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/qscintilla
