Document's views

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.

Formatted view (default)
This view is similar to that provided in other graphical browsers. It is a dynamic, direct-manipulation view. At all times it displays the changes you make to the document, in contrast to editors that only provide a series of static snapshots of the document.

This view is allways visible in the first part of your page.

Structure view (Views > Show structure)

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.

Alternate view (Views > Show alternate)
This view shows how the document looks when displayed by a text-only browser. It is useful for checking the accessibility of your documents.
Links view (Views > Show links)
This view shows a list of all anchors in the document and the elements each anchor contains. You can focus on it when working on hypertext links.
Table of Contents view (Views > Show table of contents)

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.

Source view (Views > Show source)
This view shows the actual source code of the document. You can use it to edit the syntax of your document. (it's the default open view when you click on the red button in bottom of your document)

You can open and close any view at any time.

Opening a View

To open a view, select the appropriate Show menu item from the Views menu:

EntrΘe du menu

Raccourci clavier

Show formatted view

Ctrl váCtrl f

Show structure

Ctrl váCtrl s

Show alternate

Ctrl v Ctrl a

Show links

Ctrl v Ctrl l

Show table of contents

Ctrl v Ctrl c

Show source

Ctrl v Ctrl o

Note: Ctrl v is replaced by Ctrl u on Windows platforms because Ctrl v is used by the Paste command.

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)

Closing a view

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 clicking on the red button at the bottom or at the right of your document.

You can also close the tab (right click on the tab or open File menu) if you want to close your document and all its views.