fix ime issues

This commit is contained in:
nightwing 2013-04-30 12:19:04 +04:00
commit 09bc6119d4
2 changed files with 17 additions and 4 deletions

View file

@ -545,7 +545,7 @@ var VirtualRenderer = function(container, theme) {
var w = this.characterWidth;
if (this.$composition) {
var val = this.textarea.value.replace(/^\x01+/, "");
w *= this.session.$getStringScreenWidth(val)[0];
w *= (this.session.$getStringScreenWidth(val)[0]+2);
h += 2;
posTop -= 1;
}