From 6b9cd9fa9c59bcc5cda543e0f154612b967ef9d5 Mon Sep 17 00:00:00 2001 From: Asumu Takikawa Date: Wed, 2 Mar 2016 03:54:18 -0500 Subject: [PATCH] Fix docs for get-search-hit-count to match code --- gui-doc/scribblings/framework/text.scrbl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gui-doc/scribblings/framework/text.scrbl b/gui-doc/scribblings/framework/text.scrbl index d84ce757..4ba30e4a 100644 --- a/gui-doc/scribblings/framework/text.scrbl +++ b/gui-doc/scribblings/framework/text.scrbl @@ -539,8 +539,9 @@ @racket['framework:anchored-search] preference is on. } - @defmethod[(get-search-hit-count) number?]{ - Returns the number of hits for the search in the buffer, based on the count + @defmethod[(get-search-hit-count) (values number? number?)]{ + Returns the number of hits for the search in the buffer before the + insertion point and the total number of hits. Both are based on the count found last time that a search completed. }