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

Function init_menu_ids

src/plugin/Plugin.cpp:627–636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

625}
626
627void init_menu_ids() {
628 bool res = npp->is_allocate_cmdid_supported();
629
630 if (res) {
631 set_use_allocated_ids(true);
632 auto id = npp->allocate_cmdid(requested_menu_count);
633 set_context_menu_id_start(id);
634 set_langs_menu_id_start(id + 103);
635 }
636}
637
638// ReSharper disable CppInconsistentNaming
639extern "C" __declspec(dllexport) void setInfo(NppData notpadPlusData) {

Callers 1

setInfoFunction · 0.85

Calls 5

set_use_allocated_idsFunction · 0.85
set_langs_menu_id_startFunction · 0.85
allocate_cmdidMethod · 0.80

Tested by

no test coverage detected