Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit cd40470

Browse files
committed
Use the correct name of CodeMirror option for tab size.
1 parent 8c6d382 commit cd40470

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/editor/Editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ define(function (require, exports, module) {
100100
cmOptions[SMART_INDENT] = "smartIndent";
101101
cmOptions[SPACE_UNITS] = "indentUnit";
102102
cmOptions[STYLE_ACTIVE_LINE] = "styleActiveLine";
103-
cmOptions[TAB_SIZE] = "indentUnit";
103+
cmOptions[TAB_SIZE] = "tabSize";
104104
cmOptions[USE_TAB_CHAR] = "indentWithTabs";
105105
cmOptions[WORD_WRAP] = "lineWrapping";
106106

0 commit comments

Comments
 (0)