blob: aa938f5195d2cc242e435400c7f7128e0a13a745 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
<HEAD>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
<title>Adding and viewing bookmarks</title>
</HEAD>
<BODY BGCOLOR="#ffffff">
<h3>Adding and viewing bookmarks</h3>
<p CLASS="Head">The Workbench allows the bookmarking of individual files or locations
within a file. This section will demonstrate how to set several bookmarks and
how to view them using the Bookmarks view.</p>
<ol>
<li>
<p CLASS="Head">From the menu bar, select <b>Window &gt; Show View &gt; Bookmarks</b>. The
Bookmarks view appears in the Workbench.&nbsp;</p>
</li>
<li>
<P CLASS="Para"> Edit the file JanesFile.txt.</P>
</li>
<li>
<P CLASS="Para"> Position the cursor over the editor's marker bar next to
any line in the file. Then, from the context menu on the marker bar, select
<b>Add Bookmark</b>.</P>
<blockquote>
<P CLASS="Para">
<img src="../images/Image54_bookmark_menu.png" alt="Bookmark Menu" border="0"></P>
</blockquote>
<P CLASS="Para">When the Add Bookmark dialog opens type in a description for
this bookmark. Type in &quot;My Bookmark&quot;.</P>
</li>
<li>
<P CLASS="Para">
Notice that a new bookmark appears in the marker bar.</P>
<blockquote>
<P CLASS="Para">
<img src="../images/Image54_bookmark_added.png" alt="Editor with bookmark" border="0" >&nbsp;</P>
</blockquote>
<P CLASS="Para">
The new bookmark also appears in the Bookmarks view.</P>
<blockquote>
<P CLASS="Para">
<img src="../images/Image54_bookmark_added2.png" alt="Bookmark view" border="0" ></P>
</blockquote>
</li>
<li>
<P CLASS="Para"> In one of the navigation views select the file JanesText.txt. From
the main Workbench menu select <strong>Edit &gt; </strong><b>Add Bookmark</b>.</P>
<P CLASS="Para">
This will bookmark the file using the filename to describe the bookmark. Observe the Bookmarks view now contains two
bookmarks.</P>
<blockquote>
<P CLASS="Para">
<img src="../images/Image54_bookmark_two.png" alt="Bookmark view" border="0" ></P>
</blockquote>
</li>
</ol>
</BODY>
</HTML>