| 1674 | } |
| 1675 | |
| 1676 | void LSPClientPlugin::tryHideTooltip( UICodeEditor* editor, const Vector2i& position ) { |
| 1677 | if ( ( editor->hasDocument() && editor->getDocument().isLoading() ) || |
| 1678 | !mCurrentHover.range.isValid() || |
| 1679 | ( mCurrentHover.range.isValid() && |
| 1680 | !mCurrentHover.range.contains( editor->resolveScreenPosition( position.asFloat() ) ) ) ) |
| 1681 | hideTooltip( editor ); |
| 1682 | } |
| 1683 | |
| 1684 | void LSPClientPlugin::displayTooltip( UICodeEditor* editor, const LSPHover& resp, |
| 1685 | const Vector2f& position ) { |
nothing calls this directly
no test coverage detected