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

Function pushContext

static/editor.md/lib/codemirror/mode/turtle/turtle.js:91–93  ·  view source on GitHub ↗
(state, type, col)

Source from the content-addressed store, hash-verified

89 }
90
91 function pushContext(state, type, col) {
92 state.context = {prev: state.context, indent: state.indent, col: col, type: type};
93 }
94 function popContext(state) {
95 state.indent = state.context.indent;
96 state.context = state.context.prev;

Callers 1

turtle.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected