MCPcopy Create free account
hub / github.com/TruthHun/BookStack / updateSelection

Function updateSelection

static/editor.md/lib/codemirror/lib/codemirror.js:2197–2199  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

2195 // SELECTION DRAWING
2196
2197 function updateSelection(cm) {
2198 cm.display.input.showSelection(cm.display.input.prepareSelection());
2199 }
2200
2201 function prepareSelection(cm, primary) {
2202 var doc = cm.doc, result = {};

Callers 2

postUpdateDisplayFunction · 0.70
updateDisplaySimpleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected