From 3b2909854ebab9d22efe70eebaee1bca01bc3012 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 21 Aug 2018 00:06:14 +0900 Subject: Improved description of "what's this" for placeholder in Find and Replace dialog. This relates to bug 2558. Signed-off-by: Michele Calgaro --- tdeutils/kfinddialog.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tdeutils') diff --git a/tdeutils/kfinddialog.cpp b/tdeutils/kfinddialog.cpp index 9937cd188..47a876611 100644 --- a/tdeutils/kfinddialog.cpp +++ b/tdeutils/kfinddialog.cpp @@ -254,10 +254,13 @@ void KFindDialog::init(bool forReplace, const TQStringList &findStrings, bool ha TQWhatsThis::add ( m_replace, i18n( "Enter a replacement string, or select a previous one from the list.") ); TQWhatsThis::add( m_backRef, i18n( - "If enabled, any occurrence of \\N, where " - "N is a integer number, will be replaced with " + "When regular expressions are enabled, you can select part of the searched text by " + "enclosing it within parenthesis. Placeholders allow you to insert such text in the " + "replacement string, similar to how backreferences are used in sed. When enabled, " + "any occurrence of \\N (where N " + "is a integer number, e.g. \\1, \\2, ...), will be replaced with " "the corresponding capture (\"parenthesized substring\") from the " - "pattern.

To include (a literal \\N in your " + "pattern.

To include a literal \\N in your " "replacement, put an extra backslash in front of it, like " "\\\\N.") ); TQWhatsThis::add ( m_backRefItem, i18n( -- cgit v1.2.1