runtime(doc): Update docs about tabpanel

closes: #20067

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Hirohito Higashi
2026-04-25 17:55:55 +00:00
committed by Christian Brabandt
parent 1940bcb243
commit 32a30cb5a0
2 changed files with 8 additions and 9 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
*tabpage.txt* For Vim version 9.2. Last change: 2026 Apr 21
*tabpage.txt* For Vim version 9.2. Last change: 2026 Apr 25
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -484,15 +484,15 @@ groups: |hl-TabPanel| |hl-TabPanelSel| |hl-TabPanelFill|
SCROLLING IN THE TABPANEL: *tabpanel-scroll*
When the total height of the tab list exceeds the visible screen height, the
tabpanel by default displays the "page" that contains the current tab and
offers no way to view tabs outside that page.
When the total height of the tab page list exceeds the visible screen height,
the tabpanel by default displays the "page" that contains the current tab page
and offers no way to view tab pages outside that page.
To make the tabpanel scrollable, add "scroll" to 'tabpanelopt': >
:set tabpanelopt+=scroll
With "scroll" enabled, mouse wheel events over the tabpanel area scroll the
tab list up or down. The scroll step follows the 'mousescroll' setting.
tab page list up or down. The scroll step follows the 'mousescroll' setting.
Wheel events inside the tabpanel area are consumed by the tabpanel and do not
trigger |<ScrollWheelUp>| or |<ScrollWheelDown>| mappings.
+3 -4
View File
@@ -1,4 +1,4 @@
*version9.txt* For Vim version 9.2. Last change: 2026 Apr 21
*version9.txt* For Vim version 9.2. Last change: 2026 Apr 25
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -52616,9 +52616,8 @@ Other ~
- Allow mouse clickable regions in the 'statusline', 'tabline' and the
'tabpanel' using the |stl-%[FuncName]| atom.
- Enable reflow support in the |:terminal|.
- Added "scroll" and "scrollbar" sub-options to 'tabpanelopt' so the
tabpanel can scroll when the tab list exceeds the visible screen
height.
- Added "scroll" and "scrollbar" sub-options to 'tabpanelopt' so the tabpanel
can scroll when the tab page list exceeds the visible screen height.
Platform specific ~
-----------------