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 942d68f commit 398ae69Copy full SHA for 398ae69
lib/codemirror.js
@@ -119,7 +119,7 @@ var CodeMirror = (function() {
119
focus: function(){focusInput(); onFocus(); fastPoll();},
120
setOption: function(option, value) {
121
options[option] = value;
122
- if (option == "lineNumbers" || option == "gutter") gutterChanged();
+ if (option == "lineNumbers" || option == "gutter" || option == "firstLineNumber") gutterChanged();
123
else if (option == "mode" || option == "indentUnit") loadMode();
124
else if (option == "readOnly" && value == "nocursor") input.blur();
125
else if (option == "theme") scroller.className = scroller.className.replace(/cm-s-\w+/, "cm-s-" + value);
0 commit comments