[Qt-interest] append non-paragraph text in QPlainTextEdit

Bob Hood bhood2 at comcast.net
Wed May 12 19:17:52 CEST 2010


On 5/12/2010 10:18 AM, Klaus Schneider-Zapp wrote:
> ...I can use insertText() 
> but this has the following problem: If the user selects text and in that 
> moment new data comes in, the selection is deleted and replaced.

Is there any reason why you could not simply remember the user's current
selection, clear it, call insertText(), and then restore the user's
selection?




More information about the Qt-interest-old mailing list