We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f7e6a7 commit 1ff1ee5Copy full SHA for 1ff1ee5
lib/codemirror.js
@@ -118,7 +118,7 @@ var CodeMirror = (function() {
118
setValue: operation(setValue),
119
getSelection: getSelection,
120
replaceSelection: operation(replaceSelection),
121
- focus: function(){focusInput(); onFocus(); fastPoll();},
+ focus: function(){focusInput(); onFocus(); prepareInput(); fastPoll();},
122
setOption: function(option, value) {
123
options[option] = value;
124
if (option == "lineNumbers" || option == "gutter") gutterChanged();
0 commit comments