fix for 20457: deletion in editor pretty darn screwy. Lots of changes to improve this. Document modifying entry points in editor now go thru a standard sandwich, which allows tracking of what changed in the doc, which allows proper post-processing of what changed. Also, all deletions now go thru the rules code, if applicable. Also some bugs in tracking the changed document portion have been fixed. Finally selection setting after a delete is improved.

git-svn-id: svn://10.0.0.236/trunk@55568 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jfrancis%netscape.com
1999-12-07 08:30:19 +00:00
parent 4727d6ae47
commit edba5add24
44 changed files with 1339 additions and 930 deletions

View File

@@ -104,7 +104,7 @@ nsresult TextEditorTest::InitDoc()
{
nsresult result = mEditor->SelectAll();
TEST_RESULT(result);
result = mEditor->DeleteSelection(nsIEditor::eDeleteNext);
result = mEditor->DeleteSelection(nsIEditor::eNext);
TEST_RESULT(result);
return result;
}