MCPcopy Create free account
hub / github.com/nwutils/nw-sample-apps / inBlock

Function inBlock

mini-code-edit/cm/mode/xml/xml.js:134–145  ·  view source on GitHub ↗
(style, terminator)

Source from the content-addressed store, hash-verified

132 }
133
134 function inBlock(style, terminator) {
135 return function(stream, state) {
136 while (!stream.eol()) {
137 if (stream.match(terminator)) {
138 state.tokenize = inText;
139 break;
140 }
141 stream.next();
142 }
143 return style;
144 };
145 }
146 function doctype(depth) {
147 return function(stream, state) {
148 var ch;

Callers 1

inTextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected