| 1136 | } |
| 1137 | |
| 1138 | void 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 | |
| 1146 | void UICodeEditor::drawLockedIcon( const Vector2f start ) { |
| 1147 | if ( mFileLockIcon == nullptr && !mFileLockIconName.empty() ) |
nothing calls this directly
no test coverage detected