Fix API documentation broken in eb8577a424

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2015-12-22 18:31:48 +01:00
parent 4ad516c63a
commit 16994f3b12
2 changed files with 4 additions and 0 deletions

View File

@ -122,6 +122,7 @@ end
--- Cut item list to return only current page.
-- @tparam table all_items All items list.
-- @tparam str query Search query.
-- @tparam number scr Screen number
-- @return table List of items for current page.
local function get_current_page(all_items, query, scr)
if not instance.prompt.width then
@ -160,6 +161,7 @@ end
--- Update the menubar according to the command entered by user.
-- @tparam str query Search query.
-- @tparam number scr Screen number
local function menulist_update(query, scr)
query = query or ""
shownitems = {}

View File

@ -256,6 +256,7 @@ end
--- Compute textbox width.
-- @tparam wibox.widget.textbox textbox Textbox instance.
-- @tparam number s Screen number
-- @treturn int Text width.
function utils.compute_textbox_width(textbox, s)
s = s or mouse.screen
@ -265,6 +266,7 @@ end
--- Compute text width.
-- @tparam str text Text.
-- @tparam number s Screen number
-- @treturn int Text width.
function utils.compute_text_width(text, s)
return utils.compute_textbox_width(wibox.widget.textbox(awful_util.escape(text)), s)