mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:37:46 +00:00
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:
parent
8ed96eb27c
commit
fa18010477
14 changed files with 70 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue