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

Function isFolded

static/editor.md/lib/codemirror/addon/fold/foldgutter.js:52–56  ·  view source on GitHub ↗
(cm, line)

Source from the content-addressed store, hash-verified

50 }
51
52 function isFolded(cm, line) {
53 var marks = cm.findMarksAt(Pos(line));
54 for (var i = 0; i < marks.length; ++i)
55 if (marks[i].__isFold && marks[i].find().from.line == line) return true;
56 }
57
58 function marker(spec) {
59 if (typeof spec == "string") {

Callers 1

updateFoldInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected