| 1538 | } |
| 1539 | |
| 1540 | bool 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 | |
| 1549 | Uint32 UICodeEditor::onMouseDown( const Vector2i& position, const Uint32& flags ) { |
| 1550 | mLastActivity.restart(); |
nothing calls this directly
no test coverage detected