scheme-editor - Color Scheme Editor
scheme-editor is a color and font scheme editor that provides a dialog interface to configure the display schemes used by the editor. The schemes may be created or modified within the scheme editor and then committed to the configuration files for general use.
The editor can be used to create both screen and printer color/font schemes, they are typically stored in the macros directory and are executed as macro files at start up or when printing. The standard screen schemes are called schemeX.emf and printer ones printX.emf.
The scheme-editor is displayed within a single dialog box, tab selections at the top of the dialog box enable color and scheme creation and/or modification. Navigation is typically performed using the mouse, where the mouse is absent then the TAB key may be used to move between the fields. The information presented is defined as follows:-
The colors tab allows the basic palette colors of the editor to be created and modified. The left-hand side of the dialog contains a scrolling window containing the existing color entries. The right-hand side of the dialog provides the controls to add and change the color assignment. The controls operate on the currently selected palette entry.
Show in Dialogs
The schemes tab allows the schemes to be edited. The left-hand side of the dialog contains a scrolling window of the available color palette (created from the Colors tab). The right-hand side of the window shows the variants of the scheme.
There are 4 variants, or styles, for a single scheme; each style is comprised of a foreground and background color, and a row of toggle button to enable/disable fonts, defined as follows.
B - Bold.
I - Italic.
L - Light (typically not supported).
R - Reverse video (fore/back-ground swapped).
U - Underline.
V - Toggle reverse video when inverted.
The last mode V needs a little more explanation; commands such as screen-poke(2) are able to invert the color scheme, i.e. use the fore color for the background etc. Enabling this mode will toggle the reverse video mode (R) when this feature is used.
The style displayed by a particular scheme depends upon the selection/current status of the text:
Note that a printer scheme only uses the Normal style.
Setting of the selection and scheme shows the current scheme in the Normal, Current, Select and Sel-Cur dialogs. New colors are assigned by selecting a color in the palette area and making it current. The current color is applied by selecting the Fore / Back boxes of the scheme dialog. The assigned color is displayed in the text box The big brown fox....
The controls at the bottom of the dialog apply the edits to the configuration files.
scheme.emf - Defines the standard scheme variables, including the available scheme list, and associated text.
schemed.emf - Default white on black color scheme.
schemej.emf - Black on cream color scheme.
schemevi - Sandy shores.
schemesf - Sherwood Forest.
schemebh - Blue Hue.
schemepd - Plain Black on Cream.
schemepl - Plain White on Black.
schemel - Black on grey.
schememd - Microsoft Developer Studio Colors.
printers.emf - Defines the list of available printer schemes and drivers.
printd - Default plain print-out.
printf - Print using fonts.
printepc - Print using Epson base colors and fonts.
scheme-editor is a macro that is implemented in file schemosd.emf. The scheme editor uses osd(2) to create and manage the dialogs.
Only the Normal scheme style is used by printer schemes.
The setting of Buffer Hilight can effect the way buffer hooks are load so changing from one scheme to another with differing Buffer Hilight settings may not fully work. This can be rectified by restart MicroEmacs with the new scheme as default.
The current screen scheme can effect the printing due to the Buffer Hilight setting, e.g. if the screen scheme is set to completely disable hilighting then any print-out will also have no hilighting.
Copyright (c) 1998-2006 JASSPA
Last Modified: 2004/11/27
Generated On: 2006/10/07