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

Free the Editors

(1/9) > >>

dmoore:
This is probably the last distraction that The Don wants to see so close to a feature freeze :), but in celebration of software freedom and the release of the GPLv3 I thought I'd demonstrate "Editor Freedom" in Code::Blocks. :lol: After some minor hackery, I setup CB to allow a right click on an editor's notebook tab, offering you the freedom to detach it from the restrictive clutches of the wxFlatNotebook.

EDIT: low color image attached. (sorry -- 128kb file size limit was binding and I haven't sorted out external hosting) (Thanks pecan)

(click to see full size)

before anyone explodes in either joy or anger, this is just a proof of concept, and I'm merely posting for entertainment value. So far you can drag and edit in individual windows once detached. I need to sort out (a) reattaching editors to the notebook when you close the window or click on the tab, (b) keeping track of which windows are detached and which editor is active (whichever has the focus) and (c) making sure that dockables get closed properly when you shut down, but this all seems do-able...

[attachment deleted by admin]

Ceniza:
It looks vewy nice :D

Pecan:
Amazing! I'm looking forward to this!

You can also just post your images to
http://www.imageshack.us/index.php
ImageShack® - Hosting

then post the link here. Use the last url ("Direct link to image") from the imageshack page and post them to the forum between <img></img> tokens where <> is actually a [] pair.

Great work Damien

Example:
dmoore's detached/floating/docked CodeBlock editors

dmoore:
done -- thanks for the tip pecan.

thomas:
You did this by replacing wxFNB by wxAUINoteBook (or whatever it is called)?
Looks cool :)

Navigation

[0] Message Index

[#] Next page

Go to full version