MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Sigil (https://www.mobileread.com/forums/forumdisplay.php?f=203)
-   -   Why no search and replace? (https://www.mobileread.com/forums/showthread.php?t=61537)

charleski 11-06-2009 10:14 PM

Why no search and replace?
 
I installed Sigil hoping it would provide a useful solution to issues in which I need to change tag codes, but was bitterly disappointed to find that there's no function to search and replace in the xml.

It's a great pity, as this is the most important (and useful) feature of any editor. It's free, so I can't really moan, but I am surprised at this lack.

zelda_pinwheel 11-06-2009 10:21 PM

search and replace is coming, it's very high on Valloric's priority list. sigil is currently in alpha release only ! please be a little patient. also you might want to take a look at some of the threads in this forum to learn more about sigil.

Valloric 11-07-2009 10:40 AM

Quote:

Originally Posted by charleski (Post 650101)
It's a great pity, as this is the most important (and useful) feature of any editor. It's free, so I can't really moan, but I am surprised at this lack.

I am literally working on this as we speak. By "literally" I mean Visual Studio is opened next to Firefox and I've just taken a small break to check the forum.

I've been horribly busy as of late so work on Sigil is progressing slower than expected, but it is progressing.

charleski 11-07-2009 11:51 AM

Excellent! Thanks for the reply. I was tempted to download the code and add it myself, but have enough on the go already.

Valloric 11-07-2009 12:49 PM

Quote:

Originally Posted by charleski (Post 650512)
Excellent! Thanks for the reply. I was tempted to download the code and add it myself, but have enough on the go already.

Believe me, it's not as easy as it looks. From wrestling with webkit to refresh only the updated portions instead of the whole flow, to traversing the HTML element stack to get the location of the change, to making sure you're only searching from the cursor location (and in Book View you need javascript just to get the cursor element), to regular expressing support... etc. These are just the Book View difficulties. You of course need to write it twice since searching in Code View is completely different.

You naturally need to design an effective and user friendly S&R dialog that will be of use to the average and to the power user. If you're really trying to make it good, you'd create a few (turns out it's more than a few) different designs, and then test them out on a few different people. Those people would then complain about each design, and then you'd have to make new ones and test those too until you worked out all the kinks.

Done right, it's not a quick process. Especially when you're an overstressed, overworked, full time graduate student working on this in what little spare time you can find. :)

zelda_pinwheel 11-08-2009 08:54 PM

if it helps, you've got my undying gratitude and heartfelt appreciation for taking on this project... :)

EowynCarter 11-24-2009 04:07 PM

issue 13 "No search and replace", is now fixed :)

http://code.google.com/p/sigil/issues/detail?id=13

Valloric 11-24-2009 04:52 PM

Quote:

Originally Posted by EowynCarter (Post 667760)
issue 13 "No search and replace", is now fixed :)

http://code.google.com/p/sigil/issues/detail?id=13

Yes, new release should be out soon. Tomorrow, possibly today.

zelda_pinwheel 11-24-2009 04:53 PM

Quote:

Originally Posted by Valloric (Post 667820)
Yes, new release should be out soon. Tomorrow, possibly today.

:happybounce: WOOT !!!!! :celebrate:

kjk 11-24-2009 05:01 PM

great news, valloric!

AnemicOak 11-24-2009 05:13 PM

Quote:

Originally Posted by Valloric (Post 667820)
Yes, new release should be out soon. Tomorrow, possibly today.

:2thumbsup


All times are GMT -4. The time now is 06:42 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.