Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-28-2012, 01:13 PM   #1
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,002
Karma: 1285294
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
replace in book view changes view to code view

as title says. If I am in in book view & use find then replace , the view changes to code view.
is that supposed to happen .
It was not like that in the old v4.whatever
cybmole is offline   Reply With Quote
Old 10-28-2012, 01:18 PM   #2
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,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
That is supposed to happen.

Replace in Book View was never reliable and in order to be certain it worked properly, replace can only be done in Code View. So if you are in Book View it will helpfully switch you to Code View.
meme is offline   Reply With Quote
 
Advertisement
Old 10-28-2012, 01:23 PM   #3
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,002
Karma: 1285294
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
Quote:
Originally Posted by meme View Post
That is supposed to happen.

Replace in Book View was never reliable and in order to be certain it worked properly, replace can only be done in Code View. So if you are in Book View it will helpfully switch you to Code View.
I thought that might be the case, but could it be helpful enough to actually do the replace as instructed once it has finished switching view.
it seems to switch view but then do nothing, & it has to be told twice ?
cybmole is offline   Reply With Quote
Old 10-28-2012, 01:37 PM   #4
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,230
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
It doesn't "do nothing", what it does is perform the Find in code view. And there is *no* guarantee at all that the text you selected in Book View has a match in code view (since it might have spans, entities etc making it a different piece of text). So it is safest to reconfirm to the user that the occurrence it has found in Code View is the one you were expecting before it does anything undesired like replacing the wrong value (and then jumping to the next match if you had clicked Replace/Find).

If Sigil doesn't take these precautions, then you can end up replacing the wrong text, which people would complain about an awful lot more (even worse for the fact that they wouldn't know what it it had replaced).
kiwidude is offline   Reply With Quote
Old 10-28-2012, 02:20 PM   #5
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,002
Karma: 1285294
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
i get that - so you allow find to operate in book view, but not any of the replace options,

I expect I will get used to it. in this instance I was using find / replace to step through a chapter replacing some (but only some) plain hyphens with emdash , & it's easier to see the hyphen usage in context while in book view. (as in: is that a hyphenated word or a misuse of a hyphen that needs changing ...). I've become accustomed to doing that entirely in book view.

I note also that replace & find next, current file, with direction = down, now loops back to start of file & continues to search from there. in the older versions that did not happen: down meant down.
cybmole is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil highlight Book View No Longer Shows in Code View Themus Sigil 4 10-04-2012 08:54 PM
quotes differences book view & code view cybmole Sigil 13 03-29-2011 02:53 AM
lock book view & code view windows into synch cybmole Sigil 5 01-19-2011 11:30 PM
Possible to have default view as code view? sherman Sigil 5 06-15-2010 02:47 AM
Is it possible to view the Format of a book in Library view? highwaykind Calibre 6 01-23-2010 07:28 PM


All times are GMT -4. The time now is 04:11 AM.


MobileRead.com is a privately owned, operated and funded community.