MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / badPos

Function badPos

lib/web/CodeMirror/src/input/ContentEditableInput.js:417–417  ·  view source on GitHub ↗
(pos, bad)

Source from the content-addressed store, hash-verified

415}
416
417function badPos(pos, bad) { if (bad) pos.bad = true; return pos }
418
419function domTextBetween(cm, from, to, fromLine, toLine) {
420 let text = "", closing = false, lineSep = cm.doc.lineSeparator(), extraLinebreak = false

Callers 2

domToPosFunction · 0.70
locateNodeInLineViewFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected