aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/find.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-03-16 16:53:53 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-03-16 16:53:53 -0400
commitbdccda5d155578f6564bd7b13f1d1affd48b0671 (patch)
tree2f62fe3c2ce5c9d8cb7fe3125fd74360faedf248 /modules/textadept/find.lua
parentc80a277bc7d220465ad46848b4dc805698e30895 (diff)
downloadtextadept-bdccda5d155578f6564bd7b13f1d1affd48b0671.tar.gz
textadept-bdccda5d155578f6564bd7b13f1d1affd48b0671.zip
Moved "Markdown:" comments into module LuaDoc comments.
Diffstat (limited to 'modules/textadept/find.lua')
-rw-r--r--modules/textadept/find.lua38
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:']