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

Method tryExecuteMouseBinding

src/eepp/ui/uicodeeditor.cpp:1540–1547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1538}
1539
1540bool UICodeEditor::tryExecuteMouseBinding( const MouseBindings::Shortcut& shortcut ) {
1541 std::string cmd( mMouseBindings.getCommandFromMousebind( shortcut ) );
1542 if ( !cmd.empty() ) {
1543 mDoc->execute( cmd, this );
1544 return true;
1545 }
1546 return false;
1547}
1548
1549Uint32 UICodeEditor::onMouseDown( const Vector2i& position, const Uint32& flags ) {
1550 mLastActivity.restart();

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected