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 .
Suggestion: Find + Count option
Suggestion: Find + Count option
vmars.us Win11 x64 , Martin Guitar 000-16 (1995)
"All things in moderation , except for love and forgiveness."
"All things in moderation , except for love and forgiveness."
Re: Suggestion: Find + Count option
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...
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...

- NicTheQuick
- Addict
- Posts: 1519
- Joined: Sun Jun 22, 2003 7:43 pm
- Location: Germany, Saarbrücken
- Contact:
Re: Suggestion: Find + Count option
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.
Re: Suggestion: Find + Count option
For now, you can use FindAllReferences. In the header you will get the number of occurrences. To call I use Ctrl+Shift+D