diff --git a/lib/ace/editor.js b/lib/ace/editor.js index f8ff8568..1baf50f2 100644 --- a/lib/ace/editor.js +++ b/lib/ace/editor.js @@ -306,7 +306,7 @@ var Editor = function(renderer, session) { this._dispatchEvent("change", e); // update cursor because tab characters can influence the cursor position - this.renderer.updateCursor(); + this.onCursorChange(); }; this.onTokenizerUpdate = function(e) {