Call the new presshell->SetCaretEnabled() call to show the caret when

editing.


git-svn-id: svn://10.0.0.236/trunk@25956 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sfraser%netscape.com 1999-04-02 00:01:31 +00:00
parent d2d281780c
commit e51ed48fbd
2 changed files with 4 additions and 0 deletions

View File

@ -403,6 +403,8 @@ nsEditor::Init(nsIDOMDocument *aDoc, nsIPresShell* aPresShell)
caret->SetCaretReadOnly(PR_FALSE);
}
mPresShell->SetCaretEnabled(PR_TRUE);
NS_POSTCONDITION(mDoc && mPresShell, "bad state");
return NS_OK;

View File

@ -403,6 +403,8 @@ nsEditor::Init(nsIDOMDocument *aDoc, nsIPresShell* aPresShell)
caret->SetCaretReadOnly(PR_FALSE);
}
mPresShell->SetCaretEnabled(PR_TRUE);
NS_POSTCONDITION(mDoc && mPresShell, "bad state");
return NS_OK;