Amaya can present different views of a document simultaneously. Each tab corresponds to a document and the document's 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 from the Views menu.
This view is allways visible in the first part of your page.
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 different from it's parent one's.
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 formatted view |
Ctrl u Ctrl f |
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 1: You can quickly open the source view by clicking on the red button at the bottom (split horizontally) or at the right (split vertically) of the your document.
Tip 2: You can also use Show ... on the Views menu to give keyboard focus to a view. (Very usefull when the focus is locked into the tools panel)
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 red line at the bottom or at the right of your document.
You can also close the tab (open File menu or right click on the tab, except for the Mac OS X version) if you want to close your document and all its views.