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

Function Context

static/editor.md/lib/codemirror/mode/css/css.js:116–120  ·  view source on GitHub ↗
(type, indent, prev)

Source from the content-addressed store, hash-verified

114 // Context management
115
116 function Context(type, indent, prev) {
117 this.type = type;
118 this.indent = indent;
119 this.prev = prev;
120 }
121
122 function pushContext(state, stream, type) {
123 state.context = new Context(type, stream.indentation() + indentUnit, state.context);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected