According to mjudge's caret api checkin comments, I think this is the proper fix for the xmlterm bustage. a=leaf

This commit is contained in:
cls%seawood.org 2000-06-01 06:58:16 +00:00
Родитель 1923a46162
Коммит 9766663fb2
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -725,8 +725,9 @@ NS_IMETHODIMP mozXMLTerminal::ShowCaret(void)
nsCOMPtr<nsIDOMSelection> sel;
if (NS_SUCCEEDED(selCon->GetSelection(nsISelectionController::SELECTION_NORMAL, getter_AddRefs(sel))) && sel)
{
caret->SetCaretVisible(PR_TRUE, sel);
caret->SetCaretReadOnly(PR_FALSE, sel);
caret->SetCaretDOMSelection(sel);
caret->SetCaretVisible(PR_TRUE);
caret->SetCaretReadOnly(PR_FALSE);
}
}
}