fire change events in the editor

This commit is contained in:
Fabian Jakobs 2010-05-13 09:53:37 +02:00
commit 85749b38aa

View file

@ -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() {