Index  Menus  Moving around  Troubleshooting  Key glossary  Glossary

Customizing the editor in the option panels

Customizing the editor in the option panels

This section gives a detailed description of the customization panels found in the Options menu. These are separated into three groups---the generic panels (files, highlighting styles and interface options), mode-specific panels (ruler, language, shortcuts, fonts, size/gadgets, colours) and configure commands) (this one is in the Edith menu), and mode-specific switches (indent, wrap, brackets, right-align).

TEXT WINDOW MODES

A text window mode is a class of text windows that has its own look and behaviour. These are managed in the panel under Text window modes... (Windows menu, Shift Ctrl M).

Eight text window modes can be defined freely; Seven preset text window modes have a fixed purpose; these are Default setup, used for editing `generic' files, HTML, LaTeX and C/C++ for predefined languages, BSL editor, for editing language definitions, Binary editor for editing binary files and Info browsers for read-only browsers (Edith info index (Edith menu, Ctrl I), System manual... (Browse menu, Ctrl M), New view on text... (Windows menu, Alt N) etc.)

For all of these modes except Default setup, you can choose whether these modes should have individual parameters for e.g. colour settings and dimensions. When a text mode does not have individual parameters, the ones for the Default setup apply.

In addition to switching on or off parameter sets for text window modes, you can specify, for each non-preset mode, a name and a set of file masks. The latter are supposed to match the types of file you most frequently edit. Files matching the specified masks will automatically be opened in the corresponding user-defined text mode, and hence get their own colouring, font, editor parameters and shortcut sets. User defined modes are automatically selected on loading a text, based on the name of a file (e.g. in a mode for HTML editing the triggering file mask could be *.htm*). If no name is matched, the default mode will be selected.


Index  Menus  Moving around  Troubleshooting  Key glossary  Glossary