Skip to content

Commit

Permalink
fix #2, ref ajaxorg/ace#3045
Browse files Browse the repository at this point in the history
  • Loading branch information
吴兴盛 committed Sep 21, 2016
1 parent 5711ff4 commit 69b478a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions atxweb/static/ace/ace.js
Expand Up @@ -1941,6 +1941,7 @@ var dom = require("../lib/dom");
var lang = require("../lib/lang");
var BROKEN_SETDATA = useragent.isChrome < 18;
var USE_IE_MIME_TYPE = useragent.isIE;
var CHROME_COMPOSITION = useragent.isChrome >= 53;

var TextInput = function(parentNode, host) {
var text = dom.createElement("textarea");
Expand Down Expand Up @@ -2299,6 +2300,9 @@ var TextInput = function(parentNode, host) {
if (e.type == "compositionend" && c.range) {
host.selection.setRange(c.range);
}
if (CHROME_COMPOSITION) {
onInput();
}
};


Expand Down

4 comments on commit 69b478a

@zhongxia245
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ! now is resolve this bug!

@hstarorg
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very thanks, It's useful.

@micosty
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!!!

@lgcxc
Copy link

@lgcxc lgcxc commented on 69b478a Oct 31, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why www.baidu.com not result ? suggest debug the error right now,thank you very much!

Please sign in to comment.