Lugaru's Epsilon
Programmer's
Editor 14.04

Context:
Epsilon User's Manual and Reference
   Changes from Older Versions
      . . .
      Enhanced Features in Epsilon 10
         Dired Enhancements in Epsilon 10
         Searching & Navigation in Epsilon 10
         Grep and Multifile Searching in Epsilon 10
         . . .
         Other Changes in Epsilon 10
      New EEL Primitives and Subroutines in Epsilon 10
         . . .
         New OS-Specific Primitives in Epsilon 10
         New Input Primitives in Epsilon 10
         New Color Primitives in Epsilon 10
         Other New Primitives in Epsilon 10
      Changes to EEL Primitives and Subroutines in Epsilon 10

Previous   Up    Next
New Input Primitives in Epsilon 10  Changes from Older Versions   Other New Primitives in Epsilon 10


Epsilon User's Manual and Reference > Changes from Older Versions > New EEL Primitives and Subroutines in Epsilon 10 >

New Color Primitives in Epsilon 10


int get_foreground_color(int colorclass, ?int raw)
int get_background_color(int colorclass, ?int raw)

The EEL syntax for specifying color choices now provides for default settings for a color class. You can specify that a color class should normally be the same as some existing color class, or that it should normally use blue text, for example. You can then override these settings for particular color schemes, as necessary.

Some new macros ECOLOR_UNKNOWN and ECOLOR_COPY in color definitions represent the new possibilities. The primitives get_foreground_color( ) and get_background_color( ) now take an optional second parameter to retrieve color settings without defaulting rules applied.

short *get_color_scheme_variable()

Epsilon remembers the currently selected color scheme separately for various environments (graphical environments that support all possible colors, such as Windows and X; color terminals; monochrome terminals; and the Unix console). The get_color_scheme_variable( ) subroutine returns a pointer to the variable containing a color scheme index that's appropriate for the current environment.



Previous   Up    Next
New Input Primitives in Epsilon 10  Changes from Older Versions   Other New Primitives in Epsilon 10


Lugaru Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.