Author Topic: Saving pane configurations in projects  (Read 6802 times)

Offline nstamato

  • Single posting newcomer
  • *
  • Posts: 2
Saving pane configurations in projects
« on: March 15, 2014, 11:28:26 pm »
Hi all,

Apologies if the following feature exists and I just haven't figured it out yet, I searched and couldn't find anything related:

While working on a project I usually have multiple files open and split the editor pane in two to be able to have e.g hpp and cpp files open next to each other while editing. I want to be able to close the project and when I re-open it, get back the same view with the files distributed the same way I had them when I saved the project (including the workspace). It doesn't seem to be possible now but please correct me if I'm wrong.

If indeed I haven't missed anything and what I'm describing is not available, I would like to add it. I have the source code checked out and built, does anyone have pointers where the relevant changes should be made? Also, perhaps this can't be added in codeblocks and is an issue with the wxWidgets library?

Any help would be much appreciated.

thanks

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Saving pane configurations in projects
« Reply #1 on: March 15, 2014, 11:32:43 pm »
This is a limitations in wxWidgets aui-library.
It can not be fixed in C::B without rewriting large parts of it.

The wxAui library is under development and currently a complete overhaul of it is discussed.
So this feature (and much more) might be available in the future, but unfortunately not very soon.

Offline nstamato

  • Single posting newcomer
  • *
  • Posts: 2
Re: Saving pane configurations in projects
« Reply #2 on: March 16, 2014, 01:31:45 am »
Thanks for the info. Does that mean that you can't programmatically get or set the pane distribution from inside the codeblocks code?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Saving pane configurations in projects
« Reply #3 on: March 16, 2014, 07:54:55 am »
NEither from inside the Code::Blocks nor the wxWidgets code.
It is simply not implemented in wxWidgets.
And will never be implemented in the actually wxAui code, because it will rewritten in many parts (sooner or later), there is a related discussion on the wxWidgets mailing-list.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Saving pane configurations in projects
« Reply #4 on: March 25, 2014, 12:22:02 am »
I found a solution/workaround for the tab-layout saving: http://forums.codeblocks.org/index.php/topic,19100.msg130703.html#msg130703
Would it be possible for you to compile C::B yourself and test the patch ?

If not, which OS do you use ?