Skip to content

Commit a022255

Browse files
committed
Update Terminal Pane Scan Toolbar
Refine the terminal pane toolbar by moving the Windows-only scan action into the main control group and giving it a clearer tooltip. This keeps the terminal type controls grouped together, preserves the separator layout, and makes the scan action’s purpose more discoverable. Also update the wxTerminalEmulator submodule to a newer revision. * Terminal UI * Submodule dependency **Generated by CodeLite** Signed-off-by: Eran Ifrah <eran@codelite.org>
1 parent a9936b1 commit a022255

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

Plugin/wxTerminalCtrl/clBuiltinTerminalPane.cpp

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,21 @@ clBuiltinTerminalPane::clBuiltinTerminalPane(wxWindow* parent, wxWindowID id)
7575
UpdateTerminalsChoice(false);
7676
m_toolbar->AddControl(m_terminal_types);
7777

78+
#ifdef __WXMSW__
79+
m_toolbar->AddTool(
80+
wxID_REFRESH, _("Scan"), image_list->LoadBitmap("debugger_restart"), _("Re-scan for terminals"), wxITEM_NORMAL);
81+
82+
#endif
83+
84+
m_toolbar->AddSeparator();
85+
7886
// Get list of terminals
7987
m_choice_themes = new wxChoice(m_toolbar, wxID_ANY, wxDefaultPosition, wxSize(FromDIP(200), wxNOT_FOUND));
8088
m_toolbar->AddControl(m_choice_themes);
8189
m_choice_themes->SetToolTip(_("Choose terminal theme"));
8290
m_choice_themes->Bind(wxEVT_CHOICE, &clBuiltinTerminalPane::OnChoiceTheme, this);
8391
UpdateFont();
8492

85-
#ifdef __WXMSW__
86-
m_toolbar->AddTool(
87-
wxID_REFRESH, _("Scan"), image_list->LoadBitmap("debugger_restart"), wxEmptyString, wxITEM_NORMAL);
88-
#endif
89-
9093
m_toolbar->Realize();
9194

9295
m_toolbar->Bind(wxEVT_TOOL, &clBuiltinTerminalPane::OnNew, this, wxID_NEW);

TODO.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,8 @@ Low:
3535
BUGS
3636
----
3737

38-
Application hangs when renaming a symbol & the `MiniMap` editor is loaded...
38+
- Application hangs when renaming a symbol & the `MiniMap` editor is loaded...
39+
- AI: Unable to restart the client once a single "Confirm" bar was shown.
40+
- AI: Replace the "Confirm" dialog with a free text, allowing the user to interrupt the model.
41+
- AI: Extend all the tools with a "Purpose" mandatory field, so each model will be forced to report the reason for the invocation.
42+

0 commit comments

Comments
 (0)