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

Method onKeyUp

src/eepp/ui/uicodeeditor.cpp:1322–1330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1320}
1321
1322Uint32 UICodeEditor::onKeyUp( const KeyEvent& event ) {
1323 mLastActivity.restart();
1324 for ( auto& plugin : mPlugins )
1325 if ( plugin->onKeyUp( this, event ) )
1326 return 1;
1327 if ( mHandShown && !getInput()->isKeyModPressed() )
1328 resetLinkOver( getInput()->getMousePos() );
1329 return UIWidget::onKeyUp( event );
1330}
1331
1332TextPosition UICodeEditor::resolveScreenPosition( const Vector2f& position, bool clamp ) const {
1333 Vector2f localPos( convertToNodeSpace( position ) );

Callers

nothing calls this directly

Calls 3

isKeyModPressedMethod · 0.80
restartMethod · 0.45
getMousePosMethod · 0.45

Tested by

no test coverage detected