fire change events in the editor
This commit is contained in:
parent
661d526601
commit
85749b38aa
1 changed files with 3 additions and 0 deletions
|
|
@ -360,6 +360,8 @@ ace.Editor = function(renderer, doc) {
|
|||
this.$blockScrolling = true;
|
||||
this.onCursorChange();
|
||||
this.$blockScrolling = false;
|
||||
|
||||
this.$dispatchEvent("changeOverwrite", {data: overwrite});
|
||||
};
|
||||
|
||||
this.getOverwrite = function() {
|
||||
|
|
@ -376,6 +378,7 @@ ace.Editor = function(renderer, doc) {
|
|||
|
||||
this.$selectionStyle = style;
|
||||
this.onSelectionChange();
|
||||
this.$dispatchEvent("changeSelectionStyle", {data: style});
|
||||
};
|
||||
|
||||
this.getSelectionStyle = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue