jed-users mailing list

[2006 Date Index] [2006 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

color of menu separator


All,

I've just installed jed-B0.99.17-135 and observed the following change in
the popup-menu behavior (Xjed):

The color definition for menu (set_color ("menu", "lightgray", "blue") will
only be taken for the menu entries. 
The menu separator and the menu border seem to have now the 
foreground/background color definitions of the buffer. (black on white)
This makes the menus hard to read.

Especially with my color definitions the menu looks "strange" (for me :)) now.
The menu is ok with jed-B0.9.17-37.

Is this a general change/bug/installation issue?

Maybe a separate definition for menu_separator as
   set_color ("menu_separator", "lightgray", "blue");
could be added to jed?

I've added my color definition "tko.sl"

OS   : SunOS 5.8
XJed : B0.99.17-135
SLang: 1.4.9
(Is SLang2 required for jed-B0.99.17-135?)

I tried to install jed with Slang 2.0.5. Unfortunately (my old) openwin
does not support Xutf8Text-properties as required by slang. 
(Changing to Xfree86 V4 is no option.)
 
Does anybody have the same problem or a glue how to solve it?

Hopefully we could have a solution before jed-B0.99.18 is distributed.

Many thanks and regards
Thomas Koeckritz

$1 = "black"; $2 = "white";

set_color("normal", $1, $2);
set_color("status", "black", "skyblue");
set_color("operator", $1, $2);      % +, -, etc..
set_color("number", "darkgreen", $2);    % 10, 2.71, etc..
set_color("comment", "black", "lightgrey");% /* comment */
set_color("region", "yellow", "brightmagenta");
set_color("string", "blue", $2);    % "string" or 'char'
set_color("keyword", "red", $2);    % if, while, unsigned, ...
set_color("keyword0", "red", $2);    % if, while, unsigned, ...
set_color("keyword1", "darkgreen", $2);    % if, while, unsigned, ...
set_color("delimiter", $1, $2);     % {}[](),.;...
set_color("preprocess", "magenta", $2);   
set_color("message", "blue", $2);
set_color("error", "brightred", $2);
set_color("dollar", "brightred", $2);
set_color("...", "red", $2);			  % folding indicator

set_color ("menu_char", "yellow", "blue");
set_color ("menu", "lightgray", "blue");
set_color ("menu_popup", "lightgray", "blue");
set_color ("menu_shadow", "blue", "black");
set_color ("menu_selection", "darkgreen", "red");
set_color ("menu_selection_char", "yellow", "red");

set_color ("cursor", "black", "red");
set_color ("cursorovr", "black", "red");

%% The following have been automatically generated:
set_color("linenum", "yellow", "blue");
set_color("trailing_whitespace", $2, "brightmagenta");
set_color("tab", $2, "yellow");
set_color("keyword2", $1, $2);
set_color("keyword3", $1, $2);
set_color("keyword4", $1, $2);
set_color("keyword5", $1, $2);
set_color("keyword6", $1, $2);
set_color("keyword7", $1, $2);
set_color("keyword8", $1, $2);
set_color("keyword9", $1, $2);

[2006 date index] [2006 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]