зеркало из https://github.com/mozilla/pjs.git
061b766061
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 |
||
---|---|---|
.. | ||
.cvsignore | ||
MANIFEST | ||
Makefile.in | ||
makefile.win | ||
nsEditorCID.h | ||
nsIContextLoader.h | ||
nsIEditor.h | ||
nsITextEditor.h |