Hi,

I need to set a font for the entire document in QTextEdit.

Presently this is what i do

1 store current selection
2. select all
3. setCurrentFont( QFont( fontName ) );
4. restore selection

is there a better method. i.e with out selectAll()

FYI: I am using PlainText Mode