Index Menus Moving around Troubleshooting Key glossary Glossary
The three preset text window modes have a fixed purpose; these are
default (Default setup), used for editing `generic' files.
binary (Binary editors) for Open binary... (File menu,
For the other 8 modes, 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.
Select Text window modes... (Windows menu,
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; modes shipped with the initial Edith
configuration are user1: C/C++, user2: HTML and user3: LaTeX,
which provide text shortcuts for three popular
computer languages. 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.
The number of language-specific settings is still limited, but will be extended later. Planned are indentation rules, bracketing and quotes, and text macros (which require a form of multi-stage undo if we want to allow them to stretch out over more than one line).
Index Menus Moving around Troubleshooting Key glossary Glossary