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, 12: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,720
Karma: 1759970
Join Date: Sep 2010
Device: none
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, 12: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
Advert
Old 10-28-2012, 12: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,720
Karma: 1759970
Join Date: Sep 2010
Device: none
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, 12: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,588
Karma: 2089838
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
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, 01: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,720
Karma: 1759970
Join Date: Sep 2010
Device: none
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
Advert
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 07:54 PM
quotes differences book view & code view cybmole Sigil 13 03-29-2011 01:53 AM
lock book view & code view windows into synch cybmole Sigil 5 01-19-2011 10:30 PM
Possible to have default view as code view? sherman Sigil 5 06-15-2010 01:47 AM
Is it possible to view the Format of a book in Library view? highwaykind Calibre 6 01-23-2010 06:28 PM


All times are GMT -4. The time now is 07:55 AM.


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