mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 18:46:29 +03:00
Fix crash on UITabWidget.
Improve LSP tooltip. Remove warnings.
This commit is contained in:
@@ -1513,6 +1513,11 @@ bool LSPClientPlugin::onMouseMove( UICodeEditor* editor, const Vector2i& positio
|
||||
if ( editorExists( editor ) && !resp.contents.empty() &&
|
||||
!resp.contents[0].value.empty() ) {
|
||||
editor->runOnMainThread( [editor, resp, position, this]() {
|
||||
if ( !editor->getScreenRect().contains( editor->getUISceneNode()
|
||||
->getWindow()
|
||||
->getInput()
|
||||
->getMousePosf() ) )
|
||||
return;
|
||||
tryDisplayTooltip( editor, resp, position );
|
||||
} );
|
||||
}
|
||||
@@ -1544,7 +1549,7 @@ void LSPClientPlugin::setHoverDelay( const Time& hoverDelay ) {
|
||||
mHoverDelay = hoverDelay;
|
||||
}
|
||||
|
||||
void LSPClientPlugin::onVersionUpgrade( Uint32 oldVersion, Uint32 currentVersion ) {
|
||||
void LSPClientPlugin::onVersionUpgrade( Uint32 oldVersion, Uint32 ) {
|
||||
if ( oldVersion <= ECODE_VERSIONNUM( 0, 5, 0 ) ) {
|
||||
mSemanticHighlighting = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user