PDA

View Full Version : Modifying a line in a QTextEdit



elcuco
15th March 2008, 16:13
Hi all,

I want to modify a specific line in a QTextEdit. So far, I found options to delete that line and then re-insert it, but IHMO it's an overkill.

Any ideas?

jpn
15th March 2008, 16:50
What kind of modification do you mean? Presumably not formatting but altering textual content? QTextCursor offers methods for this, doesn't it?