aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api.md10
-rw-r--r--docs/manual.md2
2 files changed, 12 insertions, 0 deletions
diff --git a/docs/api.md b/docs/api.md
index b601efad..f3f8b180 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -7996,6 +7996,16 @@ The height in pixels of the command entry.
### Functions defined by `ui.command_entry`
+<a id="ui.command_entry.append_history"></a>
+#### `ui.command_entry.append_history`(*text*)
+
+Appends the given text to the history for the current or most recent command
+entry mode.
+
+Parameters:
+
+* *`text`*: String text to append to history.
+
<a id="ui.command_entry.focus"></a>
#### `ui.command_entry.focus`()
diff --git a/docs/manual.md b/docs/manual.md
index 4fce4653..1efe9acc 100644
--- a/docs/manual.md
+++ b/docs/manual.md
@@ -1916,6 +1916,7 @@ N/A |Added |[highlight_all_matches][]
bufstatusbar\_text |Renamed |[buffer_statusbar_text][]
**ui.command_entry** | |
N/A |Added |[active][]
+N/A |Added |[append_history][]
**ui.dialogs** | |
N/A |Added |[progressbar()][]
**ui.find** | |
@@ -1962,6 +1963,7 @@ section below.
[paths]: api.html#textadept.snippets.paths
[buffer_statusbar_text]: api.html#ui.buffer_statusbar_text
[active]: api.html#ui.command_entry.active
+[append_history]: api.html#ui.command_entry.append_history
[progressbar()]: api.html#ui.dialogs.progressbar
##### Buffer Indexing Changes