[runmode.node addon] Export countColumn again
This commit is contained in:
parent
001e07fcf8
commit
f87e1181c0
|
@ -1,8 +1,10 @@
|
|||
import StringStream from "../../util/StringStream.js"
|
||||
import * as modeMethods from "../../modes.js"
|
||||
import {countColumn} from "../../util/misc.js"
|
||||
|
||||
// Copy StringStream and mode methods into exports (CodeMirror) object.
|
||||
exports.StringStream = StringStream
|
||||
exports.countColumn = countColumn
|
||||
for (var exported in modeMethods) exports[exported] = modeMethods[exported]
|
||||
|
||||
// Shim library CodeMirror with the minimal CodeMirror defined above.
|
||||
|
@ -16,4 +18,4 @@ exports.defineMIME("text/plain", "null")
|
|||
exports.registerHelper = exports.registerGlobalHelper = Math.min
|
||||
exports.splitLines = function(string) { return string.split(/\r?\n|\r/); }
|
||||
|
||||
exports.defaults = { indentUnit: 2 }
|
||||
exports.defaults = { indentUnit: 2 }
|
||||
|
|
Loading…
Reference in New Issue