MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / IsCssOperator

Function IsCssOperator

scintilla/lexers/LexCSS.cxx:50–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50inline bool IsCssOperator(const int ch) {
51 if (!((ch < 0x80) && isalnum(ch)) &&
52 (ch == '{' || ch == '}' || ch == ':' || ch == ',' || ch == ';' ||
53 ch == '.' || ch == '#' || ch == '!' || ch == '@' ||
54 /* CSS2 */
55 ch == '*' || ch == '>' || ch == '+' || ch == '=' || ch == '~' || ch == '|' ||
56 ch == '[' || ch == ']' || ch == '(' || ch == ')')) {
57 return true;
58 }
59 return false;
60}
61
62// look behind (from start of document to our start position) to determine current nesting level
63inline int NestingLevelLookBehind(unsigned int startPos, Accessor &styler) {

Callers 1

ColouriseCssDocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected