Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NPP-JSONViewer/JSON-Viewer
/ SetShortCut
Method
SetShortCut
src/NppJsonViewer/ShortcutCommand.cpp:26–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
}
25
26
bool ShortcutCommand::SetShortCut(CallBackID id, const ShortcutKey& scKey)
27
{
28
int nIndex = static_cast<int>(id);
29
30
if (m_nCmdCount <= nIndex)
31
return false;
32
33
m_pShortcutKeys[At(id)] = scKey;
34
35
return true;
36
}
Callers
1
InitCommandMenu
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected