don't show a space character while composing a character
This commit is contained in:
parent
53ea2aeb17
commit
d16c6cf385
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue