Changeset 3617:bb465743f804 for admin/js/codemirror/mode/htmlmixed
- Timestamp:
- 12/11/17 15:59:17 (8 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/codemirror/mode/htmlmixed/htmlmixed.js
r3532 r3617 134 134 }, 135 135 136 indent: function (state, textAfter ) {136 indent: function (state, textAfter, line) { 137 137 if (!state.localMode || /^\s*<\//.test(textAfter)) 138 138 return htmlMode.indent(state.htmlState, textAfter); 139 139 else if (state.localMode.indent) 140 return state.localMode.indent(state.localState, textAfter );140 return state.localMode.indent(state.localState, textAfter, line); 141 141 else 142 142 return CodeMirror.Pass;
Note: See TracChangeset
for help on using the changeset viewer.