]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0360: Cannot handle mouse-clicks in the tabpanel v9.2.0360
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Thu, 16 Apr 2026 20:29:33 +0000 (20:29 +0000)
committerChristian Brabandt <cb@256bit.org>
Thu, 16 Apr 2026 20:33:00 +0000 (20:33 +0000)
commit1c299f26316cde3f32ec95b7c440e868ada0cb20
treec8ed1816f0244c43949bfef088f5c488af5f7207
parent25e9fc44a87792a7de9a1f158ce23295480ef5e8
patch 9.2.0360: Cannot handle mouse-clicks in the tabpanel

Problem:  Cannot handle mouse-clicks in the tabpanel
Solution: Add support using the %[FuncName] atom for the tabpanel
          (Yasuhiro Matsumoto)

Extend the statusline/tabline click region mechanism to work with
'tabpanel'. The callback receives a dict with "area" set to "tabpanel"
and a "tabnr" key indicating which tab page label was clicked.

closes: #19960

Signed-off-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/options.txt
runtime/doc/version9.txt
src/globals.h
src/mouse.c
src/screen.c
src/structs.h
src/tabpanel.c
src/testdir/test_tabpanel.vim
src/version.c