fix selectAll after anchor merge
This commit is contained in:
parent
fcf4e764a3
commit
0a3111c8fb
3 changed files with 15 additions and 9 deletions
|
|
@ -160,8 +160,7 @@ var Selection = function(session) {
|
|||
this.selectAll = function() {
|
||||
var lastRow = this.doc.getLength() - 1;
|
||||
this.setSelectionAnchor(lastRow, this.doc.getLine(lastRow).length);
|
||||
this.setSelectionLead(0, 0);
|
||||
// this._dispatchEvent("changeSelection", {blockScrolling: true});
|
||||
this.moveCursorTo(0, 0);
|
||||
};
|
||||
|
||||
this.setSelectionRange = function(range, reverse) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue