depricating the ScrollIntoView call. dont need it. the selection modification assures us of scrolling to view after batching.

This commit is contained in:
mjudge%netscape.com 1999-02-21 03:48:52 +00:00
Родитель 7d8c924e62
Коммит ff424e9866
2 изменённых файлов: 6 добавлений и 2 удалений

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

@ -651,7 +651,8 @@ nsEditor::EndTransaction()
nsresult nsEditor::ScrollIntoView(PRBool aScrollToBegin)
{
nsresult result;
return NS_OK; //mjudge we should depricate this method
/* nsresult result;
if (mPresShell)
{
nsCOMPtr<nsIDOMSelection> selection;
@ -684,6 +685,7 @@ nsresult nsEditor::ScrollIntoView(PRBool aScrollToBegin)
result = NS_ERROR_NOT_INITIALIZED;
}
return result;
*/
}

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

@ -651,7 +651,8 @@ nsEditor::EndTransaction()
nsresult nsEditor::ScrollIntoView(PRBool aScrollToBegin)
{
nsresult result;
return NS_OK; //mjudge we should depricate this method
/* nsresult result;
if (mPresShell)
{
nsCOMPtr<nsIDOMSelection> selection;
@ -684,6 +685,7 @@ nsresult nsEditor::ScrollIntoView(PRBool aScrollToBegin)
result = NS_ERROR_NOT_INITIALIZED;
}
return result;
*/
}