Add tests for empty doc, and get doc length in EditorTestSelection.
git-svn-id: svn://10.0.0.236/trunk@46443 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
69fd2bf6be
commit
3ecbeb8efc
@ -1025,7 +1025,18 @@ function EditorTestSelection()
|
||||
|
||||
dump("====== Selection as HTML ======================\n");
|
||||
output = editorShell.GetContentsAs("text/html", 1);
|
||||
dump(output + "\n\n");
|
||||
|
||||
dump("====== Length and status =====================\n");
|
||||
output = "Document is ";
|
||||
if (editorShell.documentIsEmpty)
|
||||
output += "empty\n";
|
||||
else
|
||||
output += "not empty\n";
|
||||
output += "Document length is " + editorShell.documentLength + " characters";
|
||||
dump(output + "\n\n");
|
||||
|
||||
|
||||
}
|
||||
|
||||
function EditorTestTableLayout()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user