MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / update_cached_values

Method update_cached_values

src/plugin/Settings.cpp:149–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void Settings::update_cached_values() {
150 data.processed_delimiters = L" \n\r\t\v" + parse_string(data.delimiters.c_str());
151 try {
152 data.ignore_regexp = std::wregex (data.ignore_regexp_str);
153 }
154 catch (const std::regex_error &error) {
155 data.ignore_regexp = error;
156 }
157}
158
159constexpr auto app_name = L"SpellCheck";
160

Callers

nothing calls this directly

Calls 2

c_strMethod · 0.80
parse_stringFunction · 0.50

Tested by

no test coverage detected