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

Method CharacterSet

scintilla/lexlib/CharacterSet.h:28–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 setAlphaNum=setAlpha|setDigits
27 };
28 CharacterSet(setBase base=setNone, const char *initialSet="", int size_=0x80, bool valueAfter_=false) {
29 size = size_;
30 valueAfter = valueAfter_;
31 bset = new bool[size];
32 for (int i=0; i < size; i++) {
33 bset[i] = false;
34 }
35 AddString(initialSet);
36 if (base & setLower)
37 AddString("abcdefghijklmnopqrstuvwxyz");
38 if (base & setUpper)
39 AddString("ABCDEFGHIJKLMNOPQRSTUVWXYZ");
40 if (base & setDigits)
41 AddString("0123456789");
42 }
43 CharacterSet(const CharacterSet &other) {
44 size = other.size;
45 valueAfter = other.valueAfter;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected