You don't even have to select text - if at the beginning of the line you hit CTRL+ / then it will toggle the current line commented or not, and drop to the next line, so if you stay on the key it repeats as many lines as you want. Yes I only found this one a few weeks ago too.
-You can move from one method to the next one (or the previous one) using the key combination Ctrl+Alt+Down Arrow and Ctrl+Alt+Up Arrow. Ctrl+Alt+Home and Ctrl+Alt+End bring you to the first and last method. This is called Ctrl+Alt+Class Navigation. You can also restrict moving within the current class by activating the Class Lock, press Ctrl+Q and than L (keeping Ctrl pressed). Code completion: for or case loop press tab eg case borderstyle in [TAB] brings list of relevant values I recommend this short video - Steve Trefethen from Delphi R & D shows all sorts of wonderful tips in just about 5 minutes. http://www.stevetrefethen.com/files/codecompletion.html The registry Key he describes is: My Computer\HKEY_CURRENT_USER\Software\Borland\BDS\4.0\Code Insight Right Click, add new Regstry key Sync Edit Params (string) and set it to 1 I too would love a document or central place where all this stuff was described!!!! Please can someone put all this on a web page or help topic!!! For BDS 2006: For list of IDE Key mappings ms-help://borland.bds4/bds4ref/html/KeyMappingsDefault.htm John -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Sent: Friday, 30 March 2007 10:07 a.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Delphi 4 PHP shhhhhh someone else already pointed out my stupidity. :-/ On a side note, at the conference we saw you select a block of code and then hit Ctrl-Slash to make it all commented, and half the room went ohhhhh. Got any other nifty shoutcuts you want to share, know the indenting of blocks of code. What else you got up your sleeve ;-) Nick Richard Vowles wrote: > Nick wrote: >> :-) >> I installed it last night as well. Didn't get any errors. But also >> couldn't find any examples / demos, also couldn't find any yet on the >> internet. Some of the component's I played with had minor errors (ie, >> pop out calender would draw behind a list instead of over the top) to >> mention a few things. The help was also lacking a bit as well. >> >> Think im going to wait till version 2, when little niggles have been >> ironed out and there is a larger component base to work from. >> > > The samples are in the VCL directory. > > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Delphi mailing list > [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi > _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi __________ NOD32 1.1461 (20060329) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
