MCPcopy Create free account
hub / github.com/cxasm/notepad-- / IsCommentStyle

Method IsCommentStyle

src/qscint/scintilla/lexers/LexSQL.cpp:360–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358 }
359
360 bool IsCommentStyle (int style) {
361 switch (style) {
362 case SCE_SQL_COMMENT :
363 case SCE_SQL_COMMENTDOC :
364 case SCE_SQL_COMMENTLINE :
365 case SCE_SQL_COMMENTLINEDOC :
366 case SCE_SQL_COMMENTDOCKEYWORD :
367 case SCE_SQL_COMMENTDOCKEYWORDERROR :
368 return true;
369 default :
370 return false;
371 }
372 }
373
374 bool IsCommentLine (Sci_Position line, LexAccessor &styler) {
375 Sci_Position pos = styler.LineStart(line);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected