2.5. View menu

Redraw

Rebuilds the view of the whole document, no matter which text or nodes are selected.

Updating the references contained in a modular document

This command has also the side-effect of automatically updating all the references contained in a modular document (see Copy as Reference). However for a reference to be updated, the referenced document must not have been modified in XXE and not yet saved to disk.

Example: document book.xml references chap1.xml, chap2.xml and chap2.xml. File chap1.xml, currently opened in XXE, has been modified then saved to disk. File chap2.xml is not currently opened in XXE. File chap3.xml, currently opened in XXE, has been modified but not yet saved to disk. Using this command will update what has been included from chap1.xml and chap2.xml, but not from chap3.xml, before rebuilding the view of book.xml.

Text Size

The items of this menu make it easy changing the base font size of the active styled document view.

Tip

Use your mouse wheel while pressing the Ctrl key (Cmd key on the Mac) rather than use the Larger and Smaller menu items.

Larger

Use a base font size larger by 2pt for the active styled document view. The largest possible base font size is 20pt.

Smaller

Use a base font size smaller by 2pt for the active styled document view. The smallest possibel base font size is 10pt.

Normal

Use the ``normal'', default, base font size (e.g. 12pt). The default base font size is specified in the Preferences dialog box.

Use as Default

Apply the current font size to all document views and from now, use it as a default.

This is a handy alternative to specifying the default base font size in the Preferences dialog box.

Add

Opens a dialog which allows to add a new view to current document tab. A document tab can contain up to 5 views: default central view, but also top, right, bottom, left views. A view is specified by selecting a CSS style sheet among the available ones or, on the contrary, by selecting no style sheet at all, which implies to use a tree view.

Close

Closes active view. Central view, which is supposed to be the main view, cannot be closed.

The active view is the view having the keyboard focus: the caret blinks in this view, and not in the other views of the document. To make a view the active one, simply click anywhere in it.

Below the above menu item, a menu item is added for each CSS style sheet available for current document. Selecting the name of a style sheet causes the document view to use this style sheet. If a document view already uses the selected style sheet, the style sheet is reloaded from its file (which is very handy when developing a new CSS style sheet).