package
This commit is contained in:
parent
be69263d31
commit
7dd3d5c576
17 changed files with 21 additions and 18 deletions
|
|
@ -6502,7 +6502,7 @@ var EditSession = function(text, mode) {
|
|||
};
|
||||
|
||||
this.getAnnotations = function() {
|
||||
return this.$annotations;
|
||||
return this.$annotations || {};
|
||||
};
|
||||
|
||||
this.clearAnnotations = function() {
|
||||
|
|
@ -15853,7 +15853,9 @@ oop.inherits(Mode, TextMode);
|
|||
|
||||
worker.on("ok", function(e) {
|
||||
session.clearAnnotations();
|
||||
});
|
||||
});
|
||||
|
||||
return worker;
|
||||
};
|
||||
|
||||
}).call(Mode.prototype);
|
||||
|
|
@ -16887,6 +16889,7 @@ oop.inherits(Mode, TextMode);
|
|||
|
||||
session.setAnnotations(errors);
|
||||
});
|
||||
return worker;
|
||||
};
|
||||
|
||||
}).call(Mode.prototype);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue