mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Terminal status bar now is a Tab Widget and can create any number of terminals.
Fix a bug when initializing the LSP that provoked to not correctly send the initial commands. Added `expand-text` to UIPushButton. Added `setAcceptsDropOfWidgetFn` to externally control which widgets are accepted as droppable in UITabWidget. Improved draw invalidation in UIStackWidget.
This commit is contained in:
@@ -1264,16 +1264,6 @@ void LSPClientServer::initialize() {
|
||||
didChangeConfiguration( mLSP.settings, mWorkspaceFolder.getFSPath(), true );
|
||||
|
||||
sendQueuedMessagesAsync();
|
||||
notifyServerInitialized();
|
||||
|
||||
// Broadcast the language capabilities to all the interested plugins
|
||||
mManager->getPluginManager()->sendBroadcast(
|
||||
mManager->getPlugin(), PluginMessageType::LanguageServerCapabilities,
|
||||
PluginMessageFormat::LanguageServerCapabilities, &mCapabilities );
|
||||
|
||||
mManager->getPluginManager()->sendBroadcast(
|
||||
nullptr, PluginMessageType::LanguageServerReady,
|
||||
PluginMessageFormat::LSPClientServer, this );
|
||||
},
|
||||
[]( const IdType&, const json& ) {} );
|
||||
}
|
||||
@@ -2298,6 +2288,17 @@ void LSPClientServer::sendQueuedMessagesAsync() {
|
||||
mWritingStdIn--;
|
||||
}
|
||||
mQueuedMessages.clear();
|
||||
|
||||
notifyServerInitialized();
|
||||
|
||||
// Broadcast the language capabilities to all the interested plugins
|
||||
mManager->getPluginManager()->sendBroadcast(
|
||||
mManager->getPlugin(), PluginMessageType::LanguageServerCapabilities,
|
||||
PluginMessageFormat::LanguageServerCapabilities, &mCapabilities );
|
||||
|
||||
mManager->getPluginManager()->sendBroadcast( nullptr,
|
||||
PluginMessageType::LanguageServerReady,
|
||||
PluginMessageFormat::LSPClientServer, this );
|
||||
} );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user