Re: [code] [textadept] Whitespace background (was: output from spawn on Windows?)

From: Robert Gieseke <>
Date: Sat, 07 Feb 2015 11:55:59 +0100

Am 07/02/15 um 00:00 schrieb Mateusz Czaplinski:
> Also, unrelated question (should I open a new email thread for such in
> future?): I wanted to make whitespace markers visible, but somewhat faded
> in colour. I'm using the base16-tomorrow-dark theme, which doesn't seem to
> provide colors for whitespace. So, I wrote a function which builds a color
> between 'fore' color and 'back' color, and assigns it to
> `['style.whitespace']`. Now, to what event(s) should I
> connect the function? I tried the LEXER_LOADED event (as is suggested
> somewhere in the manual for tab width settings), but it works weirdly: the
> "faded" colour shows up only after leaving a tab and coming back to it;
> initially, the whitespace colors are "full" (from the main base16-...
> theme). And, doesn't seem to "fade" on e.g. the [Message Buffer]. (How) can
> I fix those issues?

Interesting idea!
Putting something like['style.whitespace'] = 'back:0x80CCCC'

or (with your function)['style.whitespace'] =

in your

should work.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Sat 07 Feb 2015 - 05:55:59 EST

This archive was generated by hypermail 2.2.0 : Sat 07 Feb 2015 - 06:34:18 EST