help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: narrow color bar using display properties


From: Stefan Monnier
Subject: Re: narrow color bar using display properties
Date: Tue, 05 Mar 2013 10:46:05 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> I've got my cursor-type set to a colored bar, and looking at it today I
> thought it would be very nice if I could create a similar effect with
> code: presumably using text properties (I'm guessing the display
> property) to lay a bar of color (either background color or a
> transparent foreground color) over existing text, only a couple of
> pixels wide and aligned left, without otherwise disturbing the placement
> of the text beneath.

I can't think of any way to get this effect with the current display
tricks provided to Elisp.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]