diff options
Diffstat (limited to 'modules/textadept/find.lua')
-rw-r--r-- | modules/textadept/find.lua | 38 |
1 files changed, 17 insertions, 21 deletions
diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua index 8e6ef20f..62fbc5fe 100644 --- a/modules/textadept/find.lua +++ b/modules/textadept/find.lua @@ -5,53 +5,49 @@ local find = gui.find --[[ This comment is for LuaDoc. --- -- Textadept's integrated find/replace dialog. -module('gui.find')]] - --- Markdown: --- ## Fields --- --- * `find_entry_text` [string] +-- @field find_entry_text (string) -- The text in the find entry. --- * `replace_entry_text` [string] +-- @field replace_entry_text (string) -- The text in the replace entry. --- * `match_case` [bool] +-- @field match_case (bool) -- Searches are case-sensitive. --- * `whole_word` [bool] +-- @field whole_word (bool) -- Only whole-word matches are allowed in searches. --- * `lua` [bool] +-- @field lua (bool) -- The search text is interpreted as a Lua pattern. --- * `in_files` [bool] +-- @field in_files (bool) -- Search for the text in a list of files. --- * `find_label_text` [string] (Write-only) +-- @field find_label_text (string, Write-only) -- The text of the 'Find' label. -- This is primarily used for localization. --- * `replace_label_text` [string] (Write-only) +-- @field replace_label_text (string, Write-only) -- The text of the 'Replace' label. -- This is primarily used for localization. --- * `find_next_button_text` [string] (Write-only) +-- @field find_next_button_text (string, Write-only) -- The text of the 'Find Next' button. -- This is primarily used for localization. --- * `find_prev_button_text` [string] (Write-only) +-- @field find_prev_button_text (string, Write-only) -- The text of the 'Find Prev' button. -- This is primarily used for localization. --- * `replace_button_text` [string] (Write-only) +-- @field replace_button_text (string, Write-only) -- The text of the 'Replace' button. -- This is primarily used for localization. --- * `replace_all_button_text` [string] (Write-only) +-- @field replace_all_button_text (string, Write-only) -- The text of the 'Replace All' button. -- This is primarily used for localization. --- * `match_case_label_text` [string] (Write-only) +-- @field match_case_label_text (string, Write-only) -- The text of the 'Match case' label. -- This is primarily used for localization. --- * `whole_word_label_text` [string] (Write-only) +-- @field whole_word_label_text (string, Write-only) -- The text of the 'Whole word' label. -- This is primarily used for localization. --- * `lua_pattern_label_text` [string] (Write-only) +-- @field lua_pattern_label_text (string, Write-only) -- The text of the 'Lua pattern' label. -- This is primarily used for localization. --- * `in_files_label_text` [string] (Write-only) +-- @field in_files_label_text (string, Write-only) -- The text of the 'In files' label. -- This is primarily used for localization. +module('gui.find')]] local _L = _L find.find_label_text = _L['Find:'] |