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

git-svn-id: svn://10.0.0.236/trunk@21430 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mjudge%netscape.com 1999-02-21 03:48:52 +00:00
parent a8b27bf38c
commit 988ca9603d
2 changed files with 6 additions and 2 deletions

View File

@ -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;
*/
}

View File

@ -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;
*/
}