Navigating the code

  • Thread starter Thread starter glenn
  • Start date Start date
G

glenn

Can anyone tell me if there is a quick way to move around in the code to do
this?

1) I am in a function block and want to jump to the top of that section of
code without having to pick the mouse up, move to the scroll bar and scroll
up all the while looking very closely to make sure I don't leave the current
block.

To clarify: If I had the following code:

if ( mycode == yourcode )
{ <-- It would move me to here (1)
if ( hiscode == hercode )
{
if (theircode == thatcode )
{

}
}
} <-- if I am here (1)
 
Hi,

Try Ctrl+}
This will cycle between the starting and ending blocks.

HTH,
Rakesh Rajan
 
Back
Top