Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Joerg on March 04, 2008, 09:55:32 am

Title: how to browse inside one file
Post by: Joerg on March 04, 2008, 09:55:32 am
Hi,

with the browse tracker plugin I can easily browse through files.
But how to browse through one file?
e.g. I'm reading a function at the end of the file using a macro
defined at top of the file.
When I use right click/ find decaration I can easily go to the
definition of the macro.
But how to get back to the point where I was before?
Is there an option, or is it something to improve the Browse Tracker plugin.
Greets,Joerg
Title: Re: how to browse inside one file
Post by: mariocup on March 04, 2008, 10:41:00 am
Hi rekisum,

if you want to navigate within a file, then you have to set the browse markers while holding the left mouse button for e.g. 200ms (see Browse Tracker settings). Now you can navigate with Alt+Up/Down through your markers. The markers will be browsed in the order you set them. Optionally you can sort markers by line numbers.

bye,

Mario
Title: Re: how to browse inside one file
Post by: dje on March 04, 2008, 12:15:06 pm
Hi !

You may use the wonderful "Go to function" feature (Ctrl+Alt+G).

Dje
Title: Re: how to browse inside one file
Post by: Joerg on March 04, 2008, 05:04:17 pm
Ok, it's not exactly what I wanted, but can get used to it i think.
BTW is there a 'goto matching bracket' hidden somewhere?
Regards,
Joerg
Title: Re: how to browse inside one file
Post by: mandrav on March 04, 2008, 05:30:13 pm
Ok, it's not exactly what I wanted, but can get used to it i think.
BTW is there a 'goto matching bracket' hidden somewhere?
Regards,
Joerg

Ctrl+Shift+B