Page 1 of 1

Count button for Find/Replace dialog

Posted: Tue Jun 04, 2019 1:29 pm
by RSBasic
I wish for a button to count like in Notepad++:
Image

Re: Count button for Find/Replace dialog

Posted: Tue Jun 04, 2019 2:22 pm
by skywalk
+1

Re: Count button for Find/Replace dialog

Posted: Tue Jun 04, 2019 3:02 pm
by fabulouspaul
+1

A temporary workaround could be to find and replace the same pattern and hit "replace all".
The find/replace dialogue will tell you how often it has replaced the searchpattern.

Re: Count button for Find/Replace dialog

Posted: Tue Jun 04, 2019 3:08 pm
by RSBasic
fabulouspaul wrote:A temporary workaround could be to find and replace the same pattern and hit "replace all".
The find/replace dialogue will tell you how often it has replaced the searchpattern.
Yes, that works. Thanks for the tip. I think I will develop a tool. I don't know which tool to develop first. :lol:

Re: Count button for Find/Replace dialog

Posted: Tue Jun 04, 2019 6:42 pm
by davido
+1

Re: Count button for Find/Replace dialog

Posted: Wed Jun 05, 2019 1:20 am
by BarryG
What does Count do?

Re: Count button for Find/Replace dialog

Posted: Wed Jun 05, 2019 7:19 am
by RSBasic
Counts how often the search term appears in the source code.
For example, you want to know if the word "MyProc()" appears in the source code. You can search for "MyProc()", but then the text cursor changes and you don't always want that. You don't have the problem with the count button.

Re: Count button for Find/Replace dialog

Posted: Wed Jun 05, 2019 6:15 pm
by GoodNPlenty
+1

Re: Count button for Find/Replace dialog

Posted: Sun Jun 23, 2019 4:09 pm
by RSBasic
Because I don't know when this function will be implemented, I have now developed a tool: viewtopic.php?f=27&t=73078