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 11import StringStream from "../../util/StringStream.js"
22import * as modeMethods from "../../modes.js"
3+ import { countColumn } from "../../util/misc.js"
34
45// Copy StringStream and mode methods into exports (CodeMirror) object.
56exports . StringStream = StringStream
7+ exports . countColumn = countColumn
68for ( var exported in modeMethods ) exports [ exported ] = modeMethods [ exported ]
79
810// Shim library CodeMirror with the minimal CodeMirror defined above.
@@ -16,4 +18,4 @@ exports.defineMIME("text/plain", "null")
1618exports . registerHelper = exports . registerGlobalHelper = Math . min
1719exports . splitLines = function ( string ) { return string . split ( / \r ? \n | \r / ) ; }
1820
19- exports . defaults = { indentUnit : 2 }
21+ exports . defaults = { indentUnit : 2 }
You can’t perform that action at this time.
0 commit comments