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

Method updateIMELocation

src/eepp/ui/uicodeeditor.cpp:1138–1144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1136}
1137
1138void UICodeEditor::updateIMELocation() {
1139 if ( mDoc->isLoading() || mDoc->getActiveClient() != this || !Engine::isMainThread() ||
1140 mDocView.isFolded( mDoc->getSelection( true ).start().line() ) )
1141 return;
1142 Rectf r( getScreenPosition( mDoc->getSelection( true ).start() ) );
1143 getUISceneNode()->getWindow()->getIME().setLocation( r.asInt() );
1144}
1145
1146void UICodeEditor::drawLockedIcon( const Vector2f start ) {
1147 if ( mFileLockIcon == nullptr && !mFileLockIconName.empty() )

Callers

nothing calls this directly

Calls 8

getActiveClientMethod · 0.80
isFoldedMethod · 0.80
setLocationMethod · 0.80
isLoadingMethod · 0.45
startMethod · 0.45
getSelectionMethod · 0.45
getWindowMethod · 0.45
asIntMethod · 0.45

Tested by

no test coverage detected