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

Function moveTo

lib/web/CodeMirror/addon/tern/tern.js:411–417  ·  view source on GitHub ↗
(ts, curDoc, doc, start, end)

Source from the content-addressed store, hash-verified

409 }
410
411 function moveTo(ts, curDoc, doc, start, end) {
412 doc.doc.setSelection(start, end);
413 if (curDoc != doc && ts.options.switchToDoc) {
414 closeArgHints(ts);
415 ts.options.switchToDoc(doc.name, doc.doc);
416 }
417 }
418
419 // The {line,ch} representation of positions makes this rather awkward.
420 function findContext(doc, data) {

Callers 2

innerFunction · 0.85
jumpBackFunction · 0.85

Calls 1

closeArgHintsFunction · 0.85

Tested by

no test coverage detected