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

Method AddString

scintilla/lexlib/CharacterSet.h:74–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 bset[val] = true;
73 }
74 void AddString(const char *setToAdd) {
75 for (const char *cp=setToAdd; *cp; cp++) {
76 int val = static_cast<unsigned char>(*cp);
77 assert(val >= 0);
78 assert(val < size);
79 bset[val] = true;
80 }
81 }
82 bool Contains(int val) const {
83 assert(val >= 0);
84 if (val < 0) return false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected