[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: supporting mouse-entered, mouse-left
From: |
Stefan Monnier |
Subject: |
Re: supporting mouse-entered, mouse-left |
Date: |
Fri, 31 Jul 2009 15:16:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
> I would like to highlight certain identifiers (such as all uses
> of a particular local variable in a function) simultaneously
> when the mouse enters any of them.
> I've scoured the documentation, and I don't see a way to
> accomplish this feat.
You can probably do it via track-mouse, but it's likely not going to
satisfy your needs quite like you want to.
> Would it be reasonable to add mouse-entered and mouse-left
> properties analogous to point-entered and point-left?
That sounds reasonable, yes.
> Alternately (or in addition), it might be nice to have text
> properties analogous to the mouseenter, mouseleave and
> possibly mouseover standard browser events, which would
> fire at the granularity of pixels rather than characters.
For text, I'm not sure it's worth the trouble. For images, I believe we
do have something that goes in this direction (tho not for mouse
movement).
Another way might be to check for a `mouse-movement' binding on the
keymap under the mouse cursor.
Stefan
- supporting mouse-entered, mouse-left, Steve Yegge, 2009/07/31
- RE: supporting mouse-entered, mouse-left, Drew Adams, 2009/07/31
- RE: supporting mouse-entered, mouse-left, Stephen J. Turnbull, 2009/07/31
- RE: supporting mouse-entered, mouse-left, Drew Adams, 2009/07/31
- RE: supporting mouse-entered, mouse-left, Drew Adams, 2009/07/31
- Re: supporting mouse-entered, mouse-left, Steve Yegge, 2009/07/31
- RE: supporting mouse-entered, mouse-left, Drew Adams, 2009/07/31
- Re: supporting mouse-entered, mouse-left, Stephen J. Turnbull, 2009/07/31
Re: supporting mouse-entered, mouse-left, Steve Yegge, 2009/07/31
Re: supporting mouse-entered, mouse-left,
Stefan Monnier <=