don't show a space character while composing a character

This commit is contained in:
Fabian Jakobs 2010-09-25 22:33:35 +02:00
commit d16c6cf385

View file

@ -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();
};