MCPcopy
hub / github.com/DHTMLX/gantt / findNextLine

Function findNextLine

samples/common/codehighlight/codemirror.js:8671–8676  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8669 var lineObj = getLine(doc, pos.line);
8670 var lineDir = visually && doc.direction == "rtl" ? -dir : dir;
8671 function findNextLine() {
8672 var l = pos.line + lineDir;
8673 if (l < doc.first || l >= doc.first + doc.size) { return false }
8674 pos = new Pos(l, pos.ch, pos.sticky);
8675 return lineObj = getLine(doc, l)
8676 }
8677 function moveOnce(boundToLine) {
8678 var next;
8679 if (unit == "codepoint") {

Callers 1

moveOnceFunction · 0.85

Calls 1

getLineFunction · 0.85

Tested by

no test coverage detected