MCPcopy
hub / github.com/witheve/Eve / moveToColumn

Function moveToColumn

src/codemirror.js:12716–12721  ·  view source on GitHub ↗
(cm, repeat)

Source from the content-addressed store, hash-verified

12714 }
12715
12716 function moveToColumn(cm, repeat) {
12717 // repeat is always >= 1, so repeat - 1 always corresponds
12718 // to the column we want to go to.
12719 var line = cm.getCursor().line;
12720 return clipCursorToContent(cm, Pos(line, repeat - 1));
12721 }
12722
12723 function updateMark(cm, vim, markName, pos) {
12724 if (!inArray(markName, validMarks)) {

Callers 1

VimFunction · 0.85

Calls 2

clipCursorToContentFunction · 0.85
getCursorMethod · 0.80

Tested by

no test coverage detected