Only a "{" and a long "------------" is displayed.
void procedure{
}
void procedure
{
}
Lastly, I have a suggestion. I personally keep lots of tabs up most times and the "< >" tab scrolling buttons are difficult to use because i would like to be able to see all my tabs at once. What about an option to have the tabs stack on top of eachother. Similar to how it is done in windows' options dialogs when there are too many tabs to fit. A new row of tabs could just be created below the first.
function(){
}
function()
{
}
ctrl-tab
Sorry coming in late in this thread, but I would like to second on the comment that the (text on the) incative tabs is more or less invisible. Is it technically possible to adjust this?
I had to adjust my windows theme to see them. Could't you provide some kind of ability to NOT use OS colours when you don't want to? Seems to me that now _some_ of the colours are provided by the OS and some are not. I don't have this visibility problem in any other application anyway.Sorry coming in late in this thread, but I would like to second on the comment that the (text on the) incative tabs is more or less invisible. Is it technically possible to adjust this?
"Settings->Environment->Notebooks appearence"
Keep in mind though that the colours used are provided by the OS theme, they are not hardcoded.
Btw, is it possible to remove the relative path from tabs? I have my headers & sources in separate directories, so they take quite alot of useless space.
For examble, my tabs show now:
src\main.cpp | include\main.h
When it could just show the filename.
Other thing I've noticed about tabs is that sometimes there IS space for them all to be shown in one row, but it won't be updated untill I manually click the arrows.
Because I've been struggling with this for months, and I trust too much my in my ability in remembering all the options the first few times I browse through them. My bad, I just assumed it isn't there, because I hadn't found it.QuoteBtw, is it possible to remove the relative path from tabs? I have my headers & sources in separate directories, so they take quite alot of useless space.
For examble, my tabs show now:
src\main.cpp | include\main.h
When it could just show the filename.
Go to "Settings->Editor" and change the last option in "General settings". Why can't you just check the available options first?
Where is the development subject as specified in C::B DEVELOPMENT STRICTLY ??Because there's no board for feature-discussions, they tend to end up on all of them.
What about an option to have the tabs stack on top of eachother. Similar to how it is done in windows' options dialogs when there are too many tabs to fit. A new row of tabs could just be created below the first.Wow, i never thought about this one. What about it?
What about an option to have the tabs stack on top of eachother. Similar to how it is done in windows' options dialogs when there are too many tabs to fit. A new row of tabs could just be created below the first.Wow, i never thought about this one. What about it?
Anyway, enable smart-tabbing in "Settings->Environment->Notebooks appearence". This displays a list of all the open files (by pressing Alt-Tab) and then you can click on a file (or release Alt). It also rotates between open files based on the order you visited them...
Go to "Settings->Editor" and change the last option in "General settings". Why can't you just check the available options first?I wish I'd known about that too. Any chance of making it a Tip of the Day?
This is how it used to be at older times. wxFNB doesn't support this (and I 'm glad it doesn't too).
Anyway, enable smart-tabbing in "Settings->Environment->Notebooks appearence". This displays a list of all the open files ...
wxFNB does support a drop-down list of tabs as a replacement for the navigation arrows. How difficult would it be to make that an option?
wxFNB does support a drop-down list of tabs as a replacement for the navigation arrows. How difficult would it be to make that an option?
Depends on killerbot's mood and free time :).
He 's the one that worked with wxFNB recently so, if he wanted (hint, hint ;)), he could add this feature...
wxFNB does support a drop-down list of tabs as a replacement for the navigation arrows. How difficult would it be to make that an option?
Depends on killerbot's mood and free time :).
He 's the one that worked with wxFNB recently so, if he wanted (hint, hint ;)), he could add this feature...
ok, I will implement this, but the earliest might be this weekend. It will have to be an option since not everyone likes it like that !!!
Index: src/src/environmentsettingsdlg.cpp
===================================================================
--- src/src/environmentsettingsdlg.cpp (revision 3309)
+++ src/src/environmentsettingsdlg.cpp (working copy)
@@ -157,6 +157,7 @@
// tab "Notebook"
XRCCTRL(*this, "cmbEditorTabs", wxComboBox)->SetSelection(cfg->ReadInt(_T("/environment/tabs_style"), 0));
XRCCTRL(*this, "chkSmartTabs", wxCheckBox)->SetValue(cfg->ReadBool(_T("/environment/tabs_smart"), 0));
+ XRCCTRL(*this, "chkListTabs", wxCheckBox)->SetValue(cfg->ReadBool(_T("/environment/tabs_list"), 0));
XRCCTRL(*this, "btnFNBorder", wxButton)->SetBackgroundColour(cfg->ReadColour(_T("/environment/gradient_border"), wxColour(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNSHADOW))));
XRCCTRL(*this, "btnFNFrom", wxButton)->SetBackgroundColour(cfg->ReadColour(_T("/environment/gradient_from"), wxColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE))));
XRCCTRL(*this, "btnFNTo", wxButton)->SetBackgroundColour(cfg->ReadColour(_T("/environment/gradient_to"), *wxWHITE));
@@ -382,6 +383,7 @@
// tab "Appearence"
cfg->Write(_T("/environment/tabs_style"), (int)XRCCTRL(*this, "cmbEditorTabs", wxComboBox)->GetSelection());
cfg->Write(_T("/environment/tabs_smart"), (bool)XRCCTRL(*this, "chkSmartTabs", wxCheckBox)->GetValue());
+ cfg->Write(_T("/environment/tabs_list"), (bool)XRCCTRL(*this, "chkListTabs", wxCheckBox)->GetValue());
cfg->Write(_T("/environment/gradient_border"), XRCCTRL(*this, "btnFNBorder", wxButton)->GetBackgroundColour());
cfg->Write(_T("/environment/gradient_from"), XRCCTRL(*this, "btnFNFrom", wxButton)->GetBackgroundColour());
cfg->Write(_T("/environment/gradient_to"), XRCCTRL(*this, "btnFNTo", wxButton)->GetBackgroundColour());
Index: src/src/main.cpp
===================================================================
--- src/src/main.cpp (revision 3309)
+++ src/src/main.cpp (working copy)
@@ -1457,13 +1457,21 @@
nbstyle = 0;
break;
}
+
nbstyle |= defaultStyle;
+
if (cfg->ReadBool(_T("/environment/") + prefix + _T("_tabs_bottom")))
nbstyle |= wxFNB_BOTTOM;
if (cfg->ReadBool(_T("/environment/tabs_smart")))
nbstyle |= wxFNB_SMART_TABS;
+ if (cfg->ReadBool(_T("/environment/tabs_list")))
+ {
+ nbstyle |= wxFNB_DROPDOWN_TABS_LIST;
+ nbstyle |= wxFNB_NO_NAV_BUTTONS;
+ }
+
target->SetWindowStyleFlag(nbstyle);
target->SetGradientColorBorder(cfg->ReadColour(_T("/environment/gradient_border"), wxColour(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNSHADOW))));
target->SetGradientColorFrom(cfg->ReadColour(_T("/environment/gradient_from"), wxColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE))));
Index: src/src/resources/env_settings.xrc
===================================================================
--- src/src/resources/env_settings.xrc (revision 3309)
+++ src/src/resources/env_settings.xrc (working copy)
@@ -439,6 +439,13 @@
<label>Use Smart Tab-switching scheme</label>
</object>
</object>
+ <object class="sizeritem">
+ <border>8</border>
+ <flag>wxALL|wxALIGN_LEFT|wxALIGN_TOP</flag>
+ <object class="wxCheckBox" name="chkListTabs">
+ <label>Use drop-down tab list</label>
+ </object>
+ </object>
</object>
</object>
</object>
@@ -658,4 +665,4 @@
</object>
</object>
</object>
-</resource>
\ No newline at end of file
+</resource>
Now to the screenshots....
Index: renderer.cpp
===================================================================
--- renderer.cpp (revision 3)
+++ renderer.cpp (working copy)
@@ -205,7 +205,7 @@
xbmp.SetMask(new wxMask(xbmp, MASK_COLOR));
// erase old bitmap
int posx = GetDropArrowButtonPos( pc );
- dc.DrawBitmap(m_xBgBmp, posx, 6);
+ dc.DrawBitmap(m_rightBgBmp, posx, 6);
// Draw the new bitmap
dc.DrawBitmap(xbmp, posx, 6, true);
(For those who don't know, Firefox 2 shows a list of the tabs hidden in the respective direction if you right-click an arrow)If
Quote(For those who don't know, Firefox 2 shows a list of the tabs hidden in the respective direction if you right-click an arrow)If
If I understand you correctly, this is doable with wxFNB as well, instead of the <> arrows, you can choose to use a drop down button '\/' which will popup a menu with all hidden tabs.
I am not sure if C::B team as added this as an option, but it does exist.
Where is the development subject as specified in C::B DEVELOPMENT STRICTLY ??
wxFNB does support a drop-down list of tabs as a replacement for the navigation arrows. How difficult would it be to make that an option?
Depends on killerbot's mood and free time :).
He 's the one that worked with wxFNB recently so, if he wanted (hint, hint ;)), he could add this feature...
ok, I will implement this, but the earliest might be this weekend. It will have to be an option since not everyone likes it like that !!!
That sounds fantastic!
Thanks!
:mrgreen:
<snipped>
Yeah, That'd Be awsome!