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

Function reCheckSelection

static/mergely/lib/codemirror.js:2221–2223  ·  view source on GitHub ↗
(doc)

Source from the content-addressed store, hash-verified

2219 // Verify that the selection does not partially select any atomic
2220 // marked ranges.
2221 function reCheckSelection(doc) {
2222 setSelectionInner(doc, skipAtomicInSelection(doc, doc.sel, null, false), sel_dontScroll);
2223 }
2224
2225 // Return a selection that does not partially select any atomic
2226 // ranges.

Callers 2

codemirror.jsFile · 0.70
markTextFunction · 0.70

Calls 2

setSelectionInnerFunction · 0.70
skipAtomicInSelectionFunction · 0.70

Tested by

no test coverage detected