mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
HackStudio: Store known symbol declarations in ProjectDeclarations
They were previously stored inside the Locator widget. I moved them to the globally visible ProjectDeclarations class so they can also be used by other widgets.
This commit is contained in:
parent
b87791cada
commit
667926df73
8 changed files with 146 additions and 32 deletions
|
@ -39,7 +39,6 @@ public:
|
|||
|
||||
void open();
|
||||
void close();
|
||||
void set_declared_symbols(const String& filename, const Vector<GUI::AutocompleteProvider::Declaration>&);
|
||||
|
||||
private:
|
||||
void update_suggestions();
|
||||
|
@ -50,7 +49,6 @@ private:
|
|||
RefPtr<GUI::TextBox> m_textbox;
|
||||
RefPtr<GUI::Window> m_popup_window;
|
||||
RefPtr<GUI::TableView> m_suggestion_view;
|
||||
HashMap<String, Vector<GUI::AutocompleteProvider::Declaration>> m_document_to_declarations;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue