diff options
author | 2021-04-16 10:29:11 -0400 | |
---|---|---|
committer | 2021-04-16 10:29:11 -0400 | |
commit | dea80d78f9b1779fd29ba07e86b47643b27ff437 (patch) | |
tree | 34e31018d6d1d9e4315c352eb63635c339409a94 /modules/textadept | |
parent | faf8a95eea2a27ea1f776c9e61882bc27af9c735 (diff) |
Added ability to specify find & replace pane entry font via `ui.find.entry_font`.
Also use type checks when setting find & replace text and labels.
Diffstat (limited to 'modules/textadept')
-rw-r--r-- | modules/textadept/find.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua index df51048b..b8f70ca6 100644 --- a/modules/textadept/find.lua +++ b/modules/textadept/find.lua @@ -55,6 +55,9 @@ local M = ui.find -- @field in_files_label_text (string, Write-only) -- The text of the "In files" label. -- This is primarily used for localization. +-- @field entry_font (string, Write-only) +-- The font to use in the "Find" and "Replace" entries in "name size" format. +-- The default value is system-dependent. -- @field active (boolean) -- Whether or not the Find & Replace pane is active. -- @field highlight_all_matches (boolean) |