Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 9

Qt-interest Archive, March 2002
textedit append


Message 1 in thread

Provided that the append() method of class textEdit adds a new paragraph 
(with newline), which is the best way to add text in the same line ?
I'm currently using 

myTextEdit->setText(myTextEdit->text()+"myString");

but it's too slow, because it makes a lot of unuseful job in memory.

Any suggestions ?
Thanks.

Silvan

-- 
 [ signature omitted ]