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

Function moveLogically

lib/web/CodeMirror/src/input/movement.js:11–14  ·  view source on GitHub ↗
(line, start, dir)

Source from the content-addressed store, hash-verified

9}
10
11export function moveLogically(line, start, dir) {
12 let ch = moveCharLogically(line, start.ch, dir)
13 return ch == null ? null : new Pos(start.line, ch, dir < 0 ? "after" : "before")
14}
15
16export function endOfLine(visually, cm, lineObj, lineNo, dir) {
17 if (visually) {

Callers 2

moveOnceFunction · 0.90
moveVisuallyFunction · 0.70

Calls 1

moveCharLogicallyFunction · 0.70

Tested by

no test coverage detected