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

Method WordCharClass

scintilla/src/Document.cxx:1305–1309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1303}
1304
1305CharClassify::cc Document::WordCharClass(unsigned char ch) {
1306 if ((SC_CP_UTF8 == dbcsCodePage) && (!UTF8IsAscii(ch)))
1307 return CharClassify::ccWord;
1308 return charClass.GetClass(ch);
1309}
1310
1311/**
1312 * Used by commmands that want to select whole words.

Callers

nothing calls this directly

Calls 2

UTF8IsAsciiFunction · 0.85
GetClassMethod · 0.80

Tested by

no test coverage detected