MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / serializeAllBrackets

Function serializeAllBrackets

lib/web/brackets.js:267–276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

265}
266
267function serializeAllBrackets() {
268 ret = "";
269 updateAllBrackets();
270 raph.forEach(function (e) {
271 if ("isHandleDecorator" in e) {
272 ret += "makePathForHandles(cmGetLineHandle(" + cmGetLineNumber(e.h1) + ", false), cmGetLineHandle(" + cmGetLineNumber(e.h2) + ", true), " + e.level + ", " + e.disabled + ", '"+e.annotation+"')\n"
273 }
274 });
275 return ret
276}
277
278function allDisabledBracketRanges() {
279 ret = "";

Callers 1

changehooks.jsFile · 0.85

Calls 3

updateAllBracketsFunction · 0.85
cmGetLineNumberFunction · 0.85
forEachMethod · 0.45

Tested by

no test coverage detected