Steve Trefethen
Contact me
About Me View my LinkedIn profile

Powered by discountASP.NET
referal ID: sdtref
Why recommend discountASP.NET?
Need consulting?
Need Consulting?

Spread Thunderbird

Disclaimer

The posts on this weblog are provided AS IS with no warranties, and confer no rights. The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

TestComplete Keyword Testing Online Training

I will be presenting a three day webinar April 12-14th 2010 from 9am-1pm PST on AutomatedQA's TestComplete. The cost is $499/person and you can register on Falafel Software's website here. For detailed information on this training click here.

A Delphi 2006 code navigation feature you may not know about

November 07 2006 4:05PM

BDS 2006 introduced a new code browsing feature in the code editor that I'm willing to bet most people are unaware of called Method Navigation which didn't make it into my previous code completion video. It's the ability quickly jump from one method to the previous/next in the implementation section of a unit. Here is how it works:

  • Place the cursor inside of a method/function/procedure in the implementation section of a unit (preferably something with lots of code)
  • Press Ctrl-Alt-Up Arrow or Ctrl-Alt-Down Arrow to navigate between function bodies

There is one more subtlety here, if you press Ctrl+Q+L you can toggle what's called "Class Lock" meaning the above arrow keys will restrict their navigation to methods of the current class (if any). Anyway, just thought I'd mention another one of those little features that flies just below the radar.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Tags:

Comments

11/7/2006 4:28:38 PM #

Dan Miser

Not bad. You're only 11 months late... Smile

distribucon.com/blog/archive/2005/12/07/835.aspx

Just kidding, man. Keep up the good work exposing little known features!

Dan Miser

11/7/2006 4:56:35 PM #

Steve Trefethen

Dude, are you asking to be removed from my blog roll? Btw, yesterday my site had 1000+ page views how 'bout yours?

Smile

-Steve

Steve Trefethen

11/8/2006 4:47:32 AM #

Olaf

Actually I think I found these shortcuts on Dan's blog last year Wink

But it can't be blogged about often enough - it's amazing to see when I do trainigs how many people don't even know about CTRL-SHIFT-C, CTRL-SHIFT-ARROW and other simple things.

However, I still prefer CTRL-G over CTRL-ALT-ARROW Wink

Regards,
Olaf

Olaf

11/12/2006 12:25:44 AM #

Peter

Steve

would you mind explaining how you went back from the Messages unit where you had arrived at TWMWindowposChanged to the original unit?
(by holding down control and pressing mouse)
You mention left and right arrows, but I do not understand why the arrows would not position the caret one left of right in the messages unit ??

Feel very dumb, sorry

Peter

Peter

11/29/2006 5:16:23 PM #

Steve Trefethen

Hi Peter,
  Sorry for the slow reply. To browse backwards simply press Alt-LeftArrow likewise to browse forward press Alt-RightArrow. The only place where the mouse is involved in code browsing is when you hold the Alt key down and click an identifier.

-Steve

Steve Trefethen

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Spam filtering provided by: Spam Counter
333 comments approved, 1463 spam caught since October 28, 2009
Powered by Commentor