[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: highlighter, i.e. yellow marker functionality
From: |
Drew Adams |
Subject: |
RE: highlighter, i.e. yellow marker functionality |
Date: |
Wed, 1 Oct 2014 12:41:50 -0700 (PDT) |
> Wondering if anyone has written or can recommend a function
> (built-in/add-on) that would give the ability similar to a yellow
> marker, e.g. where MB1 down would set the background color of all
> text
> over which the pointer passes. Bonus points for not marking
> beginning of
> line and end of line white space, just like one would do with a real
> marker. Thanks.
Yes, see library highlight.el.
http://www.emacswiki.org/HighlightLibrary
In particular, `hlt-highlighter', which is bound by default to
`C-x mouse-2', and `hlt-eraser', which is bound by default to
`C-x S-mouse-2'.