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

Method GetNumWordLists

scintilla/lexlib/LexerModule.cxx:62–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62int LexerModule::GetNumWordLists() const {
63 if (wordListDescriptions == NULL) {
64 return -1;
65 } else {
66 int numWordLists = 0;
67
68 while (wordListDescriptions[numWordLists]) {
69 ++numWordLists;
70 }
71
72 return numWordLists;
73 }
74}
75
76const char *LexerModule::GetWordListDescription(int index) const {
77 assert(index < GetNumWordLists());

Callers 1

LexerSimpleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected