Index  Menus  Panels  Troubleshooting  Key glossary  Glossary
File options  Interface options

The highlighting styles panel

The highlighting styles panel

Select Highlighting styles... (Options menu, Shift Ctrl G) to open the panel that allows you to override the default font and colour effects for the highlighted languages you use in your set of text window modes.

Experts who write language definitions provide default typefaces for the constructs of a language. For example, in the preset mode C/C++, we have chosen to use very limited highlighting: comments are blue, strings and numbers are green, escapes and preprocessor directives are red. However, many more constructs in the C language are recognized by the language definition underlying this highlighting mode.

The idea is that you as a user may choose highlight other selections of constructs, or choose different colours and fonts than were specified as a default, without going into the fuss of editing the language definition itself. To do this, go to the highlighting styles panel and select the name of the text items you want highlighted differently, and select the new style by clicking buttons.

To change a typeface in the panel, select it in the scroll box, or type the first letters of its name, then click the buttons in the lower half of the panel to change the style, and click Apply.

The styles displayed include the styles of all languages that are currently loaded, including those in use for Edith's dialog panels. All style options you can set are straightforward, with the following exceptions:

Italics
Some font families, such as the default setup's Lucidatypewriter, do not have italic or even oblique. Therefore some of the highlighting styles may not appear to be having any effect, until you change the font to, e.g. Lucidabright or Adobe Times.
Large
To get this to look right, it is usually necessary to specify roundabout 10% vertical cell padding under Text display/fonts... (Options menu, Shift Ctrl D).
Insensitive to bracket checking
This is an invisible effect. Normally, bracket checking (see Show matching brackets (Options menu, Alt Shift M) and Find bracket (Browse menu, Ctrl B)) looks only at brackets that have the same colour and font effects as the bracket from which you started. If this switch is set however, brackets inside text that has this typeface identifier will be ignored altogether.

Index  Menus  Panels  Troubleshooting  Key glossary  Glossary
File options  Interface options