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

Method add_toolbar_icon

src/npp/NppInterface.cpp:292–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290void NppInterface::move_active_document_to_other_view() { do_command(IDM_VIEW_GOTO_ANOTHER_VIEW); }
291
292void NppInterface::add_toolbar_icon(int cmdId, const toolbarIconsWithDarkMode *toolBarIconsPtr) {
293 send_msg_to_npp(NPPM_ADDTOOLBARICON_FORDARKMODE, static_cast<WPARAM>(cmdId), reinterpret_cast<LPARAM>(toolBarIconsPtr));
294}
295
296std::string NppInterface::selected_text() const {
297 auto sel_buf_size = static_cast<int>(send_msg_to_scintilla(SCI_GETSELTEXT, 0, 0)) + 1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected