From 55a19f6228b60d99f788da84db0849fac458e280 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 31 May 2024 11:39:39 +0530 Subject: [PATCH] string changes --- src/calibre/gui2/fts/search.py | 2 +- src/pyj/book_list/fts.pyj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/fts/search.py b/src/calibre/gui2/fts/search.py index a186758e4e..078d97f5aa 100644 --- a/src/calibre/gui2/fts/search.py +++ b/src/calibre/gui2/fts/search.py @@ -803,7 +803,7 @@ p { margin: 0; }
NEAR("people" "in Asia" "try")
NEAR("Kovid" "calibre", 30)

Here, 30 is the most words allowed between near groups. Defaults to 10 when unspecified.

-
Full syntax reference
+
Complete syntax reference
''' + '').format(fts_url=fts_url)) hp.setFocusPolicy(Qt.FocusPolicy.NoFocus) hp.document().setDocumentMargin(0) diff --git a/src/pyj/book_list/fts.pyj b/src/pyj/book_list/fts.pyj index b45fef4e78..64a2423eef 100644 --- a/src/pyj/book_list/fts.pyj +++ b/src/pyj/book_list/fts.pyj @@ -204,7 +204,7 @@ def clear_to_help():
NEAR("people" "in Asia" "try")
NEAR("Kovid" "calibre", 30)

Here, 30 is the most words allowed between near groups. Defaults to 10 when unspecified.

-
Full syntax reference
+
Complete syntax reference
''' + '').format(fts_url=fts_url) container.innerHTML = html a = container.querySelector('a[href]')