зеркало из https://github.com/mozilla/pjs.git
depricating the ScrollIntoView call. dont need it. the selection modification assures us of scrolling to view after batching.
This commit is contained in:
Родитель
7d8c924e62
Коммит
ff424e9866
|
@ -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;
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче