From 51d10694ebf862ff614706ce83bc31ce57562d58 Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Wed, 21 Aug 2024 15:06:37 +0200 Subject: [PATCH] Lua: Add param type Change-Id: I0b9212ba0d030a21b342dabafc8bae3b4bb16af7 Reviewed-by: Marcus Tillmanns Reviewed-by: --- src/plugins/lua/meta/texteditor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/meta/texteditor.lua b/src/plugins/lua/meta/texteditor.lua index 8cd4bce5d5e..2bdb5ff89ca 100644 --- a/src/plugins/lua/meta/texteditor.lua +++ b/src/plugins/lua/meta/texteditor.lua @@ -65,7 +65,7 @@ function TextEditor:cursor() end ---Adds a floating widget at the specified position in the text editor. ---The widget will be positioned at the location corresponding to the given position in the ---text document and will be automatically managed to stay pined to that position. ----@param widget Widget The widget to be added as a floating widget. +---@param widget Widget|Layout The widget to be added as a floating widget. ---@param position integer The position in the document where the widget should appear. function TextEditor:addFloatingWidget(widget, position) end