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

Method GetExpanded

scintilla/lexlib/PropSetSimple.cxx:144–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144int PropSetSimple::GetExpanded(const char *key, char *result) const {
145 std::string val = Get(key);
146 ExpandAllInPlace(*this, val, 100, VarChain(key));
147 const int n = static_cast<int>(val.size());
148 if (result) {
149 strcpy(result, val.c_str());
150 }
151 return n; // Not including NUL
152}
153
154int PropSetSimple::GetInt(const char *key, int defaultValue) const {
155 std::string val = Get(key);

Callers

nothing calls this directly

Calls 3

ExpandAllInPlaceFunction · 0.85
VarChainClass · 0.85
sizeMethod · 0.80

Tested by

no test coverage detected