From 49d15f000a154bd44d0a586ab672b806bd9e33e0 Mon Sep 17 00:00:00 2001 From: kmkom Date: Wed, 18 Jun 2025 18:24:01 +0200 Subject: [PATCH] Minor optimization of the hint texts Placeholder texts slightly improved and standardized, with an additional hint text added to the replace:find input box. --- usr/lib/bulky/bulky.py | 4 ++++ usr/share/bulky/bulky.ui | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/usr/lib/bulky/bulky.py b/usr/lib/bulky/bulky.py index a10b51f..0b694a8 100755 --- a/usr/lib/bulky/bulky.py +++ b/usr/lib/bulky/bulky.py @@ -628,6 +628,10 @@ def on_scope_changed(self, widget): self.preview_changes() def on_widget_change(self, widget): + if self.replace_regex_check.get_active(): + self.find_entry.set_placeholder_text("Enter a regular expression; example: .+") + else: + self.find_entry.set_placeholder_text("Enter a search string; wildcards ? and * are supported.") self.preview_changes() def preview_changes(self): diff --git a/usr/share/bulky/bulky.ui b/usr/share/bulky/bulky.ui index 6ce6a60..ebf0f10 100644 --- a/usr/share/bulky/bulky.ui +++ b/usr/share/bulky/bulky.ui @@ -361,7 +361,7 @@ True True True - Use %n, %0n, %00n, %000n to enumerate. + Use %n, %0n, %00n, etc. to enumerate. 1 @@ -489,7 +489,7 @@ True True True - Use %n, %0n, %00n, %000n to enumerate. + Use %n, %0n, %00n, etc. to enumerate. 1