[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Background color past the end of the buffer
From: |
Yuri D'Elia |
Subject: |
Re: Background color past the end of the buffer |
Date: |
Fri, 7 Aug 2015 19:22:28 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.1.0 |
On 13/07/15 04:08, Vaidheeswaran C wrote:
> On Monday 13 July 2015 12:24 AM, Yuri D'Elia wrote:
>> In a hack I'm doing, I want to define a binary boundary in
>> the text (in the sense: above/below), and I do that by changing the
>> background color of one of the two.
>>
>> I just overlay the region I'm interested in, but I want to extend the
>> background color of the face to the end of the frame, since it creates a
>> visually ambiguous situation otherwise (besides not looking good).
>>
>> Maybe I can just temporarily extend the buffer content instead, but I
>> would loose the EOF fringe indicator and need to calculate how much
>> lines I need to append...
>
>
> A picture is worth a thousand words. Why not share a picture.
Forgot about this, but there was one test I needed it for:
https://github.com/k-talo/volatile-highlights.el/pull/9
for a true inverse highlight you'd need to fill the background correctly.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Background color past the end of the buffer,
Yuri D'Elia <=