43
146
colors. The list of palettes is shared by all file types. If you edit a palette used by multiple file types, the
changes apply to all those file types.
The ´syntax coloring schemeµ uses the named colors to highlight different parts of the file. EditPad Pro ships
with many syntax coloring schemes for a variety of file formats and programming languages. Simply select the
one you want to use from the ´syntax coloring schemeµ drop-down list. Select ´noneµ at the top of the list if
you want to disable syntax coloring.
Applying syntax coloring to an entire file takes up too much time and memory for very large files. For files
larger than the huge files threshold set in the Open Files Preferences, EditPad Pro automatically disables
syntax coloring schemes that require the entire file to be processed. If you selected such a scheme in the
´syntax coloring schemeµ drop-down list, you can select an alternative scheme in the ´syntax coloring scheme
for huge filesµ drop-down list. This second list only shows schemes that do not highlight anything that might
span more than one line. This means the scheme only needs to process the visible part of the file. It can
instantly apply syntax coloring to files of any size.
Some of the syntax coloring schemes supplied with EditPad Pro come in two versions, one if which is
marked (fast). The regular scheme supports the full syntax of the programming language or file format it is
intended for, but cannot be used with huge files. The (fast) scheme does not highlight things that span
multiple lines, and works with files of any size. For example, the ´XMLµ scheme handles the full XML
syntax. The "XML (fast)" scheme highlights everything except comments and CDATA sections that span
multiple lines. If a scheme supplied with EditPad Pro is available for huge files and is not marked (fast), that
means that the scheme handles the full syntax of the programming language or file format that it is intended
for. For example, batch files themselves are line-based, so the scheme for batch files never needs to highlight
something that spans multiple lines.
If no coloring scheme is available for the file type you are defining, click the download button. EditPad Pro
will then connect to the Internet and allow you to download many custom syntax color schemes created and
shared by other EditPad Pro users. To create your own syntax coloring schemes, use the Custom Syntax
Coloring Scheme Editor. After editing a scheme or creating new ones, click the Refresh button to make
EditPad Pro read in the new and edited schemes.
Turn on ´highlight matching brackets touched by the cursorµ to highlight the bracket touched by the cursor
and that bracket’s corresponding opening or closing bracket. The cursor touches a bracket when it is
positioned immediately to the left or right of the bracket. If the bracket consists of multiple characters, the
cursor also touches it if it is positioned between two characters that are part of the bracket. If the cursor
touches two brackets at the same time that belong to different pairs, the bracket to the right of the cursor is
highlighted. If the corresponding bracket is missing, the bracket touched by the cursor is highlighted by itself,
in a different color.
Turn on ´highlight innermost pair of brackets containing the cursorµ to highlight the pair of opening and
closing brackets nearest to the text cursor that surround the text cursor. Brackets surround the cursor if the
cursor is positioned to the right of the last character in the opening bracket and to the left of the last
character in the closing bracket. If the innermost pair of matching brackets contains an unmatched opening
bracket to the left of the cursor or an unmatched closing bracket to the right of the cursor, then that unpaired
bracket is highlighted alone in a different color and the innermost pair is not highlighted.
If you turn on both bracket highlighting options, then touching brackets are highlighted if the cursor touches
a bracket. The innermost pair containing the cursor is highlighted if the cursor does not touch any brackets.