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

Function pushContext

static/editor.md/lib/codemirror/mode/cypher/cypher.js:49–56  ·  view source on GitHub ↗
(state, type, col)

Source from the content-addressed store, hash-verified

47 }
48 };
49 var pushContext = function(state, type, col) {
50 return state.context = {
51 prev: state.context,
52 indent: state.indent,
53 col: col,
54 type: type
55 };
56 };
57 var popContext = function(state) {
58 state.indent = state.context.indent;
59 return state.context = state.context.prev;

Callers 1

cypher.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected