The Text Editors - Display page of the Preferences dialog
The Text Editors – Display page of the Preferences dialog provides controls and information related to text display.
This page is accessed by clicking Display under the Text Editors folder in the main Preferences dialog (DXP » Preferences).
Editor Front: Change - click to access the standard Windows Font dialog with which you can configure the font used for text documents. The field to the right reflects the current font for the Text Editor.
Visible right margin - check to display a right-hand margin on the text document. You can adjust the margin width by entering a new value in the Margin width field. The right margin is used for visual
formatting and for word wrapping.
Show line numbers - check to display line numbers on the text document. Use the following sub-options to configure how the numbering is displayed:
Line numbers on gutter - check to have the line numbers appear on the gutter. If this option is disabled, the line numbers are displayed on a column next to the gutter within the document itself.
Show all numbers - check to display all line numbers. With this option disabled, the line number for every tenth line will be displayed, with tick marks for all other lines (major tick lines for every fifth
Use special symbols - check to display special symbols, such as those for a carriage return or end of line.
Word wrap - check to have text wrap in accordance with one of the following options:
Wrap at margin - select to have lines of text wrap around at a right-hand margin line. Ensure that the Visible right margin option is enabled and define the width of the margin using
the Margin width field.
Wrap at window - select to have lines of text wrap around at the right-hand edge of the text document visible workspace.
Indicate modified lines - check to have lines of text that are modified or added automatically highlighted with color markers on the gutter. Unsaved changes are indicated with red markers while saved changes
are indicated with green markers - this allows you to quickly identify which text is committed.
Highlight brackets - check to highlight the brackets in the text, which is useful to identify opening and closing brackets in text.
Automatic delimiter highlighting - check to control whether matching pairs of delimiter characters are highlighted. For example, when this option is enabled and you close a bracket, the text editor will highlight.
Underline typing errors - check to underline any typing errors.
Use Code Outlining - check to view a little box that appears for each procedure/function/subroutine on a text document and each routine can be collapsed to one line or not by clicking on the little box. Use the Show Collapse Lines and Buttons on Gutter options to have more control over the Code Outlining feature.
If you'd like to comment on the content on this page, use the Ctrl+Enter keyboard shortcut to send us your feedback. To include a section of the page in your comment (a typo, missing/wrong info, or incorrect imagery), highlight the text (max. 200 chars) and/or image first. Please restrict your feedback to documentation issues - for technical assistance refer to the Altium Forums.