XML and DTD Editor Properties
See Also
The IDE enables you to configure Source Editor behaviour
when editing XML and DTD files.
Editing XML and DTD Properties
To access DTD Editor or XML Editor properties:
- Choose Tools > Options and click Miscellaneous.
- In the Miscellaneous tab, click Files.
- In the File Extension drop-down, select "dtd" or "xml"
and associate it with the MIME type of your choice.
XML and DTD Property Descriptions
The IDE's XML and DTD editor properties are organized into two groups based
on their relative complexity.
Properties
- Auto Popup Completion Window (XML only). If True, enables
the editor to display a code completion box with options for how to complete
an expression.
This property applies only to editor types that support code completion,
such as Java, HTML, and JSP.
- Delay of Completion Window Auto Popup (XML only). If the Auto Popup
Completion Window property is True, sets the number of milliseconds between
the time when typing stops and the time when the code completion box is
displayed.
- Code Completion Instant Substitution (XML only). If true, invocation
of code completion performs instant substitution when search returns
only one item.
- Font Size. Sets the font to the specified size for all tokens
that are not given distinct values in the Fonts and Colors property.
- Indentation Engine. Specifies how you want to handle text formatting,
including settings for tabs, spaces, and new lines. Click the ellipsis (...)
button to edit the possible indentation engine choices.
- Line Numbers. If True, adds line numbers in the left margin.
You can also toggle line numbers by choosing Margin > Show
Line Numbers from the pop-up menu in the Source Editor.
- Macros. Edits, adds, and removes Source Editor macros. Click
the ellipsis (...) button to modify existing macros.
It is generally easier to add a new macro by recording it than by manually
adding one in the Macros property editor.
- Tab Size. Sets the number of spaces inserted per tab character
(\t) when a file is imported. This is set as 8 by default for compliance with
many other applications.
You can also specify tab settings for text that is typed, generated, or
formatted in the Source Editor using the Indentation Engine property described
above.
Expert Properties
- Insertion Point Blink Rate. Sets blink rate (in milliseconds)
for the text pointer that marks the insertion point.
- Insertion Point Color. Specifies the color of the caret when
in insert mode. Select a color from the list or display the custom property
editor for colors by clicking the ellipsis (...) button.
- Overwrite Caret Color. Specifies the caret color when in overwrite
mode.
- Insertion Point. Determines the type of caret that appears at
the insertion point when in insert mode. From the list you can select Vertical
bar, Thin vertical bar, or Solid block.
- Overwrite Caret. Determines the type of caret that appears when
in overwrite mode. From the list you can select line, thin line, or block.
- Highlight Caret Row.
If True, highlights the row where the insertion point (caret) is.
- Highlight Matching Bracket.
If True, the matching brace, bracket, or parenthesis highlights
whenever the insertion point is immediately after a brace, bracket,
or parenthesis.
- Line Height Correction. Adjusts height of lines by specified
multiplier.
- Margin. Sets top, bottom, left, and right margins of text within
the Source Editor page. The left margin determines how far text starts to the
left of the glyph margin. Click the ellipsis (...) button to edit the settings.
- Scroll Find Insets. Specifies how much space should be reserved
on each side of text located with the Find command.
- Scroll Jump Insets. For each of four directions, specifies how
much the view should jump when the scrolling goes off the screen.
- Status Bar Caret Delay. Sets the delay (in milliseconds) between
the time when the caret stops moving and the update of its position in the
status bar.
- Status Bar Visible. If True, displays the status bar (which
shows information such as current line number and whether the editor is in
insert or overwrite mode) at the bottom of the window.
- Text Limit Line Color. Specifies the color of the text limit
line.
- Display Text Limit Line. If True, shows a vertical line to mark
suggested maximum line width (for example, for printing).
- Text Limit Character Count. Sets the number of characters to
the right of the left margin where the text limit line is displayed.
- See Also
- Using the Options Window
Legal Notices