mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:17:35 +00:00
LanguageServers: Remove ClientConnection dependency
We now no longer need to provide a ClientConnection object to construct AutoCompleteEngine.
This commit is contained in:
parent
687efe6dd6
commit
c49cf23a86
12 changed files with 24 additions and 29 deletions
|
@ -13,7 +13,7 @@ namespace LanguageServers::Shell {
|
|||
|
||||
class AutoComplete : public AutoCompleteEngine {
|
||||
public:
|
||||
AutoComplete(ClientConnection&, const FileDB& filedb);
|
||||
AutoComplete(const FileDB& filedb);
|
||||
virtual Vector<GUI::AutocompleteProvider::Entry> get_suggestions(const String& file, const GUI::TextPosition& position) override;
|
||||
virtual void on_edit(const String& file) override;
|
||||
virtual void file_opened([[maybe_unused]] const String& file) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue