[Top][All Lists]

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

Re: Overlay after-string with cursor (Stefan Monnier)

From: otadmor .
Subject: Re: Overlay after-string with cursor (Stefan Monnier)
Date: Mon, 12 Aug 2019 01:24:19 +0300

> You can control where the cursor is displayed in the after-string, with
> the `cursor` property.  Doing in it such a way that it gives the
> illusion that you can put the cursor "wherever you want" can be a bit
> fiddly
As I understand, setting the cursor property allows me to put the
cursor only in one position inside my overlay.
I want the user to be able to move the cursor inside the overlay when
using the after-string property.
> so I think it's worth clarifying why exactly you want something
> like that, so as to be better decide how to attack the problem.
Im trying to implement something visually similar to what vimdiff has,
as in this URL:
In there, you can see the lines filled with "....................."
where there is no content in the line of the first file and there is
content in the matching line in the second file.
Hope this makes it clearer and that I managed to reply this thread correctly.

Ofir Tadmor

ICQ: 77685691

reply via email to

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