## Views

Amaya can present different views of a document simultaneously. Each view is displayed in a different window. This allows you to clearly see what is happening when you edit complex documents. It is also an help for moving across a document. Five views are available:

Formatted view
  Here you see a similar view of the document to that provided in other popular graphical browsers. It is a dynamic, direct manipulation view, in the sense that, at all times, it displays the changes you are making to the document. This is in contrast to editors which only provide a series of static snapshots of the document.
Structure view
  This view shows the actual structure of the document being edited. Each element is represented by its tag name, followed by its attributes, on the same line. The elements it contains are represented underneath along a blue vertical line that shows the extent of the element.

  Parts displayed in black can be edited directly, by clicking and typing. Parts displayed in blue can be changed only by editing commands.

Alternate view
  This view allows you to see how the document looks like when displayed by a text-only browser. It is useful for checking the accessibility of your documents.
Links view
  This view shows all anchors in a document, but only the anchors and the elements they contain.
Table of Contents view
  This view displays all headings (`Hn` elements), but only those elements.

You can open and close any view at any time.

### Opening a view

To open a view, choose the corresponding Show command in the Views menu (only available in the Formatted view). The Show commands from the Views menu can also be used to raise the corresponding window when it is in the background.

### Closing a view

To close a view choose the Close View command from the File menu of that view. This command is not available for the Formatted view, but closing the document closes that view.

### Using views

All views are synchronized: whenever you select some character or element in one view, the other views of the same document are automatically scrolled to show the same part of the document.

You can edit the document in any view. For optimum responsiveness when typing, the entered characters are displayed only in the view where you have clicked. As soon as you activate a command or click somewhere, these characters are also displayed in the other views.