MCPcopy Create free account
hub / github.com/SpartanJ/eepp / replaceKeyBindingString

Method replaceKeyBindingString

src/eepp/ui/uicodeeditor.cpp:2789–2794  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2787}
2788
2789void UICodeEditor::replaceKeyBindingString( const std::string& shortcut, const std::string& command,
2790 const bool& allowLocked ) {
2791 mKeyBindings.replaceKeybindString( shortcut, command );
2792 if ( allowLocked )
2793 mUnlockedCmd.insert( command );
2794}
2795
2796void UICodeEditor::replaceKeyBinding( const KeyBindings::Shortcut& shortcut,
2797 const std::string& command, const bool& allowLocked ) {

Callers

nothing calls this directly

Calls 2

replaceKeybindStringMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected