Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Notebook layout configuration (patch to test)
Jenna:
After this discussion (http://forums.codeblocks.org/index.php/topic,19067.msg130499.html#msg130499) I started to think about this feature again.
And it looks like I found a solution.
I attach a patch that automatically saves the notebook layout in the project and workspace layout files.
Any tests, comments etc are welcome.
EDIT:
Incorrect patch removed, see next post.
new patch in http://forums.codeblocks.org/index.php/topic,19100.msg130737.html#msg130737
EDIT:
actual patch in http://forums.codeblocks.org/index.php/topic,19100.msg133926.html#msg133926
Jenna:
Updated patch attached.
The former one was missing two lines, must have get lost when cleaning the code from debug messages.
Sorry !
The new patch also has tiny wx30 fixes.
You have to remove the old one and apply the new.
EDIT:
Tiny changes in a ew patch in: http://forums.codeblocks.org/index.php/topic,19100.msg130737.html#msg130737
EDIT:
actual patch in http://forums.codeblocks.org/index.php/topic,19100.msg133926.html#msg133926
Jenna:
Another new patch, no real functional change.
But it makes sure the active tab of a control gets restored correctly (Split() always sets it to 0).
EDIT:
new patch with fixes for NOPCH build is attached here.
EDIT:
actual patch in http://forums.codeblocks.org/index.php/topic,19100.msg133926.html#msg133926
oBFusCATed:
Please fix the nopch build, too:
--- Code: ---In file included from cbproject.cpp:46:0:
../../src/include/projectlayoutloader.h: In member function ‘bool ProjectLayoutLoader::LoadNotebookLayout()’:
../../src/include/projectlayoutloader.h:22:91: error: invalid use of incomplete type ‘class cbAuiNotebook’
In file included from ../../src/include/cbproject.h:19:0,
from cbproject.cpp:24:
../../src/include/projectmanager.h:29:7: error: forward declaration of ‘class cbAuiNotebook’
Makefile:961: recipe for target 'cbproject.lo' failed
--- End code ---
Jenna:
--- Quote from: oBFusCATed on March 26, 2014, 10:25:47 am ---Please fix the nopch build, too:
--- End quote ---
This evening, if I'm back from work.
Navigation
[0] Message Index
[#] Next page
Go to full version