Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: MortenMacFly on February 09, 2006, 01:48:47 pm

Title: Jump to methods similar to CTRL+PGUP/PGDOWN?
Post by: MortenMacFly on February 09, 2006, 01:48:47 pm
Dear all,
I had just to work in Visual Studio again (meanwhile really annoying, compared to C::B ;-)) and realised a feature that I am missing in C::B but that would certainly be helpful. Now before I start a feature request I wonder whether this might already be implemented but I'm too dumb to find: In Visual Studio one can jump from on method to the next/previous by using CTRL+PAGEDOWN / CTRL+PAGEUP. Is this possible in C::B, too? If so: How do I do that?
With regards, Morten.
Title: Re: Jump to methods similar to CTRL+PGUP/PGDOWN?
Post by: MortenMacFly on February 13, 2006, 10:07:18 am
...still no ideas? So can I assume it's not implemented?
Morten.
Title: Re: Jump to methods similar to CTRL+PGUP/PGDOWN?
Post by: thomas on February 13, 2006, 10:24:52 am
I assume it is not alltogether easy to implement this. It would have to be done in the code completion plugin, but the event for that would have to be generated from the editor base when you press the respective key combo (otherwise you have to push an event handler which causes a lot of troubles again).

Have a look at the "Goto Function..." menu item. You might do something like find the current function and then jump to the next one in the list.
Title: Re: Jump to methods similar to CTRL+PGUP/PGDOWN?
Post by: MortenMacFly on February 13, 2006, 10:46:49 am
Have a look at the "Goto Function..." menu item. You might do something like find the current function and then jump to the next one in the list.
All right, I'll have a look a this. Furthermore I assume I really should get used to "Search" feature in the manager. I think it's very powerful and has similar (or even better) functionality...
Morten.
Title: Re: Jump to methods similar to CTRL+PGUP/PGDOWN?
Post by: mandrav on February 13, 2006, 10:48:27 am
Morten,

this could be done easily, once I add script hooks in the editor. Wait a few days...
Title: Re: Jump to methods similar to CTRL+PGUP/PGDOWN?
Post by: MortenMacFly on February 13, 2006, 11:12:09 am
this could be done easily, once I add script hooks in the editor. Wait a few days...
...well, sounds good to me. :P
I suspect I understand what you mean by script hooks - sounds even better!!!
Morten.