Lua: Fix documentation

Change-Id: I7ecec0da7220258c788f3508804f767b468c9c29
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Marcus Tillmanns
2024-09-17 13:11:57 +02:00
parent 950f5abbe1
commit 2e20480852

View File

@@ -73,7 +73,8 @@ function TextEditor:addFloatingWidget(widget, position) end
---@return TextEditor|nil editor The currently active editor or nil if there is none.
function textEditor.currentEditor() end
---@return CyclicSuggestion|nil The current suggestion if available. Otherwise nil.
---Returns the current suggestion of the current editor if available.
---@return CyclicSuggestion|nil suggestion The current suggestion if available. Otherwise nil.
function textEditor.currentSuggestion() end
return textEditor