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

Function setMark

src/codemirror.js:9148–9152  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

9146 // Utilities
9147
9148 function setMark(cm) {
9149 cm.setCursor(cm.getCursor());
9150 cm.setExtending(!cm.getExtending());
9151 cm.on("change", function() { cm.setExtending(false); });
9152 }
9153
9154 function clearMark(cm) {
9155 cm.setExtending(false);

Callers

nothing calls this directly

Calls 4

setCursorMethod · 0.80
getCursorMethod · 0.80
setExtendingMethod · 0.80
onMethod · 0.80

Tested by

no test coverage detected