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

Function IsEOL

scintilla/lexers/LexModula.cxx:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82static inline bool IsEOL( Accessor &styler, unsigned curPos ) {
83 unsigned ch = styler.SafeGetCharAt( curPos );
84 if( ( ch == '\r' && styler.SafeGetCharAt( curPos + 1 ) == '\n' ) ||
85 ( ch == '\n' ) ) {
86 return true;
87 }
88 return false;
89}
90
91static inline bool checkStatement(
92 Accessor &styler,

Callers 1

FoldModulaDocFunction · 0.70

Calls 1

SafeGetCharAtMethod · 0.80

Tested by

no test coverage detected