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

[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

1.
> 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:
https://www.thegeekstuff.com/2010/06/vimdiff-file-diff-tool/
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.

-- 
Gretz,
Ofir Tadmor

ICQ: 77685691
Mail: otadmor@gmail.com



reply via email to

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