- Subject: Re: [jed-users] Suggestion for the replace-function
- From: dram <dotdram@xxxxxxxxxxxxxx>
- Date: Tue, 20 Sep 2016 14:35:14 -0400
There's no magic variable to "turn it on", like SEARCH_WRAP.
Looks like you would have to rewrite the main 'while' loop in
srchmisc.sl::replace_with_query(). Not hard, but not trivial either.
Might be simpler to write a keyboard macro to set a bookmark, then
go to top of the page. ^Xe that macro before you start each replace-set.
Then goto your bookmark when you're through.
If you do rewrite it, here are my hints:
Convert the 'while' to 'forever', testing once before the loop, and again
inside the loop. This way is usually easier when you have >1 test
that interact and need variations in user-queries.
Before the loop, create a user-mark [m1 = create_user_mark()]. User-marks
can be compared [with '>' et al] to check if you've above the start point.
Good luck,
.dram
[2016 date index]
[2016 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]