updated to new nsCOMPtr usage nsTextEditor::InsertBreak() implemented splits the text node at the caret (deletes any extended selection to force a collapsed selection.) inserts a <BR> which I assume we'll convert to a CR when we write to a text stream. undo and redo work, except for the bug noted below More stuff: interface cleanup strategic debugging code added delete selection txn sets the collapses the selection...this is just a placeholder, but I needed it for undo/redo of InsertBreak. join and split now work for text nodes as well as interior nodes git-svn-id: svn://10.0.0.236/trunk@21009 18797224-902f-48f8-a5cc-f745e15eee43
3.4 KiB
3.4 KiB