[wontfix] Search results going out-of-sync after edits above

Did you find any problems using this software? Please post here...
Post Reply
Winter
Posts: 2
Joined: 05.04.2015 16:19

[wontfix] Search results going out-of-sync after edits above

Post by Winter »

Basically: any insertions or deletions that shift subsequent test make all previously found and marked text fragments lose their proper positions.

Given text:

Code: Select all

Lorem ipsum dolor sit amet
This is a line we're going to mess with
Lorem ipsum dolor sit amet
If I perform a search for "ipsum" and do "Mark all", I get the 2 ipsum occurrences properly marked.
If I now insert a carriage return somewhere in the middle of the 2nd line, and then attempt to navigate to the second ipsum hit directly from the Search Results list (via Enter or double-click on the 2nd hit), I get a selection in the place where ipsum used to be (on the 3rd line), whereas it is now elsewhere (on the 4th line - since I broke the 2nd one in two).

After some substantial editing in the middle of some marked search hits, all the ones below become substantially useless since they get "misplaced", often quite dramatically.

Is there a setting to persuade SynWrite to auto-adjust search hits after edits?
Alternatively, is there a way to force a refresh of an existing search (without performing a completely new one)?

Thank you!
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

No such settings/ feature, sorry. I think it won't be fixed, since SynWrite is frozen.

CudaText is recommended + its plugin Find In Files.
(you can post wishes for FindInFiles to Github issues.)
Winter
Posts: 2
Joined: 05.04.2015 16:19

Post by Winter »

Thank you for your prompt reply, Alexey, and for your suggestion!
Post Reply