Posted by: metrino | Date: 01/13/2017 19:36 | IP: IP Logged
I'm searching a string in a text file. Once I set the string, the program searches forward and highlights the string, the cursor is blinking at the string right edge. If I press F3, highlight and cursor move to next instance.
Now if I press SHIFT+F3 highlight doesn't move and cursor moves from right to left edge.
Every time I change search direction, I have to press the key twice to really move to next instance.
Is it right? Is there any (hidden) setting which can change this behaviour?
tx in advance
Posted by: AndreasW | Date: 01/18/2017 16:33 | IP: IP Logged
I've also noticed that. It's quite annoying. Shift+Ctrl+Down and Shift+Ctrl+Up are affected too.
Posted by: pspad | Date: 01/18/2017 16:35 | IP: IP Logged
Yes, cause it's search from cursor position. If you are behind the word and search to the top, the first occurence will be this word
Posted by: AndreasW | Date: 01/18/2017 16:50 | IP: IP Logged
Other editors, e.g. Notepad++ or CudaText, behave differently (more conveniant, IMHO).
Posted by: pspad | Date: 01/18/2017 17:00 | IP: IP Logged
In this case you have to change difference when you start search and continue search.
I think you won't be satisfied with cursor behind the word if PSpad start search and first found word would be somewhere else
Posted by: AndreasW | Date: 01/18/2017 17:13 | IP: IP Logged
Also Sublime Text behaves like Notepad++ and CudaText. So this behavior seems to be the standard. Don't you think that PSPad should follow the standard too?
Posted by: hhoefling | Date: 01/18/2017 17:18 | IP: IP Logged
A Search has selected the Hit (if found).
The cursor stands allways at the end of the selection.
For a backward search,
NPP goes firstly to the begin of the selection,
and then do the backwards search.
With no Selection it search from Cursor. (a single char Selection)
I see no problem with this mode.
Posted by: metrino | Date: 01/23/2017 17:44 | IP: IP Logged
I don't want to merge other editors, I just want to give my opinion to get PSPad even better
Now, imho, I know technically it's right, searching goes starting from cursor ...but if I press F3 and SHIFT-F3 again and again, it's natural thinking about I'm jumping between two different string instances , not just on the same.
However it's not a problem, I'll survive the same