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

Function IsControlCharacter

scintilla/src/Editor.cxx:96–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 state ( false ), idlerID ( 0 ) {}
95
96static inline bool IsControlCharacter ( int ch )
97{
98 // iscntrl returns true for lots of chars > 127 which are displayable
99 return ch >= 0 && ch < ' ';
100}
101
102static inline bool IsAllSpacesOrTabs ( char *s, unsigned int len )
103{

Callers 3

LayoutLineMethod · 0.70
DrawLineMethod · 0.70
DrawCaretsMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected