Author Topic: Back/Forward operation in editor or debugger  (Read 6262 times)

Offline eddyq

  • Multiple posting newcomer
  • *
  • Posts: 56
Back/Forward operation in editor or debugger
« on: April 05, 2013, 04:17:23 pm »
Is there a "back" and "forward" operation or for the editor? By that I mean a way to allow me to move to the previous point where I navigated away (for example, I right click on a name and select "Find Declaration" (while in the editor) or I'm in the debugger and I navigate away from the current line of execution (return to the current point of execution).

Eddy

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Back/Forward operation in editor or debugger
« Reply #1 on: April 05, 2013, 06:00:39 pm »
There are bookmarks (see menu "Edit" -> "Bookmarks") and a bookmarks plugin that extends these functionalities even more.
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 eddyq

  • Multiple posting newcomer
  • *
  • Posts: 56
Re: Back/Forward operation in editor or debugger
« Reply #2 on: April 22, 2013, 07:55:51 pm »
I assume BrowseTracker is what I need. So I clicked on Plugins and BroseTracker does not show up. Then I selected Manager Plugins and I see BrowseTracker and it has "yes" under "Enabled" ... so I assume it is enabled.

But it doesn't seem to function as advertised. For example, if I navigate to the declaration of a function then use alt/left it does not go back to the point where I started. Then I tried alt/up and that moves the current line up one line. So even though it says it is enabled I don't think it really is.

Does anyone have any suggestions?

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Back/Forward operation in editor or debugger
« Reply #3 on: April 23, 2013, 12:38:49 pm »
You have to assign the keys you want to use with the KeyBinder plugin.

Settings/Editor/KeyBoard Shortcuts
« Last Edit: April 23, 2013, 12:42:46 pm by Pecan »

Offline eddyq

  • Multiple posting newcomer
  • *
  • Posts: 56
Re: Back/Forward operation in editor or debugger
« Reply #4 on: April 23, 2013, 02:12:25 pm »
BrowseTracker is not listed under Settings/Editor/KeyBoard Shortcuts/Plugins ... I think my problem is that I don't understand how to enable BrowseTracker.

(it says it is enabled under Manage Plugins)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Back/Forward operation in editor or debugger
« Reply #5 on: April 24, 2013, 01:17:42 pm »
MainMenu/Settings/Editor/Keyboard ShortCuts

Then expand View/Browse Tracker


Offline eddyq

  • Multiple posting newcomer
  • *
  • Posts: 56
Re: Back/Forward operation in editor or debugger
« Reply #6 on: April 24, 2013, 02:25:40 pm »
I already tried that and it lists alt/left and alt/right for Backward Ed and Forward Ed. But when I use those keys I get a list of files ... it does not go to the previous edit.