Bug: "Find and Do, Count" counts 1 too many

4 views
Skip to first unread message

Carlo Hogeveen

unread,
Feb 10, 2022, 9:34:37 AM2/10/22
to Semware @ GoogleGroups

 

If I create a new empty buffer and add the line

   one two three

and then use the menu

   Search -> Find and Do -> “two” -> “gin” -> Count,

then it reports “2 occurrence(s) found”.

 

For me counting with “Find and Do” consistently reports 1 occurrence too many.

 

Carlo

 

 

knud van eeden

unread,
Feb 10, 2022, 9:56:43 AM2/10/22
to Semware @ GoogleGroups
Reproduced here in clean 4.42.00 (result is 2 instead of expected 1):

PROC Main()
 INTEGER bufferI = CreateTempBuffer()
 AddLine( "one two three" )
END

with friendly greetings
Knud van Eeden

Fred H Olson

unread,
Feb 10, 2022, 10:31:14 AM2/10/22
to Semware @ GoogleGroups

I tried Find&DO / count for "1" / (ig) on a couple files
and then did lfind("1","igv") on the same files.
Find&Do reported one more than the compressed view.

Which reminds me, I wish I had a way that a macro could
retrieve the text displayed by the last (several?) message() and warn()
procs so some interactive procedures could be better used in macros.
Maybe in a buffer like Capture? Is there a way to do something like
that now? Sorry I dont have a more specific example ready to share.

Fred
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/semware/001801d81e8b%2452db2290%24f89167b0%24%40ecarlo.nl.
>

--
Fred H. Olson Minneapolis,MN 55411 USA (near north Mpls)
Email: fholson at cohousing.org 612-588-9532
My Link Pg: http://fholson.cohousing.org

S.E. Mitchell

unread,
Mar 12, 2022, 9:40:40 AM3/12/22
to TSEPro Support
Find&Do count option has been fixed.
--
Sammy Mitchell
Reply all
Reply to author
Forward
0 new messages