Editor

Use these options to configure the visual aspect of the text editor.

 

Figure 17.5. The Editor preferences panel

The Editor preferences panel

Editor background color

Use this option to set the background color of the editor.

Editor caret color

Use this option to set the background color of the editor.

Selection foreground color

Use this option to set the text color of selected text.

Selection background color

Use this option to set the background color of selected text.

Completion proposal background

Use this option to set the background color for the content completion window.

Completion proposal foreground

Use this option to set the foreground color for the content completion window.

Documentation window background

Use this option to set the background color for the window containing documentation for the content completion elements.

Documentation window foreground

Use this option to set the foreground color for the window containing documentation for the content completion elements.

Line number foreground

Use this option to set the foreground color for the line numbers displayed at the right of editor panel.

Line Wrap (disables folding)

This option will do a soft wrap of long lines, that is automatically wrap lines in edited documents. When this option is checked line folding will be disabled.

Show fold bar

This options enables the display of the document folding bar.

Highlight current line

Enables highlight for the current line.

Line highlight color

Use this option to set the highlight color for the line on which the caret is situated.

Highlight matching tag

This option enables highlight for the tag matching the one on which the caret is situated.

Matching tag highlight color

Use this option to set the color of the matching tag highlight.

Show print margin

Enables displaying a vertical line in the editor panel representing the paper margin if the current content of the editor panel is printed with the action FilePrint

Print margin column

The number of characters included on a line which the print format allows.

Print margin color

The color used to paint the print margin line in the <oXygen/>'s editor panel.

Show line numbers in editor

This option enables the line numbers column located in the left part of the editing space. When unchecked, line numbers option is disabled.

Show line numbers in results

This option enables the line numbers column located in the left part of the Results panel in the Debugger perspective.

Show TAB/NBSP/EOL/EOF marks

Marks the TAB/NBSP/EOL/EOF using small icons, for a better visualisation of the document.

 Grid

 

Figure 17.6. The Grid editor preferences panel

The Grid editor preferences panel

Compact representation

If checked a child element is displayed at the same height level with the parent element. If unchecked a child elements is presented nested with one level in the parent container, that is lower than the parent with one row.

Format and indent when passing from grid to text or on save

The content of the document is formatted by applying the Format and Indent action on every switch from the grid editor to the text editor of the same document.

Default column width (characters)

The default width in characters of a table column of the grid. A column can hold an element name and its text content, an attribute name and its value. If the total width of the grid structure is too large you can resize any column with the mouse but the change is not persistent. To make it persistent set the new column width in this user option. the

Current selection color

The background color used in the focused selected cell of the grid to make it different in the set of selected cells. For example when an entire row is selected only one cell of the row is the focused selected one.

Selection color

The background color used in the selected cells of the grid except the focused selected cell which uses a different background color.

Border color

The color used for the lines that separate the grid cells.

Background color

The background color of grid cells that are not selected.

Foreground color

The color of the text used for the element names, text content of elements, attribute names and attribute values.

Row header colors - Background color

The background color of row headers that are not selected.

Row header colors - Current selection color

The background color of the row header that is currently selected and has the focus.

Row header colors - Selection color

The background color of the row header that is currently selected and does not have the focus.

Column header colors - Background color

The background color of column headers that are not selected.

Column header colors - Current selection color

The background color of the column header that is currently selected and has the focus.

Column header colors - Selection color

The background color of the column header that is currently selected and does not have the focus.

The column headers are painted with two color gradients, one for the upper 1/3 part of the header and the other for the lower 2/3 part. The start and end colors of the first gradient are set with the first two color buttons. The start and end colors of the second gradient are set with the last two color buttons.