View Single Post
Old 01-08-2012, 04:02 PM   #59
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by Jabby View Post
I understand all that. What I don't understand is why you want to start from the cursor position. Is there a compelling reason to make the change? What are the benefits?

If you are saying that the F&R will no longer wrap then we have an entirely different kettle of fish. Then it becomes necessary to make it optional and give it a check box.
Start what from the cursor position?

It would be interesting to list exactly what the old Sigil did for F&R/Count and what the new code does - with regard to cursor position/wrap around, etc. (does it wrap in the old version or just start from the start?) I'll have to install the old copy and compare it.

I think the cases where count won't match will be limited to occasional regex's. But the possibility of always from cursor with option wrap for everything (despite my comment about count before) is something to keep in mind - but a checkbox might be needed to avoid having to ok it every time someone doesn't remember to go to the start of the document/files. Of course, if in practice the updated code works for almost everyone there might not be a need to change it.
meme is offline