From 02bfaae694d997f091cf3faa5229f49b68814885 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Wed, 14 Sep 2011 14:48:39 +0200 Subject: [PATCH] emit change event on the editor as well --- lib/ace/editor.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ace/editor.js b/lib/ace/editor.js index 483c44c5..4fae0cdd 100644 --- a/lib/ace/editor.js +++ b/lib/ace/editor.js @@ -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(); };