From d5121278a2f91f02cd8afe1c475e5702669ce2a4 Mon Sep 17 00:00:00 2001 From: h-east Date: Sat, 19 Jul 2025 11:19:18 +0900 Subject: [PATCH] Update tabpage.{txt,jax} --- doc/tabpage.jax | 5 ++++- en/tabpage.txt | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/tabpage.jax b/doc/tabpage.jax index 023e450b9..1cfd80a55 100644 --- a/doc/tabpage.jax +++ b/doc/tabpage.jax @@ -1,4 +1,4 @@ -*tabpage.txt* For Vim バージョン 9.1. Last change: 2025 Jul 01 +*tabpage.txt* For Vim バージョン 9.1. Last change: 2025 Jul 17 VIMリファレンスマニュアル by Bram Moolenaar @@ -366,6 +366,9 @@ GUI のタブページラインにはポップアップメニューがありま のウィンドウの個数も表示されます。よって "3+" という表示は3個のウィンドウを含 む、そのうちの1つが変更されているバッファを含むということを意味します。 +複数のタブページが開いていて、'mouse' が有効になっている場合にのみ、最後のカラ +ムに "X" (閉じるボタン) が表示されます。 + オプション 'tabline' を使って、タブページラベルを好みの表示に設定できます。こ れはあまり簡単ではないので、サンプルを用意してあります。 diff --git a/en/tabpage.txt b/en/tabpage.txt index 4b0b591b4..4f46ddd0a 100644 --- a/en/tabpage.txt +++ b/en/tabpage.txt @@ -1,4 +1,4 @@ -*tabpage.txt* For Vim version 9.1. Last change: 2025 Jul 01 +*tabpage.txt* For Vim version 9.1. Last change: 2025 Jul 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -363,6 +363,9 @@ A "+" will be shown for a tab page that has a modified window. The number of windows in a tabpage is also shown. Thus "3+" means three windows and one of them has a modified buffer. +An "X" (close button) will appear in the last column when multiple tabs are +open, but only if the 'mouse' is enabled. + The 'tabline' option allows you to define your preferred way to tab pages labels. This isn't easy, thus an example will be given here.