Thank you so much. It works. But it also takes the empty document (When you remove selected text) into the undo/redo history.
Thank you so much. It works. But it also takes the empty document (When you remove selected text) into the undo/redo history.
delete the line
Qt Code:
curs.removeSelectedText ();To copy to clipboard, switch view to plain text mode
from my code
Last edited by mcosta; 20th July 2011 at 15:23. Reason: updated contents
A camel can go 14 days without drink,
I can't!!!
How could I not think about that!?
Thank you so much. It works perfect now!
Bookmarks