jed-users mailing list

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

Re: highlighting - tab/trailing etc


Hi Mark,

Olesen, Mark schrieb am Mon 20. Aug, 08:44 (+0200):
> > > Regardless of which colors I set (eg, the default1 color scheme) the
> > "tab"
> > > and "trailing_whitespace" do not seem to be highlighted.
> > 
> > Which mode do you use? The work only with old‐style highlighting (not
> > DFA). For DFA highlighting, the mode must support them.
> 
> I find the same thing for modes with DFA highlighting (eg, c mode) and modes
> without DFA highlighting (eg, perl mode). Is there something else that I
> should be checking?

I've these lines in my jed.rc:
% Color Settings
% Look at jed/lib/color/README for a description of predefined color
% schemes.
set_color_scheme ("black3");

set_color("trailing_whitespace", "black", "yellow");
set_color("delimiter", "yellow", "black");
set_color("tab", "black", "yellow");
set_color("...", "brightgreen", "black");

In a simple text file (/tmp/bla.txt) the highlighting of trailing
whitespaces work. But that's a mode with old syntax highlighting.

I.e. the highlighting of trailing whitespaces does not work in E-Mail
mode (from jed-modes). In my LaTeX mode, I've defined this rule to make
trailing_whitespace visible:
dfa_define_highlight_rule("[ \t]+$", "trailing_whitespace", "LaTeX");

I hope this helps anyhow.

Bye, Jörg.
-- 
Diskutiere nie mit einem Idioten:
Sie ziehen Dich auf ihr Niveau herab und schlagen Dich dann mit
Erfahrung.

Attachment: pgp_5sUOG3o3z.pgp
Description: PGP signature


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