## Browsing versus Editing

Amaya is mainly an editor with browsing capabilities. When used as a browser, it behaves like many other Web browsers, except for activating links. In normal operation Amaya allows you to browse and edit documents simultaneously, but you can change this standard behavior for each document window independently. The button shows up that the window is in editor mode: you can edit the current document and browse in this window. By clicking on that button, you switch the window to browser mode. The button is then displayed as and you can only browse and fill in forms.

### Activating a link

Links are usually displayed in blue (or underlined on monochrome displays). As Amaya is an editor, by default a single click just moves the insertion point. Thus, to activate a link, you must double click on it. This behavior can be changed as well as many other parameters using a preferences menu. By changing the "Double click activates link", you can browse documents with a simple-click. In that case, you cannot easily put the insert point within anchors: you have to use the drag and/or arrows to move the insert point within an anchor.

The document retrieved by this operation normally replaces the current document in the same window, in the same mode (editor or browser ). However, if the current document has been modified and has not been saved yet, another window is created for the new document, to avoid losing last changes.

### Target anchors

Some pieces of text can be displayed with a target icon . These icons are not part of the document and can be displayed or hidden just by controlling the "Show targets" status of the current window. Entry "Show targets" of menu "Views" allows you to control that status, window by window.

These icons are associated to target elements, i.e. elements with an `ID` attribute, or target anchors, i.e. anchors with a `name` attribute. They identify possible targets for links. These icons are intended to make the creation of links easier. As you can quickly recognize the possible target of a link, you can create links faster.

### Opening documents

You can open local or remote documents in several different ways:

File menu
  Two entries from the File menu, Open Document and Open in New Window, allow you to open a new document in the same window or in a new window respectively. Both commands bring up a dialog box where you can enter either a local file name or an URI. The dialog box also contains a file browser that helps you to locate local files.

  When the document is correctly specified, click on the Confirm button.

"Address" area
  This area displays the file name or the URI of the current document. You can edit it to specify a different (local or remote) document to be displayed in the same window. Press the Enter key when the curso is in this area to actually load the document.
Following links
  Activating a link to get the corresponding document.

### Moving backward and forward

Two buttons: and allow you to go back to the previous page or forward to the next one.