emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to implement mouse highlighing in tabulated list mode, just like


From: Eli Zaretskii
Subject: Re: How to implement mouse highlighing in tabulated list mode, just like for buttons?
Date: Sat, 04 Feb 2023 19:05:59 +0200

> Date: Sat, 04 Feb 2023 17:52:41 +0100
> From: Jean Louis <bugs@gnu.support>
> 
> I would prefer if I can hover hl-line-mode highlighted line up and
> down by only moving the mouse in tabulated list mode. 
> 
> Is that possible somehow?
> 
> Or if highlighted line from hl-line-mode is not movable, then maybe it
> could be possible to highlight lines in tabulated list mode, in the
> same way how lines are highlighted when mouse hovers over Emacs buttons.

Put the mouse-face property on each line, and you have it.

  (add-text-properties (line-beginning-position) (line-end-position)
                       '(mouse-face highlight))



reply via email to

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