From dea80d78f9b1779fd29ba07e86b47643b27ff437 Mon Sep 17 00:00:00 2001
From: mitchell <70453897+orbitalquark@users.noreply.github.com>
Date: Fri, 16 Apr 2021 10:29:11 -0400
Subject: 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.
---
docs/api.md | 6 ++++++
docs/manual.md | 4 +++-
2 files changed, 9 insertions(+), 1 deletion(-)
(limited to 'docs')
diff --git a/docs/api.md b/docs/api.md
index 251b037a..61d61dbe 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -8390,6 +8390,12 @@ Emitted when a text search wraps (passes through the beginning of the buffer), e
Whether or not the Find & Replace pane is active.
+
+#### `ui.find.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.
+
#### `ui.find.find_entry_text` (string)
diff --git a/docs/manual.md b/docs/manual.md
index 769045fa..6189a984 100644
--- a/docs/manual.md
+++ b/docs/manual.md
@@ -1298,6 +1298,7 @@ A theme consists of a single Lua file, and is typically responsible for:
and documentation popups.
* Specifying what symbols to use for margin markers and how to display visual elements like
the brace match indicator and snippet placeholders.
+* Specifying the find & replace pane entry font name and size.
[colors]: api.html#lexer.colors
[text display settings]: api.html#lexer.styles
@@ -1334,7 +1335,8 @@ your changes.
[`reset()`]: api.html#reset
The widgets in the GUI version of Textadept cannot be themed using Lua theme files. Instead,
-you must use [GTK Resource Files][], which are part of the GUI toolkit Textadept uses.
+you must use [GTK Resource Files][], which are part of the GUI toolkit Textadept uses. The
+exception to this is find & replace entry font, which can be changed.
**Note:** Textadept's pre-built binaries are built for and linked against GTK 2,
not GTK 3.
--
cgit v1.2.3