Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: eddyq on April 05, 2013, 04:17:23 pm

Title: Back/Forward operation in editor or debugger
Post by: eddyq 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
Title: Re: Back/Forward operation in editor or debugger
Post by: MortenMacFly 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.
Title: Re: Back/Forward operation in editor or debugger
Post by: eddyq 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?
Title: Re: Back/Forward operation in editor or debugger
Post by: Pecan 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
Title: Re: Back/Forward operation in editor or debugger
Post by: eddyq 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)
Title: Re: Back/Forward operation in editor or debugger
Post by: Pecan on April 24, 2013, 01:17:42 pm
MainMenu/Settings/Editor/Keyboard ShortCuts

Then expand View/Browse Tracker

Title: Re: Back/Forward operation in editor or debugger
Post by: eddyq 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.