Codelite displays the tabs of workspace pane on left, but many IDEs display these tabs on top or bottom.
So, may I suggest adding a check box in setting which lets user change the position?
And change something like this to LiteEditor/workspace_pane.cpp:
Code: Select all
long display_on_bottom(1);
EditorConfigST::Get()->GetLongValue(wxT("display_workspace_tab_on_bottom"), display_on_bottom);
if (display_on_bottom)
m_book = new Notebook(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxVB_BOTTOM|wxVB_TAB_DECORATION);
else
m_book = new Notebook(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxVB_LEFT|wxVB_TAB_DECORATION);
mainSizer->Add(m_book, 1, wxEXPAND | wxALL, 1);