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

Function on_settings_changed

src/plugin/Plugin.cpp:394–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392HMENU get_langs_sub_menu() { return get_submenu(get_func_item()[action_index[Action::quick_language_change]].cmd_id); }
393
394void on_settings_changed() {
395 npp->set_menu_item_check(get_func_item()[action_index[Action::toggle_auto_spell_check]].cmd_id, settings->data.auto_check_text);
396 npp->set_menu_item_check(get_func_item()[action_index[Action::toggle_debug_logging]].cmd_id, settings->data.write_debug_log);
397}
398
399void init_classes() {
400 INITCOMMONCONTROLSEX icc;

Callers 3

SettingsMethod · 0.85
SpellCheckerMethod · 0.85
SpellerContainerMethod · 0.85

Calls 2

get_func_itemFunction · 0.85
set_menu_item_checkMethod · 0.80

Tested by

no test coverage detected