[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


Using Bookmarks

Bookmarks behave like temporary markers. The IDE does not save bookmarks from one editing session to the next, nor does it display their names in pop-up menus. However, bookmarks behave similarly to markers, and you can use them on a temporary basis.

To manipulate bookmarks, you must use the default key bindings assigned to their respective commands, or assign your own. The Customize IDE Commands window includes the following commands related to bookmarks:

To learn more about assigning key bindings to these commands, see "Customizing Key Bindings".


Adding a bookmark

To add a bookmark, move the text-insertion point to the line of source code that you wish to mark, then press the key binding assigned to the Add bookmark command.

A blue diamond appears on the source-code line that you bookmarked.

See "Navigating bookmarks" for more information about moving among the bookmarks in the active editor window.


Removing a bookmark

You can remove one bookmark at a time, or you can simultaneously remove all bookmarks from the active editor window.

To remove an existing bookmark, move the text-insertion point to the line of source code that contains the bookmark. Press the key binding assigned to the Add bookmark command to remove the bookmark.

To simultaneously remove all bookmarks, close the active editor window. Bookmarks do not persist from one editing session to the next, so all bookmarks disappear after the IDE closes the window.


Navigating bookmarks

To scroll to each subsequent bookmark in the active editor window, use the key binding assigned to the Go to next bookmark command. To scroll to each previous bookmark, use the key binding assigned to the Go to previous bookmark command.

Scrolling for bookmarks causes the IDE to wrap around both ends of the file. For example, if the text-insertion point is at the last bookmark in the file, using the Go to next bookmark key binding causes the IDE to wrap around to the beginning of the file and scroll to the first bookmark that it encounters. Similarly, using the Go to previous bookmark key binding at the first bookmark in the file causes the IDE to wrap around to the end of the file.


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000