Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Free the Editors

<< < (6/9) > >>

mandrav:
By coincidence, I was checking out AuiNotebook in 2.8 just earlier.
It does all wxFNB does and even some things more. Of course, to be used in the context of C::B I 'd have to test it extensively but seems like it 'd be doable.

The only thing that wxFNB does which AUI does not, is that with AUI the tabs are always at the top of the notebook while wxFNB allows you to put them at the bottom. I don't know how crucial this is for people, I 'm just mentioning it.

And, of course, to use AUI we 'd need to jump to 2.8 and drop 2.6. I have no problem with that but it remains to be seen if the other devs would be ok with such a move.

Biplab:

--- Quote from: mandrav on July 03, 2007, 12:49:25 pm ---And, of course, to use AUI we 'd need to jump to 2.8 and drop 2.6. I have no problem with that but it remains to be seen if the other devs would be ok with such a move.

--- End quote ---

I've no problem with such move. Most (I think all) of the wx-2.8 related issues are resolved now. :)

Already wxSmith is compilable with wx-2.8 only, as posted by Lieven (http://forums.codeblocks.org/index.php/topic,6339.0.html). So wx-2.6 port remains broken after certain rev of wxSmith.

Only problem is some of the Linux distros are still lacking wx-2.8 package which could be a problem for us if we switch to wx-2.8 completely.  :)

David Perfors:
Not only Linux distros have this problem, BSD's only have 2.6 packages and ports. (I think all of the BSD's, but FreeBSD could be an exception...)
But it is fine with me to move toward 2.8. We can look for a solution to move the tabs (feature request?) ;)

dmoore:

--- Quote ---What I would love to see, too, would be to have some control (no matter which) own editors and that's it. The application should not know whether an editor is shown in a tab or in a tear-off window. Why should it know, anyway?

--- End quote ---

Yes, this is the simplest approach and what I tried to achieve with the TearawayNotebook. The only stuff outside of the notebook at the moment is the context menu (and that's becase of the way wxFlatNotebook handles menus). However, if you want state information about window positions to be stored persistently the application is going to have to know at least something about state of the windows, no?

As a user I have no objections to the switch, although i'm not sure that wxAUINotebook will give you all that much more than the latest version of wxFlatNotebook for free?


--- Quote ---Also, remember how much code was necessary (and how many problems occurred and had to be fixed) to implement split-view editors. Would it not be nice if the application just created two editors, told the AUI window manager to stack them, and then told one window to forward events to the other? No keeping track of anything, you would not even know that you have split view enabled. Or what about having 4 or 5 views of the same file open? Even that should be possible without a lot of hassle.
OK, to be honest I could not imagine having 5 views of the same file open, but I don't use split view anyway (confuses me big time). Still, would it not be cool if it just worked?

--- End quote ---

all nice :) but I don't see how you could avoid writing a bunch of new code to get it  :lol:

RJP Computing:
I would just like to say that I really like mixing where the tabs are located. (i.e. top/bottom) The new version of wxFlatNotebook is really good and comes with a configuration dialog now and even more styles. I vote for sticking with wxFlatNotebook.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version