           smartIndent: false,
                    tabSize: 2,
                    scrollbarStyle: "simple",
                    matchBrackets: true,
                    autoCloseBrackets: true,
                    gutters: ["CodeMirror-linenumbers"],
                    firstLineNumber: 1,
                    electricChars: false,
                    workTime: 100,        // Reduced for faster chunk processing
                    workDelay: 10,        // Minimal delay between chunks
                    max