if (strncmp (text, " " ",
) == 0) {
// Quoted quote.
* style + + = current;
* style + + = current; + +; -; + = 2;;
} else if (* text == ' "') {= 'D';
} else if (! last && (islower ((* text) & 255) | | * text == '_')) {
// Might be a keyword. (temp = text, bufptr = buf;
(islower ((* temp) & 255) | | * temp == '_') && bufptr <(buf + sizeof (buf) - 1);
* bufptr + + = * temp + +); (! islower ((* temp) & 255) && * temp! = '_') {
* bufptr = ' 0'; = buf; = find (code_types. begin (), code_types. end (), bufptr); = find (code_keywords. begin (), code_keywords. end ( ), bufptr); (it! = code_types. end ())
{(text
* style + + = 'F'; + +; -; + +;
} -; + +; = 1;;
} else if (it1! = code_keywords. end ())
{(text
* style + + = 'G'; + +; -; + +;
} -; + +; = 1;;
}
}
}
} else if (current == 'C' && strncmp (text, "* /",
) == 0) {
// Close a C comment.
* style + + = current;
* style + + = current; + +; -; = 'A'; + = 2;;
} else if (current == 'D') {
// Continuing in string. (strncmp (text, " " ",
) == 0) {
// Quoted end quote.
* style + + = current;
* style + + = current; + +; -; + = 2;;
} else if (* text == ' "') {
// End quote.
* style + + = current; + +; = 'A';;
}
}
// Copy style info. (current == 'A' && (* text == '{' | | * text == '}')) * style + + = 'G' ; * style + + = current; + +; = isalnum ((* text) & 255) | | * text == '_' | | * text == '. '; (* Text ==' n ') {
// Reset column and possibly reset the style = 0; (current == 'B' | | current == 'E') current = 'A';
}
}
}
//
// 'style_init ()' - Initialize the style buffer.
// _init (void) {* style = new char [textbuf-> length () + 1]; * text = textbuf-> text (); (style, 'A', textbuf-> length ()); [textbuf-> length ()] = ' 0'; (! stylebuf...