[Project_owners] Inserting text around selected text in Midas

Neil neil at parkwaycc.co.uk
Thu Nov 18 19:52:24 EST 2004


David Murray wrote:

> Now all I have to do is get undo/redo to work

In that case you'd probably be better off obtaining the internal editor 
object [xpconnect wrapped (nsIEditor, nsIPlaintextEditor, 
nsIHTMLEditor)] and calling the appropriate methods as they 
automatically invoke the transaction manager.


More information about the Project_owners mailing list