78
77
// Set the state on text section from current to length characters,
79
78
// then set the rest until the newline to default, except for any characters matching token
80
79
static void SetStateAndZoom(const int state, const int length, const int token, StyleContext &sc) {
84
82
sc.SetState(SCE_MARKDOWN_DEFAULT);
86
85
while (sc.More() && !IsNewline(sc.ch)) {
88
86
if (sc.ch == token && !started) {