diff --git a/lib/ace/keyboard/textinput.js b/lib/ace/keyboard/textinput.js index ca41130e..7b528197 100644 --- a/lib/ace/keyboard/textinput.js +++ b/lib/ace/keyboard/textinput.js @@ -150,7 +150,7 @@ var TextInput = function(parentNode, host) { if (data) host.onTextInput(data); } else - host.onDelete(); + host.execCommand("del", {source: "ace"}); }; var onCompositionStart = function(e) {