We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 001e07f commit f87e118Copy full SHA for f87e118
1 file changed
src/addon/runmode/codemirror.node.js
@@ -1,8 +1,10 @@
1
import StringStream from "../../util/StringStream.js"
2
import * as modeMethods from "../../modes.js"
3
+import {countColumn} from "../../util/misc.js"
4
5
// Copy StringStream and mode methods into exports (CodeMirror) object.
6
exports.StringStream = StringStream
7
+exports.countColumn = countColumn
8
for (var exported in modeMethods) exports[exported] = modeMethods[exported]
9
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/); }
20
-exports.defaults = { indentUnit: 2 }
21
+exports.defaults = { indentUnit: 2 }
0 commit comments