diff --git a/build_support/boot_textarea.js b/build_support/boot_textarea.js index 6a63fbd4..b4c5846a 100644 --- a/build_support/boot_textarea.js +++ b/build_support/boot_textarea.js @@ -250,7 +250,7 @@ window.__ace_shadowed__.transformTextarea = function(element) { overflow: "auto", fontSize: "14px" }; - if (!UA.isIE || UA.isIE >= 9) { + if (!UA.isOldIE) { settingDivStyles.backgroundColor = "rgba(0, 0, 0, 0.6)"; } else { settingDivStyles.backgroundColor = "#333"; diff --git a/lib/ace/keyboard/textinput.js b/lib/ace/keyboard/textinput.js index 72d8a717..7ee1cc6a 100644 --- a/lib/ace/keyboard/textinput.js +++ b/lib/ace/keyboard/textinput.js @@ -99,7 +99,7 @@ var TextInput = function(parentNode, host) { }; var onPropertyChange = function(e) { - if (useragent.isIE && text.value.charCodeAt(0) > 128) return; + if (useragent.isOldIE && text.value.charCodeAt(0) > 128) return; setTimeout(function() { if (!inCompostion) sendText(); @@ -150,7 +150,7 @@ var TextInput = function(parentNode, host) { }; event.addCommandKeyListener(text, host.onCommandKey.bind(host)); - if (useragent.isIE) { + if (useragent.isOldIE) { var keytable = { 13:1, 27:1 }; event.addListener(text, "keyup", function (e) { if (inCompostion && (!text.value || keytable[e.keyCode])) diff --git a/lib/ace/virtual_renderer.js b/lib/ace/virtual_renderer.js index efd8b900..257d039d 100644 --- a/lib/ace/virtual_renderer.js +++ b/lib/ace/virtual_renderer.js @@ -338,6 +338,7 @@ var VirtualRenderer = function(container, theme) { this.moveTextAreaToCursor = function(textarea) { // in IE the native cursor always shines through + // this persists in IE9 if (useragent.isIE) return; diff --git a/support/pilot b/support/pilot index 0ec977f5..26272d95 160000 --- a/support/pilot +++ b/support/pilot @@ -1 +1 @@ -Subproject commit 0ec977f5e49714ea0d1e560acb93a6e388c6d028 +Subproject commit 26272d95b68ca4e1ca3d71188cee544a5806c58d