Show: Object Pascal C++
Display Preferences

Using Bookmarks

From Appmethod Topics
Jump to: navigation, search

Go Up to How To Edit Code in the Code Editor


You can mark a location in your code with a bookmark and jump directly to it from anywhere in the file. You can set up to ten bookmarks. Bookmarks are preserved when you save the file and available when you reopen the file in the Code Editor.

To set a bookmark:

  1. In the Code Editor, right-click the line of code where you want to set a bookmark. The Code Editor context menu is displayed.
  2. Choose Toggle Bookmarks > Bookmark n, where n is a bookmark number, from 0 to 9.
A bookmark icon is displayed in the left gutter of the Code Editor. For example, Bookmark icon is bookmark #1, while Bookmark icon is bookmark #9.
Tip: To set a bookmark using the shortcut keys, press Ctrl+Shift and a number from 0 to 9.

To jump to a bookmark:

  1. In the Code Editor, right-click to display the context menu.
  2. Choose GoTo Bookmarks > Bookmark n, where n is a number from 0 to 9.
Tip: To jump to a bookmark using the shortcut keys, press Ctrl and the number of the bookmark. For example, Ctrl+1 will jump you to the line of code set at bookmark 1.

To remove a bookmark:

  1. In the Code Editor, right-click to display the context menu.
  2. Choose Toggle Bookmarks > Bookmark n, where n is the number of the bookmark you want to remove.
The bookmark icon is removed from the left gutter of the Code Editor.
Tip: To remove all bookmarks from a file, choose Clear Bookmarks.
Personal tools
In other languages