From d807c2c2b005badbef80c45cc79d0f5ed5730ba9 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Tue, 9 Feb 2021 12:58:21 -0500 Subject: Added `ui.SHOW_ALL_TABS` option for `ui.tabs`. Textadept hides the first tab by default since its information is duplicated in the titlebar and screen space is wasted. However, some users choose to hide titlebars (e.g. on window maximize/fullscreen), so this option now exists. --- docs/api.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs') diff --git a/docs/api.md b/docs/api.md index fe613407..958c69a0 100644 --- a/docs/api.md +++ b/docs/api.md @@ -7795,6 +7795,12 @@ Utilities for interacting with Textadept's user interface. ### Fields defined by `ui` + +#### `ui.SHOW_ALL_TABS` (number) + + + + #### `ui.buffer_statusbar_text` (string, Write-only) @@ -7844,6 +7850,8 @@ The context menu for the buffer's tab, a [`ui.menu()`](#ui.menu). Whether or not to display the tab bar when multiple buffers are open. The default value is `true`. + A third option, `ui.SHOW_ALL_TABS` may be used to always show the tab bar, + even if only one buffer is open. #### `ui.title` (string, Write-only) -- cgit v1.2.3