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

Function moveToColumn

lib/web/CodeMirror/keymap/vim.js:3714–3719  ·  view source on GitHub ↗
(cm, repeat)

Source from the content-addressed store, hash-verified

3712 }
3713
3714 function moveToColumn(cm, repeat) {
3715 // repeat is always >= 1, so repeat - 1 always corresponds
3716 // to the column we want to go to.
3717 var line = cm.getCursor().line;
3718 return clipCursorToContent(cm, Pos(line, repeat - 1));
3719 }
3720
3721 function updateMark(cm, vim, markName, pos) {
3722 if (!inArray(markName, validMarks)) {

Callers 1

VimFunction · 0.85

Calls 2

clipCursorToContentFunction · 0.85
PosFunction · 0.50

Tested by

no test coverage detected