qt-interest@trolltech.com
[Top] [All Lists]

QTextEdit - add text via append() without implicit "newline char"

Subject: QTextEdit - add text via append() without implicit "newline char"
From: Torsten Krah
Date: Thu, 17 Jul 2008 23:40:36 +0200
Hi.
I've got a tcp stream which i am analyzing (setting things like textcolor 
etc.) and appending text as needed.
Works fine, but everytime i call "append" a newline gets "added" to the text.
Is it possible to not add these ones, the screen output get interrupted 
through these newlines, i would really like to handle them myself.
I can't call append only at "\n" because i change text attributes (color, 
underline & co) so i need to add the text immediately before these attributes 
are changed again.

Any hints?

Torsten
<Prev in Thread] Current Thread [Next in Thread>