Re: visible tabs and trailing spaces



On Sun, Feb 13, 2005 at 12:56:26PM +0100, Oswald Buddenhagen wrote:
> +++ edit/editdraw.c	13 Feb 2005 11:40:35 -0000
> +		if (color == EDITOR_NORMAL_COLOR)
>
fwiw, this test sucks, because it disables visible whitespace in any
syntax-highlitet text. what we really need to find out is, whether the
physical background color matches.
so if somebody understands how the palette works and can come up with a
fast comparison ...

> +		    set_color (EDITOR_WHITESPACE_COLOR);
> +		else {
> +		    textchar = ' ';
> +		    lowlevel_set_color (color);
> +		}

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]