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

Function reCheckSelection

static/editor.md/lib/codemirror/lib/codemirror.js:2124–2126  ·  view source on GitHub ↗
(doc)

Source from the content-addressed store, hash-verified

2122 // Verify that the selection does not partially select any atomic
2123 // marked ranges.
2124 function reCheckSelection(doc) {
2125 setSelectionInner(doc, skipAtomicInSelection(doc, doc.sel, null, false), sel_dontScroll);
2126 }
2127
2128 // Return a selection that does not partially select any atomic
2129 // ranges.

Callers 2

codemirror.jsFile · 0.70
markTextFunction · 0.70

Calls 2

setSelectionInnerFunction · 0.70
skipAtomicInSelectionFunction · 0.70

Tested by

no test coverage detected