blob: d1a8d2446fcc39c80bef0d00e256977b71c5b4e7 [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>Associated tasks</title>
</HEAD>
<BODY BGCOLOR="#ffffff">
<h3>
Associated tasks</h3>
<P CLASS="Para"> Associated tasks are associated with a specific location in a
resource. To associate a task with the&nbsp;JanesFile.txt:</P>
<ol>
<li>
<P CLASS="Para"> Open a text file (JanesFile.txt) by double clicking on it
in one of the navigation views.</P>
</li>
<li>
<P CLASS="Para"> In the editor area directly to the left of any line in the
text editor, access the context menu from the marker bar. The marker bar
is the vertical bar to the left of the main text area.</P>
</li>
<li>
<P CLASS="Para"> From the marker bar's context menu, select <b>Add Task</b>.</P>
<P CLASS="Para"> The marker bar displays any marker including bookmarks, task
markers (for associated tasks), and/or debugging breakpoints. Various markers
can be associated with specific lines in a file by accessing the context
menu from the marker bar directly to the left of that line.</P>
<P CLASS="Para"> <img src="../images/Image53_marker1.png" alt="Marker bar menu" border="0"></P>
</li>
<li>
<P CLASS="Para"> In the <b>Description</b> field, type a brief description
for the task that will be associated with that line in the text file.</P>
<blockquote>
<P CLASS="Para"> <img src="../images/Image53_add_task_dlg.png" alt="Add Task dialog" border="0"></P>
</blockquote>
</li>
<li>
<P CLASS="Para"> Click <b>OK</b> when done.</P>
</li>
<li>
<P CLASS="Para"> Notice that a new task marker appears in the marker bar,
directly to the left of the line where the task was added. Also, notice
that the new task appears in the Tasks view.</P>
<P CLASS="Para"> <img src="../images/Image53_task_updated.png" alt="Tasks view" border="0"></P>
</li>
<li>
<P CLASS="Para"> After the new task has been added, click in the editor on
the first line or any other line above the line with which the new task
is associated.</P>
</li>
<li>
<P CLASS="Para"> Add several lines of text to the file at this point.</P>
</li>
<li>
<P CLASS="Para"> Notice that as lines of text are added above it, the task
marker moves down in the marker bar in order to remain with the associated
line in the file. The line number in the Tasks view is updated when the
file is saved.&nbsp;</P>
</li>
<li>
<P CLASS="Para"> In the Tasks view, access the context menu for the task that
was just created.</P>
</li>
<li>
<P CLASS="Para"> Select <b>Mark Completed</b>. </P>
</li>
<li>Now select <b>Delete Completed Tasks</b> from the marker's context menu.</li>
<li>
<P CLASS="Para"> Notice that the task marker disappears from the marker bar
and the task is removed from the Tasks view.</P>
</li>
</ol>
</BODY>
</HTML>