I know this is clearly a change in behaviour for the search results list, but I
think it would be much more useful that way...

Usually, I use the search function to find all the places in a file when a
specific code exists, and then I'll go through them to revise them one by one.

If my revision requires me to add or remove lines, then after two or three
instances the search results become meaningless, since the inserted / removed
lines have moved around the lines in which the search term has been found.

I was thinking it would be very nice if the item in the search results list
would follow that line even if it moved around; if would just require to check
on line insertion or removal, and correct the line reference in results that
follow the point in which the change has been made, to point to the correct
line.

1 A
2 b
3 c
4 d
5 e

I've searched for d, found in line 4.
Then I delete line 2, so the "d" result now should point to line 3:

1 A
2 c
3 d
4 e

Anybody else would find this useful?

:)

-- 
<https://forum.pspad.com/read.php?2,69566,69566>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem