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

Function getLastEditPos

lib/web/CodeMirror/keymap/vim.js:4532–4539  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

4530 }
4531
4532 function getLastEditPos(cm) {
4533 var done = cm.doc.history.done;
4534 for (var i = done.length; i--;) {
4535 if (done[i].changes) {
4536 return copyCursor(done[i].changes[0].to);
4537 }
4538 }
4539 }
4540
4541 var ExCommandDispatcher = function() {
4542 this.buildCommandMap_();

Callers 2

VimFunction · 0.85
getMarkPosFunction · 0.85

Calls 1

copyCursorFunction · 0.70

Tested by

no test coverage detected