You are here: PSPad forum > English discussion forum > Re: Search (and Replace) broken in 5.0.2 (351)

Re: Search (and Replace) broken in 5.0.2 (351)

#1 Search (and Replace) broken in 5.0.2 (351)

Posted by: melchman | Date: 2020-01-15 20:19 | IP: IP Logged

Is anyone else having trouble with search in 5.0.2?

I search for a string B2 and it only finds the first one then thinks it reached the end of the file and wants to start over from the beginning. Strange.

EXAMPLE:
khkhjkB2khkhklhkjhkjhjkhB2jghggdffdB2kljhjkhj

Search and replace B2 with \n yields:
khkhjk
khkhklhkjhkjhjkhB2jghggdffdB2kljhjkhj

List indicates 1 find
Count indicates 3 finds

Options: Reply | Quote | Up ^


#2 Re: Search (and Replace) broken in 5.0.2 (351)

Posted by: vbr | Date: 2020-01-15 23:57 | IP: IP Logged

melchman:
Is anyone else having trouble with search in 5.0.2?

I search for a string B2 and it only finds the first one then thinks it reached the end of the file and wants to start over from the beginning. Strange.

EXAMPLE:
khkhjkB2khkhklhkjhkjhjkhB2jghggdffdB2kljhjkhj

Search and replace B2 with \n yields:
khkhjk
khkhklhkjhkjhjkhB2jghggdffdB2kljhjkhj

List indicates 1 find
Count indicates 3 finds

Hi,
unfortunately there are some limitations in replacements with \n in PSPad (not only in the current version).
Replacement with other strings (other than line-break, \n in regex-mode) should work fine.

As a workaround, you can currently use backward search direction in the search and replace dialog (after placing the cursor at the end of the text).

hth,
vbr

Options: Reply | Quote | Up ^


#3 Re: Search (and Replace) broken in 5.0.2 (351)

Posted by: pspad | Date: 2020-01-16 05:37 | IP: IP Logged

List show lines, containing the search expression. Intentionaly each line is one time there

Options: Reply | Quote | Up ^






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