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