[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: overlays vs text properties
From: |
PJ Weisberg |
Subject: |
Re: overlays vs text properties |
Date: |
Wed, 13 Jul 2011 01:07:20 -0700 |
On Wednesday, July 13, 2011, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
> On Wed, Jul 13 2011, Eli Zaretskii wrote:
>> Sounds like overlays are better suited for this job, unless I'm
>> missing something.
>
> Only that there's no good way of moving overlays based on the movement
> of point!
I don't know if there's a good way of "moving" text properties at all. ;-)
I know of one library (Magit) that moves its "highlight" overlay to
the current section in a post-command-hook.
--
-PJ