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

Function GetForwardWordLowered

scintilla/lexers/LexOScript.cxx:408–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406}
407
408static void GetForwardWordLowered(unsigned int start, Accessor &styler,
409 char *s, unsigned int len) {
410 unsigned int i = 0;
411 while (i < len - 1 && IsAlpha(styler.SafeGetCharAt(start + i))) {
412 s[i] = static_cast<char>(tolower(styler.SafeGetCharAt(start + i)));
413 i++;
414 }
415 s[i] = '\0';
416}
417
418static void UpdatePreprocessorFoldLevel(int &levelCurrent,
419 unsigned int startPos, Accessor &styler) {

Callers 1

Calls 2

SafeGetCharAtMethod · 0.80
IsAlphaFunction · 0.70

Tested by

no test coverage detected