Grid

The Grid preferences panel is opened from menu WindowPreferencesAuthor+Editor+Grid

Figure 17.8. 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.