add changeMode event
This commit is contained in:
parent
197038ddb6
commit
d1cbeabf6c
1 changed files with 2 additions and 1 deletions
|
|
@ -588,8 +588,9 @@ var Editor = function(renderer, session) {
|
|||
};
|
||||
|
||||
|
||||
this.onChangeMode = function() {
|
||||
this.onChangeMode = function(e) {
|
||||
this.renderer.updateText();
|
||||
this._emit("changeMode", e);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue