From 4e366790c0c7a91e0a90b70c3f7f368ae2ea033a Mon Sep 17 00:00:00 2001 From: John Cosker Date: Mon, 6 Feb 2023 09:29:31 -0500 Subject: [PATCH] Changelog/documentation for key_back --- docs/changelog.txt | 1 + docs/dev/Lua API.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog.txt b/docs/changelog.txt index ea140f451..b024271e9 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -46,6 +46,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences: ## API ## Lua +- ``widgets.CycleHotkeyLabel``: Added ``key_back`` optional parameter to cycle backwards. ## Removed diff --git a/docs/dev/Lua API.rst b/docs/dev/Lua API.rst index c63be53f4..ad1dc6a46 100644 --- a/docs/dev/Lua API.rst +++ b/docs/dev/Lua API.rst @@ -4816,7 +4816,7 @@ cycle through by pressing a specified hotkey or clicking on the text. It has the following attributes: :key: The hotkey keycode to display, e.g. ``'CUSTOM_A'``. -:key_back: Similar to `key`, but will cycle backwards (optional) +:key_back: Similar to ``key``, but will cycle backwards (optional) :label: The string (or a function that returns a string) to display after the hotkey. :label_width: The number of spaces to allocate to the ``label`` (for use in