# Editor area

The editor area is where you modify the contents of files in the Workbench.

Here is what the editor area looks like when multiple files are open and a text file is being edited:

## Marker bar

The marker bar is the vertical bar located at the left of the editor area.

Here is what the marker bar looks like:

## Markers

Markers are displayed in the marker bar, to the left of the text editor.

Depending on the type of file displayed in the editor area, three kinds of markers may be displayed:

- Bookmarks
- Task markers (for associated tasks)
- Debugging breakpoints

You can create and associate a marker with a specific line in a file by accessing the context menu from the marker bar, which is directly to the left of that line.

Here is what the context menu of the marker bar looks like:

## Types of editors

The Workbench uses three types of editors:

- Internal: These editors are launched inside the editor area in the Workbench window.
- External: You can go outside the Workbench in the file system, edit a Workbench file outside the Workbench, and save the edited file. For example, imagine that you add an SGML file to the Workbench. Later, you go into the file system and open the file in an SGML editor, then save the file. The edited SGML file is still represented in the Workbench, even though you did not edit the file in the Workbench. If you associate a file type with an external editor in the Workbench (General > Editors > File Associations preferences page), then the Workbench will launch this external editor.
- ActiveX: On Microsoft Windows platforms, the Workbench makes use of ActiveX controls for applications that allow for them. For example, Microsoft Word supports being embedded as an OLE document. Thus if you have a .doc file in the Workbench, and 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. Notice how OLE documents also add such features as menus and toolbar buttons.

The following illustrates Microsoft Word embedded as an OLE document: