Amaya can present different views of a document simultaneously. Each tab corresponds to a document and the document views can be shown by splitting the page so you can clearly see what is happening when you edit complex documents.
The multiple views can also help you move quickly through a document. For example, if you click a heading in the Table of Contents view, the Formatted view will display the document section you selected.
Six views are available.
This view shows the actual structure of the document. Each element is represented by its tag name, followed by its attributes on the same line. The elements it contains are represented underneath, next to a blue vertical line that shows the extent of the element.
You can directly edit any text displayed in black by clicking and typing. You must use the editing commands to change text displayed in blue.
The structure view shows all the elements of the document even those
that are not displayed in the formatted view like comments, doctype,
processing instructions or the elements of the head
section.
This view also shows the uri of the namespace used by the author when an element belongs to a namespace that is not the same as its parent.
This view shows a list of all headings (Hn
elements) in the document. If the document is well structured, it
displays an overview of the document.
You can open and close any view at any time.
To open a view, select the appropriate Show menu item from the Views menu:
Entrée du menu |
Raccourci clavier |
Show structure |
Ctrl-u Ctrl-s |
Show alternate |
Ctrl-u Ctrl-a |
Show links |
Ctrl-u Ctrl-l |
Show table of contents |
Ctrl-u Ctrl-c |
Show source |
Ctrl-u Ctrl-o |
Tip : You can quickly open the source view by clicking on the pink bar at the bottom (Horizontal split/unsplit) or at the right (Vertical split/unsplit) of the your document.
To close a view, select the Split view horizontally or Split view vertically command from the Views menu. Another way to close a view is to double-click on the pink bar at the bottom or at the right of your document.
You can also close the tab (File/Close tab or close button on the tab, or right click on the tab, except for the Mac OS X version) if you want to close your document and all its views.