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

Function tagAt

static/editor.md/lib/codemirror/addon/fold/xml-fold.js:28–31  ·  view source on GitHub ↗
(iter, ch)

Source from the content-addressed store, hash-verified

26 }
27
28 function tagAt(iter, ch) {
29 var type = iter.cm.getTokenTypeAt(Pos(iter.line, ch));
30 return type && /\btag\b/.test(type);
31 }
32
33 function nextLine(iter) {
34 if (iter.line >= iter.max) return;

Callers 4

toTagEndFunction · 0.85
toTagStartFunction · 0.85
toNextTagFunction · 0.85
toPrevTagFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected