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:
parent
a8b27bf38c
commit
988ca9603d
@ -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;
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user