diff options
author | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2021-02-09 12:58:21 -0500 |
---|---|---|
committer | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2021-02-09 12:58:21 -0500 |
commit | d807c2c2b005badbef80c45cc79d0f5ed5730ba9 (patch) | |
tree | c5b56dc8e9f364dc99a230502ccedcfc4c2c8486 /docs | |
parent | f001ff09ff3a8b34c8550a66a31e1dd89955f038 (diff) |
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.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/api.md | 8 |
1 files changed, 8 insertions, 0 deletions
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` +<a id="ui.SHOW_ALL_TABS"></a> +#### `ui.SHOW_ALL_TABS` (number) + + + + <a id="ui.buffer_statusbar_text"></a> #### `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. <a id="ui.title"></a> #### `ui.title` (string, Write-only) |