08-02-2010, 07:18 AM | #1 |
Member
Posts: 24
Karma: 10
Join Date: Jun 2010
Location: Sofia, Bulgaria
Device: Kindle 3
|
Insert new line with regex
Well, I want to insert newline while doing replace with regular expressions and go with \n \r and \n\r, but none works. I am new to this, did some reading, but couldnt figure it out. Any helpful ideas?
|
08-02-2010, 09:09 AM | #2 |
Reader
Posts: 519
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
|
In code view you can use <br /> to get a newline in book view.
If you want to replace something with a newline in code view you can copy and paste a newline from somewhere in the replace box. In book view also but it appears to ineffective. By the way, I see that replaces are not undoable. Why is that? |
08-02-2010, 11:57 AM | #3 |
eBook FANatic
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
A programmers best friends are SAVE and UNDO. The undo in Sigil is at present very primitive. One would hope that a multilevel undo would be implemented eventually for each individual section and a global undo for global changes.
If I am wrong about this, I'm sure that others will quickly correct me. Sigil is still pretty good and getting better with each revision. |
08-02-2010, 02:59 PM | #4 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
08-03-2010, 07:30 AM | #5 |
Guru
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
Talking about Undo, why can't we undo anything when in a CSS file?
|
08-03-2010, 07:35 AM | #6 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
If you're seeing a bug, report it. |
|
08-08-2010, 11:24 AM | #7 |
Member
Posts: 24
Karma: 10
Join Date: Jun 2010
Location: Sofia, Bulgaria
Device: Kindle 3
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Importing RegEx Line | TheEldest | Calibre | 1 | 07-05-2011 10:18 PM |
Best way to insert mutiples of the same image? | Adjust | ePub | 4 | 07-29-2010 02:22 PM |
Insert metadata | Landrovan | Calibre | 1 | 10-05-2009 01:36 PM |
Inner Grey Cover Insert? | Lilly | Sony Reader | 0 | 03-26-2009 06:48 PM |
Sony Cradle Insert | DougFNJ | Sony Reader | 1 | 05-19-2007 02:57 PM |