emit change event on the editor as well

This commit is contained in:
Fabian Jakobs 2011-09-14 14:48:39 +02:00
commit 02bfaae694

View file

@ -300,6 +300,8 @@ var Editor =function(renderer, session) {
lastRow = Infinity;
this.renderer.updateLines(range.start.row, lastRow);
this._dispatchEvent("change", e);
// update cursor because tab characters can influence the cursor position
this.renderer.updateCursor();
};