File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
import StringStream from "../../util/StringStream.js"
2
2
import * as modeMethods from "../../modes.js"
3
+ import { countColumn } from "../../util/misc.js"
3
4
4
5
// Copy StringStream and mode methods into exports (CodeMirror) object.
5
6
exports . StringStream = StringStream
7
+ exports . countColumn = countColumn
6
8
for ( var exported in modeMethods ) exports [ exported ] = modeMethods [ exported ]
7
9
8
10
// Shim library CodeMirror with the minimal CodeMirror defined above.
@@ -16,4 +18,4 @@ exports.defineMIME("text/plain", "null")
16
18
exports . registerHelper = exports . registerGlobalHelper = Math . min
17
19
exports . splitLines = function ( string ) { return string . split ( / \r ? \n | \r / ) ; }
18
20
19
- exports . defaults = { indentUnit : 2 }
21
+ exports . defaults = { indentUnit : 2 }
You can’t perform that action at this time.
0 commit comments