Suggestion: Find + Count option

Working on new editor enhancements?
vmars316
Enthusiast
Enthusiast
Posts: 474
Joined: Fri Jun 29, 2012 12:24 am
Contact:

Suggestion: Find + Count option

Post by vmars316 »

Find + Count option
Post by vmars316 » Wed Jun 28, 2023 3:41 pm

Greetings ,
I wish for the Find/Replace dialog , to add a COUNT (occurrences) .
I do my Html , Css , Js programming using Notepad++ .
And it has a COUNT (occurrences) Button .
It is very handy .
Currently , to get a Count with .pb , I have to dump my source.pb into Notepad++ , then press Count .
vmars.us Win11 x64 , Martin Guitar 000-16 (1995)
"All things in moderation , except for love and forgiveness."
Mr.L
Enthusiast
Enthusiast
Posts: 146
Joined: Sun Oct 09, 2011 7:39 am

Re: Suggestion: Find + Count option

Post by Mr.L »

alternatively, you could use the "replace dialog" and type as search and replace text the string that you want to count.
Don't forget the option "case sensitivy" and/or "whole words only" and it will tell you how many occurances has been replaced.
But I have to admit, its's always a little bit scary to do it like that... :wink:
User avatar
NicTheQuick
Addict
Addict
Posts: 1519
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: Suggestion: Find + Count option

Post by NicTheQuick »

You could also add a feature request directly in the Github issues list or write that addition by yourself and make a Pull request: https://github.com/fantaisie-software/purebasic/issues
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
AZJIO
Addict
Addict
Posts: 2191
Joined: Sun May 14, 2017 1:48 am

Re: Suggestion: Find + Count option

Post by AZJIO »

For now, you can use FindAllReferences. In the header you will get the number of occurrences. To call I use Ctrl+Shift+D
Post Reply