MCPcopy
hub / github.com/pandao/editor.md / splitLines

Function splitLines

lib/codemirror/addon/runmode/runmode.node.js:8–8  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

6// declare global: StringStream
7
8function splitLines(string){ return string.split(/\r?\n|\r/); };
9
10function StringStream(string) {
11 this.pos = this.start = 0;

Callers 9

runmode.node.jsFile · 0.70
applyTextInputFunction · 0.50
codemirror.min.jsFile · 0.50
loadFileFunction · 0.50
replaceRangeFunction · 0.50
applyTextInputFunction · 0.50
codemirror.jsFile · 0.50
loadFileFunction · 0.50
replaceRangeFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…