You are here: PSPad forum > English discussion forum > Search: small bug

Search: small bug

#1 Search: small bug

Posted by: massimobalestra | Date: 03/30/2017 15:32 | IP: IP Logged

I found a small bug in version 5.0.0 (163).
I don't know if it is a problem only of the translations or a more general problem. I tried with the English localization and the Italian: it behaves in the same way.

1) I open a file.
2) Then Search-->find (I have a shortcut with Ctrl+F for this)
3) I write a string in the search field i.e. john.
4) I press enter. It finds the first occurrence of john.
5) I press F3 (Find Next) several times until it reaches the last occurrence in the document.
6) I press F3 again.
7) An alert popup appears saying: Next occurrence of "" not found. Continue search ...
The problem is that between the quote it is empty and it should contain the string I wrote at point 3 (john) or at least part of it.
The same empty string in the popup appears if at point 3 I write something that cannot be found.

It is very useful to have in that popup alert the string I was looking for in the case I rerun the same search (just pressing F3) later or in a different file: it tells me if I a running the right search.

Thank you for the great program you wrote and you are maintaining.
(I can't wait to see it with the new Engine)
Massimo

Options: Reply | Quote | Up ^


#2 Re: Search: small bug

Posted by: Stefan | Date: 03/30/2017 17:00 | IP: IP Logged

Seems to be a problem on parsing the languages files
and replacing the "%s" placeholder with current content.

I have seen the same and reported there
forum.pspad.com

I am sure Jan will fix that soon.

 

 

 

--
Stefan (pleased user since 1722)
Do you know you can spend Jan a beer? (click here)
Inofficial FAQs + Infos + Special Settings

Options: Reply | Quote | Up ^


#3 Re: Search: small bug

Posted by: pspad | Date: 03/30/2017 17:49 | IP: IP Logged

Stefan:
Seems to be a problem on parsing the languages files
and replacing the "%s" placeholder with current content.

I have seen the same and reported there
forum.pspad.com

I am sure Jan will fix that soon.

I found it yesterday and fixed it already. In the next build it will be OK.
I replaced mechanism to be save and independent of substitutions number. It could cause exceptions.

Options: Reply | Quote | Up ^


#4 Re: Search: small bug

Posted by: massimobalestra | Date: 03/30/2017 18:02 | IP: IP Logged

Thank you.

Options: Reply | Quote | Up ^


#5 Re: Search: small bug

Posted by: pspad | Date: 03/30/2017 18:16 | IP: IP Logged

massimobalestra:
7) An alert popup appears saying: Next occurrence of "" not found. Continue search ...

I found this problem yesterday and fixed it.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2017 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák