Chapter 3. Configuring the editor

Table of Contents

Preferences Dialog
General
Editor Pane
XML Preferences
Network
Storage Plugins / Visual Plugins
Catalogs
Catalog support

Preferences Dialog

The Preferences dialog gives access to various options. The settings are saved each time you leave this dialog by pressing the OK button.

General

The General Tab provides the following options:

  • Maximum number of recently used files. This is the number of items to show at the end of the File menu

  • Show parser warnings. If checked the parser warnings giving while loading or creating a document are shown imediately by popping up the Parser Warnings Dialog.

  • Browser for XSL Preview. Indicates whether the internal HTML viewer should be used for showing the preview of a XSL Processing action or that the editor should try to run an external browser. For the external browser the editor behaves different for various platforms. On a Macintosh or a Windows PC it let the OS decide which browser to load and under unix it tries to start Netscape.

  • Show Splash Screen. If checked the Splash screen is shown at startup.

Editor Pane

The Editor Pane tab provides options for the pane where the text is edited.

  • Properties for Element Names. Specify the family and size of the font to be used for drawing the element names when in 'box' mode (menu item 'Show Element Names').

  • Properties for Comments. Specify the family and size of the font to be used for shwing the contents of Comment Elements. You can also specify whether the content of the Comment Element should be shown or not.

  • Choose New Element widget. Indicate which widget you want to use for selecting the element to be created. You can choose between a pop-up menu and the Insert Element Dialog.

  • Auto Centering cursor. If checked the editor tries to keep the cursor in the middle of the editor pane by scrolling the pane.

  • X-Window Like Copy. If checked the editor tries to mimic some of the selection/clipboard functionality of X-Windows. All currently selected text is copied on the clipboard.

XML Preferences

The XML Preferences Tab provides options for the way the editor handles XML

  • Whitespace. You can set the whitespace policy the editor should use. Whether the xml should be indented when saved (and if so how much) or not.

  • Visibility in the Tree. You can specify for some types of Elements whether they should be shown in the tree view or not. You can also disable showing the default icons.

  • Parser. Indicates which parser to use. The editor is shipped with two parsers, IBM's XML4J2 and Apache Xerces.

  • Show Only Legal Actions. If checked the lists of insertable elements do only show elements that, when inserted, leave the parent in a valid state.

  • Automatically update Stylesheet PI. If checked a Change CSS will lead to a change in the StyleSheet PI (if present).

  • Use relative paths for Stylesheet PI.

  • Print #FIXED Attributes. If checked all attributes that are declared as #FIXED in the DTD are printedand if not checked none of them are.

Network

The Network Tab provides some network configuration.

  • FTP Timeout. The timout to use for an FTP connection.

  • FTP Use Passive Connection. If checked use Passive Mode.

  • HTTP Timeout. The timout to use for an HTTP connection.

  • HTTP Proxy (host and portnumber). Indicate that for HTTP connections a proxy server needs to be used. You should provide a hostname and port number if you enable this option.

Storage Plugins / Visual Plugins

The Storage Plugins and Visual Plugins tabs provide means to install or remove plugins. Adding and Editing lets you browse to the class file which provides the plugin you want to register. The brower can 'enter' jar files as well as directories.

Getting plugins

Visit http://www.morphon.com for the latest Morphon Plugins. The Plugin API si also described there as well.

Catalogs

The Catalogs pane allows you to specify all catalogs files you want to use. Adding and Editing lets you browse to the catalog file you want to register.