[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Text highlighter functiontionality
From: |
Thierry Volpiatto |
Subject: |
Re: Text highlighter functiontionality |
Date: |
Fri, 24 Jul 2009 19:03:32 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) |
Hi, i didn't follow this post, so i don't know really what you want.
But if you want to save a region anywhere in emacs and retrieve it at
every emacs session, you can use bookmark+.el.
"stephan.zimmer" <stephan.zimmer@googlemail.com> writes:
> Many thanks for all of your answers.
>
>> But if you want to mark a region and highlight it you could use a simple
>> function to create an overlay. Here's an example function which
>> highlights current active region. You can remove the highlighting by
>> just editing text inside it.
>
> This sounds pretty much like what I need. Currently I'm slightly
> extending Teemu's function in such a way that I can also deselect
> parts of a selection. My ultimate plan is to add a toggle function,
> which would allow to select and deselect arbitrary portions of text
> with one function. If that turns out to be interesting for more of you
> I will post the code.
>
--
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France