To edit a document elsewhere and then return to your current location, add a bookmark. The Bookmarks window maintains a list of the bookmarks set in source files — see Bookmarks window.

To place a bookmark:
  1. Move the insertion point to the line you wish to bookmark.
  2. Choose Edit > Bookmarks > Toggle Bookmark.

A bookmark symbol appears next to the line in the indicator margin to show the bookmark is set.

To place a bookmark using the mouse:
  1. Right-click the margin gutter where the bookmark should be set.
  2. Choose Toggle Bookmark.

The default color to use for new bookmarks is configured in the Bookmarks window. You can choose a specific color for the bookmark as follows:

  1. Press and hold the Alt key.
  2. Click the margin gutter where the bookmark should be set.
  3. From the palette, click the bookmark color to use for the bookmark.
To navigate forward through bookmarks:
  1. Choose Edit > Bookmarks > Next Bookmark In Document.
  2. The editor moves the insertion point to the next bookmark in the document.

If there is no following bookmark, the insertion point moves to the first bookmark in the document.

To navigate backward through bookmarks:
  1. Choose Edit > Bookmarks > Previous Bookmark In Document.
  2. The editor moves the insertion point to the previous bookmark in the document.

If there is no previous bookmark, the insertion point moves to the last bookmark in the document.

To remove a bookmark:
  1. Move the insertion point to the line containing the bookmark.
  2. Choose Edit > Bookmarks > Toggle Bookmark.

The bookmark symbol disappears, indicating the bookmark is no longer set.

To remove all bookmarks in a document:

Quick reference for bookmark operations

Keystroke Menu Description
BookmarkToggle Edit > Bookmarks > Toggle Bookmark Toggle a bookmark at the insertion point.
BookmarkClear Clear the bookmark at the insertion point.
BookmarkNextInDocument Edit > Bookmarks > Next Bookmark In Document Move the insertion point to next bookmark in the document.
BookmarkPrevInDocument Edit > Bookmarks > Previous Bookmark In Document Move the insertion point to previous bookmark in the document.
BookmarkFirstInDocument Edit > Bookmarks > First Bookmark In Document Move the insertion point to the first bookmark in the document.
BookmarkLastInDocument Edit > Bookmarks > Last Bookmark In Document Move the insertion point to the last bookmark in the document.
BookmarkClearAllInDocument Edit > Bookmarks > Clear Bookmarks In Document Clear all bookmarks in the document.
BookmarkNext Edit > Bookmarks > Next Bookmark Move the insertion point to the next bookmark in the Bookmarks list.
BookmarkPrev Edit > Bookmarks > Previous Bookmark Move the insertion point to the previous bookmark in the Bookmarks list.
BookmarkFirst Edit > Bookmarks > First Bookmark Move the insertion point to the first bookmark in the Bookmarks list.
BookmarkLast Edit > Bookmarks > Last Bookmark Move the insertion point to the last bookmark in the Bookmarks list.
BookmarkClearAll Edit > Bookmarks > Clear All Bookmarks Clear all bookmarks in all documents.