]> git.neil.brown.name Git - edlib.git/commit
emacs: put a menu on the selection.
authorNeilBrown <neil@brown.name>
Fri, 8 Sep 2023 05:19:39 +0000 (15:19 +1000)
committerNeilBrown <neil@brown.name>
Fri, 8 Sep 2023 05:22:01 +0000 (15:22 +1000)
commit38e9db12d543ae47ed6f710a594c9b90e35dd1e1
treecc85cf024900c958a52d0469d8c8600c5290c457
parenta768884c94ee59b47ee66c4577d77a560057e296
emacs: put a menu on the selection.

The selection can now trigger a menu (right-click)
to which other modules can easily add entries.

Also: don't claim selection until we are clearly starting one.  A single
click doesn't start a menu.

Also: allow menus to be placed at-mouse rather than always at start
of the active region.

Signed-off-by: NeilBrown <neil@brown.name>
DOC/TODO.md
lib-menu.c
mode-emacs.c
render-lines.c
tests.d/00-mouse