Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bookmarking your code

Status
Not open for further replies.

LucieLastic

Programmer
May 9, 2001
1,694
GB
hi

Could someone tell me the keys for putting bookmarks in your code, then jumping to them - can't remember and can't find them in the Delphi books.

ta
lou
 
Ctrl-K then a digit to set a bookmark;
Ctrl-Q then a digit to jump to it.

Anybody out there in userland that doesn't use bookmarks: learn! Once your code is more than a couple of hundred lines, they are really darn useful for finding your way around your own code. Need to jump away somewhere, to look something up? Set a bookmark before you go; that way, you can jump right back.

-- Doug Burbidge mailto:doug@ultrazone.com
 
- or -

Ctrl + Shift + Digit to set a book mark
Ctrl + Digit to jump to it

Also very usefull:

ctrl + e <then start typing the word you are looking for>

ctrl + r start/stop recording macro
crrl + p play back macro
 
rONIN441 I agree that bookmarks are very useful.

If there any way to save them for next time in the source file?

Tim
SNL Computing
 
Nice, GuidoSan. Thanks.

Tim: I believe not. But if it's a line you'll be coming back to again and again, you can set some comment that will be easy to search for:
Code:
   a := b;  // ZZZ1
, and then next time you open the code you can search for ZZZ1. -- Doug Burbidge mailto:doug@ultrazone.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top