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 11-30-2012, 11:36 AM   #1
JimmyG
Connoisseur
JimmyG began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Apr 2011
Location: Yuma, AZ
Device: Kindle Touch
Why did it do that?

I've been working on this book for weeks, with Clean and format HTML turned off. It's been working fine, leaving my code alone. I did a replace, which I've been doing all along without a problem, and it went through 20 files (400KB+) and removed every blank line!
JimmyG is offline   Reply With Quote
Old 11-30-2012, 11:39 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,695
Karma: 17734032
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
What was it you searched/replaced?
JSWolf is offline   Reply With Quote
Old 11-30-2012, 12:48 PM   #3
JimmyG
Connoisseur
JimmyG began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Apr 2011
Location: Yuma, AZ
Device: Kindle Touch
Searched 'usualluy', replaced 'usually.' All html files. Replaced three instances.
JimmyG is offline   Reply With Quote
Old 11-30-2012, 01:50 PM   #4
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,909
Karma: 3017317
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Did it remove empty lines in the text or just in the codeview? If it is the latter, don't worry about it.
Toxaris is offline   Reply With Quote
Old 11-30-2012, 02:00 PM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,919
Karma: 40404050
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
People really like to fight the whole pretty-print thing tooth and nail, huh?
DiapDealer is offline   Reply With Quote
Old 11-30-2012, 02:08 PM   #6
JimmyG
Connoisseur
JimmyG began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Apr 2011
Location: Yuma, AZ
Device: Kindle Touch
It only removed them from the code, but they were there for a reason. I do not like any editor that presumes to change what I've typed, unless I've asked it to. As for pretty-print, my code was prettier before that thing screwed it all up.

Way back in the old days, when memory was really tight and everybody coded in Basic, magazines would print code without any spaces or line breaks. That's about what my files look like now.
JimmyG is offline   Reply With Quote
Old 11-30-2012, 02:30 PM   #7
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,919
Karma: 40404050
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by JimmyG View Post
Way back in the old days, when memory was really tight and everybody coded in Basic, magazines would print code without any spaces or line breaks. That's about what my files look like now.
Yeah, I remember those old days, too. Went to college during 'em to study computers. Glad they're gone, memory is dirt-cheap, and PCs come with hard-drives now.
DiapDealer is offline   Reply With Quote
Old 11-30-2012, 07:42 PM   #8
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,433
Karma: 950001
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
There is a bug in 0.6.0 (corrected for 0.6.1) which does pretty printing after a replace in all files.
user_none is offline   Reply With Quote
Old 11-30-2012, 08:26 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,695
Karma: 17734032
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
How does one turn off format HTML in .0.6.0?
JSWolf is offline   Reply With Quote
Old 11-30-2012, 08:57 PM   #10
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,433
Karma: 950001
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Preferences, Clean Source, Off.
user_none is offline   Reply With Quote
Old 12-02-2012, 09:41 AM   #11
JimmyG
Connoisseur
JimmyG began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Apr 2011
Location: Yuma, AZ
Device: Kindle Touch
Quote:
Originally Posted by user_none View Post
There is a bug in 0.6.0 (corrected for 0.6.1) which does pretty printing after a replace in all files.
Thank you!
JimmyG is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


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


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