Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: jinjin12 on September 25, 2011, 08:58:18 pm

Title: split view/pane with different files?
Post by: jinjin12 on September 25, 2011, 08:58:18 pm
ok so in xcode, emacs and etc, i can split the view/pane into two different windows and view two different files on each pane respectively.  however, on codeblocks, when i split the view, i can only view the same file on the other pane.  how can i view another file on the second pane instead of the same one?
Title: Re: split view/pane with different files?
Post by: Jenna on September 25, 2011, 09:19:32 pm
If you have two files open, you can simply click in one of the tabs, drag it to another place (e.g. the right of the editor pane) and drop it there.
Title: Re: split view/pane with different files?
Post by: jinjin12 on September 25, 2011, 09:26:00 pm
i see it works but i am only able to make it split horizontally, eg top and bottom but i can't seem to make it split vertically even though i drag and drop to the left or right side..
Title: Re: split view/pane with different files?
Post by: jinjin12 on September 25, 2011, 09:36:35 pm
nevermind i got it to work, to get it to split vertically, you have to drag the one you want to the left, not to the right
Title: Re: split view/pane with different files?
Post by: Jenna on September 25, 2011, 11:10:18 pm
nevermind i got it to work, to get it to split vertically, you have to drag the one you want to the left, not to the right
Works for me on both sides, but wxWidgets docking system is sometimes a little bit tricky.