diff options
author | Itamar <itamar8910@gmail.com> | 2021-01-23 16:55:19 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-27 21:10:57 +0100 |
commit | fa18010477821f114953015677daa789580a4683 (patch) | |
tree | 8449129a0a08038cb261284e5754e0d0673dc070 /Userland/Libraries/LibGUI | |
parent | 8ed96eb27c332bd86dafd3da78b362668e00e0b9 (diff) | |
download | serenity-fa18010477821f114953015677daa789580a4683.zip |
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.
Diffstat (limited to 'Userland/Libraries/LibGUI')
-rw-r--r-- | Userland/Libraries/LibGUI/AutocompleteProvider.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/AutocompleteProvider.cpp b/Userland/Libraries/LibGUI/AutocompleteProvider.cpp index 383bead624..d136c17413 100644 --- a/Userland/Libraries/LibGUI/AutocompleteProvider.cpp +++ b/Userland/Libraries/LibGUI/AutocompleteProvider.cpp @@ -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) |