HackStudio: Integate with C++ parser-based autocomplete

By default, C++ auto completion will still be performed by the
lexer-based logic.
However, the parser-based logic can be switched on via the menubar.
This commit is contained in:
Itamar 2021-01-23 16:55:19 +02:00 committed by Andreas Kling
commit fa18010477
Notes: sideshowbarker 2024-07-18 22:49:28 +09:00
14 changed files with 70 additions and 11 deletions

View file

@ -109,6 +109,7 @@ AutocompleteBox::AutocompleteBox(TextEditor& editor)
m_suggestion_view = m_popup_window->set_main_widget<GUI::TableView>();
m_suggestion_view->set_column_headers_visible(false);
m_suggestion_view->set_column_width(1, 100);
}
void AutocompleteBox::update_suggestions(Vector<AutocompleteProvider::Entry>&& suggestions)