Author Topic: Multi File editing  (Read 75032 times)

Jerramy

  • Guest
Re: Multi File editing
« Reply #75 on: January 29, 2009, 08:47:03 pm »
Sorry to be a nag.  Just wondering if this is something we'll ever see, or should I stop holding my breath?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Multi File editing
« Reply #76 on: January 29, 2009, 08:59:54 pm »
Sorry to be a nag.  Just wondering if this is something we'll ever see, ...

Yes !

We are still testing, it's a major change, and should come with as less problems as possible.

And please don't forget, that all the devs work on C::B in there spare time, so be patient.
« Last Edit: January 29, 2009, 09:05:46 pm by jens »

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Multi File editing
« Reply #77 on: January 29, 2009, 09:06:51 pm »
Sorry to be a nag.  Just wondering if this is something we'll ever see, or should I stop holding my breath?

just suck it up, get the source, apply the patch and run the gcc screen saver.

you can then help out by reporting issues.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Multi File editing
« Reply #78 on: January 29, 2009, 09:45:17 pm »
Sorry to be a nag.  Just wondering if this is something we'll ever see, or should I stop holding my breath?

just suck it up, get the source, apply the patch and run the gcc screen saver.

you can then help out by reporting issues.

If he really wants to test the new branch, it would be better to check out the test-branch, as there have been some fixes since the patch was applied:
Quote
svn co svn://svn.berlios.de/codeblocks/branches/wxfnb_to_wxaui .

But he most likely does not want to do that:
I'm not quite brave enough to try rebuilding the IDE.

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Multi File editing
« Reply #79 on: January 30, 2009, 03:05:05 am »
But he most likely does not want to do that:
I'm not quite brave enough to try rebuilding the IDE.

Sorry, I wasn't trying to be mean. Compiling the source isn't as scary as it sounds. We'll be happy to help if you have any issues.


Offline lexis

  • Multiple posting newcomer
  • *
  • Posts: 36
Re: Multi File editing
« Reply #80 on: February 19, 2009, 10:41:23 pm »
Hi everybody

I tried to build wxfnb_to_wxaui branch from SVN. And i get 0xC0000005 (Access violation) error when attempting to start CB :-(
Now I've updated to latest 5460 revision but get the same result... Can anybody get me some advance?

upd: WinXP, WxWidgets 2.8.9 (unicode, monolithic, bla..bla), MinGW 3.4.5
« Last Edit: February 19, 2009, 10:44:07 pm by lexis »

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Multi File editing
« Reply #81 on: February 19, 2009, 10:45:44 pm »
did you run the update script?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Multi File editing
« Reply #82 on: February 20, 2009, 07:01:31 am »
And i get 0xC0000005 (Access violation) error when attempting to start CB :-(
Do not install the wxaui branch above an (old) version of C::B (i.e. really remove the old C::B binaries completely).
Do a clean checkout of the branch (i.e. really remove the old SVN tree).
(as dmoore said:) Don't forget to run the update script.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline lexis

  • Multiple posting newcomer
  • *
  • Posts: 36
Re: Multi File editing
« Reply #83 on: February 21, 2009, 12:15:08 pm »
thanks for suggestions.

Now when i've built CB successfully it seems that problem was in --disable-compat26 parameter for configure... It is not needed and causes CB access violation at start.

May be this info will be helpful for somebody else...

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Multi File editing
« Reply #84 on: May 20, 2009, 12:00:07 am »
OK, I've decided to do some testing on the branch.

Status so far:

1. Compiled cleanly, on my gentoo amd64 unstable box (using modified ebuild found in the gentoo forum) :-P
2. Ctrl + tab doesn't wrap:
    - I have 3 opened files,  the first is active at the start.
    - hit ctrl + tab and the second is activated
    - hit ctrl + tab and the third is activated
    - hit ctrl + tab and the first should be activated, but it is not

Best regards,
Teodor

p.s. sorry if this is a know issue, I've not read the whole thread
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Multi File editing
« Reply #85 on: May 20, 2009, 08:40:07 am »
p.s. sorry if this is a know issue, I've not read the whole thread
It is a known issue but not reported in this thread. ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Multi File editing
« Reply #86 on: June 25, 2009, 12:38:14 am »
p.s. sorry if this is a know issue, I've not read the whole thread
It is a known issue but not reported in this thread. ;-)

I attach a patch that can fix the problem.
It uses a class (cbAuiNotebook) derived from wxAuiNotebook, to make it possible to override the AdvanceSelection()- and partly override the OnNavigationKey()-function to be sure the new AdvanceSelection() is used.

The patch fixes the wrapping issue and makes it possible to navigate through the tabs in the order they appear (even after dragging them to another place).
If a notebokk is plit by the user navigating walks only throught the current tab-container and does no longer jump to the containers created by splitting the notebook.

The patch fixes all places where wxAuiNotebook is used.

I also committed it to the wxWidgets patch-tracker (exactly I updated an existing tickket): http://trac.wxwidgets.org/ticket/10848.

Please have a look at it.

I do not see any other possibility to fix the wrapping (not so important in my eyes) and tab-order issue.

EDIT:

If the patch is used cbauibooh.cpp and cbauibook.h have to be added to the sdk target in C::B's project-file(s) and to the appropriate Makefile.am's
updated the patch:
cbauibook.cpp and cbauibook.h are now only missing from windows cbp-file, but I found an real annoying issue: it does not work (correctly) for infopane, after tabs have been moved. I will try to find out what happens there later.

[attachment deleted by admin]
« Last Edit: June 25, 2009, 07:52:41 am by jens »