| <!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>Editors and the editor area</title> |
| </HEAD> |
| <BODY BGCOLOR="#ffffff"> |
| <H1 CLASS="Head"> |
| Editors</H1> |
| <P CLASS="Para" Label=Type> |
| Most perspectives in the Workbench are comprised of an editor area and one or more |
| views. </P> |
| <P CLASS="Para" Label=Type>You can associate different editors with different |
| types of files. For example, when you open a file for editing by double-clicking |
| it in one of the navigation views, the associated editor opens in the Workbench. |
| If there is no |
| associated editor for a resource, the Workbench attempts to launch an <i>external |
| editor</i> outside the Workbench. (On Windows, the Workbench will first |
| attempt to launch the editor in place as an OLE document. This type |
| of editor is referred to as an <i>embedded editor</i>. For example, if you have a |
| .doc file in the Workbench and Microsoft Word is registered as the editor for .doc |
| files in your operating system, then opening the file will launch Word as an OLE document within the Workbench editor |
| area. The Workbench menu bar and toolbar will be updated with options for |
| Microsoft Word.) </P> |
| <P CLASS="Para" Label=Type>Any number of editors can be open at once, but only |
| one can be active at a time. The main menu bar and toolbar for the |
| Workbench window contain operations that are applicable to the active |
| editor. </P> |
| <P CLASS="Para" Label=Type>Tabs in the editor area indicate the names of |
| resources that are currently open for editing. An asterisk (*) indicates that an editor has unsaved |
| changes. </P> |
| <P CLASS="Para" Label=Type>By default, editors are stacked in the editor area, |
| but you can choose to tile them in order to view source files simultaneously.</P> |
| <P CLASS="Para" Label=Type> |
| Here is an example of a text editor in the Workbench:</P> |
| <P CLASS="Para" Label=Type> <img src="../images/Image5_text_editor.png" alt="Text editor" border="0"> |
| </P> |
| <P> The gray border at the left margin of the editor area may contain |
| icons that flag errors, warnings, or problems detected by the system. Icons also |
| appear if you have created bookmarks, added breakpoints for debugging, or |
| recorded notes in the Tasks view. You can view details for any icons in the left |
| margin of the editor by moving the mouse cursor over them. |
| </P> |
| |
| |
| <p><img border="0" src="../images/ngrelc.png" alt="Related concepts" ><a href="concepts-2.htm"><br> |
| Workbench<br> |
| </a><a href="concepts-6a.htm">External editors</a><a href="cbookmrk.htm"><br> |
| Bookmarks</a><a href="ctskview.htm"><br> |
| Tasks view<br> |
| </a><a href="cnav.htm"> |
| Project Explorer view</a></p> |
| |
| |
| <p><img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br> |
| <a href="../tasks/tasks-46.htm">Opening files for editing</a><br> |
| <a href="../tasks/tasks-51.xhtml">Associating editors with file types</a><br> |
| <a href="../tasks/tasks-52.htm">Editing files outside the Workbench</a></p> |
| |
| |
| |
| |
| </BODY> |
| </HTML> |