10.02.2013 Views

SlickEdit User Guide

SlickEdit User Guide

SlickEdit User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Bookmarks<br />

BOOKMARKS<br />

Bookmarks are used to save the current edit location, so you can quickly return to it later. There are two<br />

types of bookmarks:<br />

• Named Bookmarks - Used to mark long-term, meaningful locations in the code, or to quickly set a<br />

temporary, named bookmark on the current line.<br />

• Pushed Bookmarks - Used to set temporary “breadcrumbs” as you explore the code. Pushed<br />

bookmarks are manipulated separately from named bookmarks.<br />

Bookmark options for named and pushed bookmarks can be found under the Bookmarks category on the<br />

Search Options screen of the Options dialog (Tools > Options > Editing > Search).<br />

A set of bookmark controls for named and pushed bookmarks is available for adding to your custom<br />

toolbars. See Customizing Toolbars for more information.<br />

Named Bookmarks<br />

Named bookmarks are great for marking long-term, meaningful locations in your code. For example, if you<br />

have a project with a lot of include files, you might want to bookmark the top of the main header file. Or you<br />

could bookmark a file with instructional comments about a particular project you’re working on.<br />

In addition to menu items and command line operations, a Bookmarks tool window (View > Toolbars ><br />

Bookmarks) is available for creating and managing named bookmarks. See Bookmarks Tool Window for<br />

more information.<br />

See the following sections for more information about working with named bookmarks:<br />

• Setting Named Bookmarks<br />

• Navigating Named Bookmarks<br />

• Deleting Named Bookmarks<br />

• Using Workspace Bookmarks<br />

Setting Named Bookmarks<br />

There are various ways to use named bookmarks, and the way you set them depends on which way you<br />

want to use them:<br />

• Give them a specific name - Creating a bookmark and naming it yourself is one of the best ways<br />

to mark a location in your code. For example, you could set a bookmark named “main” to save the<br />

location of the main function. See Setting a Bookmark With a Specific Name.<br />

• Allow automatic naming - This is a quicker way to set named bookmarks. This method could be<br />

useful to mark locations that you temporarily need to reference, perhaps only in the current editing<br />

session. See Setting a Bookmark With an Automatic Name.<br />

• Use a key binding shortcut for the name - The quickest way to set and navigate named<br />

bookmarks is to name according to a specific key binding. This method lets you create a bookmark<br />

with one key binding, and navigate back to the bookmark with a similar key binding. See Setting a<br />

Bookmark With a Key Binding.<br />

After setting a named bookmark, a green bitmap is displayed in the left margin of the editor window,<br />

indicating the location of the bookmark. Use the Show set bookmarks option to enable or disable the<br />

display of the indicator (Tools > Options > Editing > Search).<br />

<strong>SlickEdit</strong>® <strong>User</strong> <strong>Guide</strong> 295

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!