Author Topic: Jump to methods similar to CTRL+PGUP/PGDOWN?  (Read 4527 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Jump to methods similar to CTRL+PGUP/PGDOWN?
« 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.
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 MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Jump to methods similar to CTRL+PGUP/PGDOWN?
« Reply #1 on: February 13, 2006, 10:07:18 am »
...still no ideas? So can I assume it's not implemented?
Morten.
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 thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Jump to methods similar to CTRL+PGUP/PGDOWN?
« Reply #2 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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Jump to methods similar to CTRL+PGUP/PGDOWN?
« Reply #3 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.
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 mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Jump to methods similar to CTRL+PGUP/PGDOWN?
« Reply #4 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...
Be patient!
This bug will be fixed soon...

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Jump to methods similar to CTRL+PGUP/PGDOWN?
« Reply #5 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.
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