]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1461: tabpanel: tabpanel vanishes with popup menu v9.1.1461
authorHirohito Higashi <h.east.727@gmail.com>
Mon, 16 Jun 2025 17:39:24 +0000 (19:39 +0200)
committerChristian Brabandt <cb@256bit.org>
Mon, 16 Jun 2025 17:39:24 +0000 (19:39 +0200)
commite5c96e344c2f049e1965872742cbec6c6b7ea46a
treeec3e7fa3125810344abef8e77064de6d1cd0d2ab
parente5297e39b3b7fcc1da55ef7869cc0c7714b01bc2
patch 9.1.1461: tabpanel: tabpanel vanishes with popup menu

Problem:  tabpanel: tabpanel vanishes with popup menu
Solution: remove pum-related test in tabpanel_leftcol(), refactor a few
          related functions (Hirohito Higashi)

This commit does the following:
- Delete unnecessary pum-related checks in the tabpanel_leftcol()
  function
- remove pum-related check in tabpanel_leftcol()
- The argument of the TPL_LCOL() macro has been deleted.
- The argument of the tabpanel_leftcol() function has been changed
  to void
- The return type of the `win_comp_pos()` function has been changed to
  void

closes: #17549

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/autocmd.c
src/proto/tabpanel.pro
src/proto/window.pro
src/tabpanel.c
src/testdir/dumps/Test_tabpanel_with_cmdline_pum_0.dump [new file with mode: 0644]
src/testdir/dumps/Test_tabpanel_with_cmdline_pum_1.dump [new file with mode: 0644]
src/testdir/test_tabpanel.vim
src/version.c
src/vim.h
src/window.c