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

Function isEmptyLine

scintilla/lexers/LexRuby.cxx:317–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317static bool isEmptyLine(int pos,
318 Accessor &styler) {
319 int spaceFlags = 0;
320 int lineCurrent = styler.GetLine(pos);
321 int indentCurrent = styler.IndentAmount(lineCurrent, &spaceFlags, NULL);
322 return (indentCurrent & SC_FOLDLEVELWHITEFLAG) != 0;
323}
324
325static bool RE_CanFollowKeyword(const char *keyword) {
326 if (!strcmp(keyword, "and")

Callers 1

synchronizeDocStartFunction · 0.85

Calls 2

GetLineMethod · 0.80
IndentAmountMethod · 0.80

Tested by

no test coverage detected