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

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

Re: Highlighted text which is not part of the buffer?


From: David Kastrup
Subject: Re: Highlighted text which is not part of the buffer?
Date: Sat, 14 Jul 2007 08:50:25 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

"spamfilteraccount@gmail.com" <spamfilteraccount@gmail.com> writes:

> I created an empty overlay with before-string set and added a face
> property,

_Where_ did you add the face property?  To the overlay?  To the
before-string?

> but the before-string is not highlighted. (If the overlay is not
> empty, there is some real text in it then the before string is
> highlighted together with the real text.)

Probably only if the face property is inherited to the left.

> Is there an other way to show text with face properties which is not
> part of the buffer?

Put the face property on the before-string (I'd prefer using the
'display property).

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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