fix broken reference to "self"
This commit is contained in:
parent
5cbc467486
commit
6516e3931a
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ var MouseHandler = function(editor) {
|
|||
|
||||
if (self.$clickSelection) {
|
||||
if (self.$clickSelection.contains(cursor.row, cursor.column)) {
|
||||
self.selection.setSelectionRange(self.$clickSelection);
|
||||
editor.selection.setSelectionRange(self.$clickSelection);
|
||||
} else {
|
||||
if (self.$clickSelection.compare(cursor.row, cursor.column) == -1) {
|
||||
var anchor = self.$clickSelection.end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue