mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-14 06:52:52 +03:00
More work on the Spell-Checker (SpartanJ/ecode#515).
Spell-Checked a lot of code.
This commit is contained in:
@@ -1328,11 +1328,14 @@ void LSPClientPlugin::codeAction( UICodeEditor* editor ) {
|
||||
if ( resp.isResponse() )
|
||||
diagnostics = std::move( resp.getResponse().data );
|
||||
|
||||
mClientManager.codeAction(
|
||||
bool sent = mClientManager.codeAction(
|
||||
editor->getDocumentRef(), diagnostics,
|
||||
[this, editor]( const LSPClientServer::IdType&, const std::vector<LSPCodeAction>& res ) {
|
||||
createCodeActionsView( editor, res );
|
||||
} );
|
||||
|
||||
if ( !sent )
|
||||
editor->getDocument().execute( "spellchecker-fix-typo", editor );
|
||||
}
|
||||
|
||||
void LSPClientPlugin::renameSymbol( UICodeEditor* editor ) {
|
||||
|
||||
Reference in New Issue
Block a user