Added a checkbox for CodeMirror "smartIndent" opt.