|
|
Home » U++ TheIDE » U++ TheIDE: CodeEditor, Assist++, Topic++ » Proposal about editor tabs
|
Re: Proposal about editor tabs [message #19931 is a reply to message #19929] |
Tue, 03 February 2009 14:27   |
|
The idea with this grouping is very interesting. I was also thinking about something similar. But first I have to finish merging docking package with ide (I'm quite close to finish this, however my commercial projects steal my time over and over agein). But then I would like to improve quick tabs. If someone has other ideas please write about them.
|
|
|
|
|
|
|
|
|
|
|
Re: Proposal about editor tabs [message #19998 is a reply to message #19943] |
Sun, 08 February 2009 18:59   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
mrjt wrote on Wed, 04 February 2009 09:44 | I've added tab stacking to the TabBar class now:
|
In which way tab stacking is better than nested tabs? Nested tabs seem to be a natural representation of hierarchy.
Regards,
Novo
|
|
|
|
Re: Proposal about editor tabs [message #20024 is a reply to message #19999] |
Wed, 11 February 2009 05:20   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
mrjt wrote on Sun, 08 February 2009 13:35 |
I'm not sure I understand the question.
|
Stacking is just another way of grouping files if I understand it correctly. IMHO, nested tabs is a more natural way of grouping. You just see what is inside of a group. No need to decode content of a tab name. You can group open files by package names instead of just names.
Just my two cents.
Regards,
Novo
|
|
|
Re: Proposal about editor tabs [message #20028 is a reply to message #20024] |
Wed, 11 February 2009 09:36   |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
Novo wrote on Wed, 11 February 2009 04:20 | Stacking is just another way of grouping files if I understand it correctly. IMHO, nested tabs is a more natural way of grouping. You just see what is inside of a group. No need to decode content of a tab name. You can group open files by package names instead of just names.
|
Well, what I was trying to say was that it is not a choice between the two. You could have nested tabs for the package groups, and then a seperate option for stacking files by name within the groups. The criteria used for stacking files can be different to that used for grouping them.
[Updated on: Wed, 11 February 2009 09:37] Report message to a moderator
|
|
|
|
Re: Proposal about editor tabs [message #20074 is a reply to message #20029] |
Mon, 16 February 2009 11:19   |
Mindtraveller
Messages: 917 Registered: August 2007 Location: Russia, Moscow rgn.
|
Experienced Contributor |

|
|
Also, I`d like to propose an option to group tabs by their package separator group without using additional space. We could do 2 things:
1) sort tabs by separator group
2) use slightly different color for tab of i-th group (something like this:
group 0: SColorFace()
group 1: SColorFace()+"slighly red"(30,0,0)
group 2: SColorFace()+"slighly yellow"(15,15,0)
group 3: SColorFace()+"slighly green"(0,30,0)
group 3: SColorFace()+"slighly blue"(0,0,30)
...
P.S. If I understand correctly what you mean by "nested tabs" (something like AAA.cpp/.h/.lay within tab caption) and you don`t like that it uses more space than original tab, I want to say that it is not necessary to draw all the options inside tab caption. We may just leave caption as-is but do switch on clicking active tab. Or we may draw something informative when mouse pointer is over active tab caption to inform user that he may click it to switch. From usability point of view there`s no sense in drawing many .cpp/.h pairs within all open tabs. User needs this information only for opened tab, so we may draw .cpp/.h options only for active tab. We may draw it this way:
AAA.cpp - when it could be switched to some other file (there must also be shortcut for switching by keyboard)
or AAA.cpp - when there`s nothing to switch to.
[Updated on: Mon, 16 February 2009 11:46] Report message to a moderator
|
|
|
|
|
Re: Proposal about editor tabs [message #20104 is a reply to message #20096] |
Tue, 17 February 2009 19:21  |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
That is indeed very pretty!
I'll have a think about how it could be done. The issue isn't so much violating the the OS theme, more that it's not possible to use <i>any</i> of the OS theme with colouring (since the theme includes bits you would not want coloured and theres no way of differentiating).
Something could be done with styles though.
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:02:19 CEST 2025
Total time taken to generate the page: 0.03070 seconds
|
|
|