remove updateMarker method
This commit is contained in:
parent
f1d25fb7b2
commit
b127e92c01
2 changed files with 2 additions and 12 deletions
|
|
@ -505,10 +505,9 @@ Editor.prototype =
|
|||
}
|
||||
|
||||
if (this.selection) {
|
||||
this.renderer.updateMarker(this.selection, this.getSelectionRange());
|
||||
} else {
|
||||
this.selection = this.renderer.addMarker(this.getSelectionRange(), "selection");
|
||||
this.renderer.removeMarker(this.selection);
|
||||
}
|
||||
this.selection = this.renderer.addMarker(this.getSelectionRange(), "selection");
|
||||
},
|
||||
|
||||
selectUp : function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue