emit change event on the editor as well
This commit is contained in:
parent
b53897c3d6
commit
02bfaae694
1 changed files with 2 additions and 0 deletions
|
|
@ -300,6 +300,8 @@ var Editor =function(renderer, session) {
|
||||||
lastRow = Infinity;
|
lastRow = Infinity;
|
||||||
this.renderer.updateLines(range.start.row, lastRow);
|
this.renderer.updateLines(range.start.row, lastRow);
|
||||||
|
|
||||||
|
this._dispatchEvent("change", e);
|
||||||
|
|
||||||
// update cursor because tab characters can influence the cursor position
|
// update cursor because tab characters can influence the cursor position
|
||||||
this.renderer.updateCursor();
|
this.renderer.updateCursor();
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue