PrimalScript: Stop find when reaching end-of-file
Posted: Wed Mar 06, 2013 1:30 pm
Hi,
I'd like to request an option for the Find command - do not continue searching from the top of the file (if searching down) or from the bottom of the file (if searching up). In other words, if find direction is down, this option would stop searching when end of file is reached, or if find direction is up, this option would stop searching when beginning of file is reached.
The reason for this is I have a lot of code to edit that I didn't write and when the find automatically loops it is confusing to know whether the search term exists before or after the current position. It is helpful to be find out if the search phrase does or does not exist from the current position forward (if searching down) or from the current position backward (if searching up).
Every other editor I've used either works this way inherently (e.g., Notepad) or has an option to toggle. I always turn it off (I don't like the automatic looping) but I can't find it in PrimalScript.
If this feature already exists, please tell me where I can set it? If not, can we please add it?
Thanks,
Bill
I'd like to request an option for the Find command - do not continue searching from the top of the file (if searching down) or from the bottom of the file (if searching up). In other words, if find direction is down, this option would stop searching when end of file is reached, or if find direction is up, this option would stop searching when beginning of file is reached.
The reason for this is I have a lot of code to edit that I didn't write and when the find automatically loops it is confusing to know whether the search term exists before or after the current position. It is helpful to be find out if the search phrase does or does not exist from the current position forward (if searching down) or from the current position backward (if searching up).
Every other editor I've used either works this way inherently (e.g., Notepad) or has an option to toggle. I always turn it off (I don't like the automatic looping) but I can't find it in PrimalScript.
If this feature already exists, please tell me where I can set it? If not, can we please add it?
Thanks,
Bill