mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1120316
- Part 2: Batch changes for select all so we don't get selection change with no reason. r=roc
This commit is contained in:
parent
c2267e92ee
commit
280d7cfa13
@ -1584,6 +1584,7 @@ nsPlaintextEditor::SelectEntireDocument(Selection* aSelection)
|
||||
return aSelection->Collapse(rootElement, 0);
|
||||
}
|
||||
|
||||
SelectionBatcher selectionBatcher(aSelection);
|
||||
nsresult rv = nsEditor::SelectEntireDocument(aSelection);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user