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
 
You have made my night. Thanks!!!

cybercrypt


Rakesh Rajan said:
Hi,

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

HTH,
Rakesh Rajan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top