From d16c6cf3859f5a597046f6bc84eab2e468cb0cb7 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Sat, 25 Sep 2010 22:33:35 +0200 Subject: [PATCH] don't show a space character while composing a character --- src/ace/Editor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ace/Editor.js b/src/ace/Editor.js index f7fbc0be..d82c3ce2 100644 --- a/src/ace/Editor.js +++ b/src/ace/Editor.js @@ -621,9 +621,9 @@ var Editor = function(renderer, doc) { }; }; - this.onCompositionStart = function() { + this.onCompositionStart = function(text) { this.renderer.showComposition(this.getCursorPosition()); - this.onTextInput(" "); + //this.onTextInput(text); }; this.onCompositionUpdate = function(text) { @@ -632,7 +632,7 @@ var Editor = function(renderer, doc) { this.onCompositionEnd = function() { this.renderer.hideComposition(); - this.removeLeft(); + //this.removeLeft(); };