06-21-2013, 09:35 AM | #1 |
eBook FANatic
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Isolated Block of Text
In past discussions, the use of isolating a block of html allowing all regex operate only on the isolated block. Very handy.
If this has been implemented how does one activate it? |
06-21-2013, 09:48 AM | #2 |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I know of the 'selected HTML files mode, but a block within a file
|
06-21-2013, 11:24 AM | #3 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
If you don't have too many to do you could ctrl-enter and beginning and end, do your regexing and then remerge...what a pain.
|
06-22-2013, 04:46 AM | #4 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
I don't know if your budget allows it, but have you considered RegexBuddy for that type of thing? I find it invaluable, both for my endless (and endless and endless) learning of Regex, studying other people's regex to find great ideas, and for precisely this type of thing: pop a block of text in, regex it and copy it back to the source document. I suppose, without spending any ducats, you could simply do the same thing (I've done this, also) by copying the block in question to your HTML editor (I'm a NoteTabPro fan, myself), do the regex and then copy it back. Those are my best suggestions. Hitch |
|
06-22-2013, 09:50 AM | #5 | |
eBook FANatic
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Quote:
Since I do almost all editing in epp I have no problem handling these areas. Unless I have really screwed-up and find an error well into Sigil formating and wish to repair it in sigil. I use epp, regexbuddy (which I call Regex for Dummys), PowerGrep and AceText all of which will handle any and all jobs I have come across. Being able to isolate a block of html, e.g. Code:
<blockquote> <p>...</p> <p>...</p> <p>...</p> <p>...</p> </blockquote> Code:
<blockquote> <div> </div> <div> </div> <div> </div> <div> </div> </blockquote> It seems that great mind run in similar channels. PS. Rumor has it that the next version of epp will open ePub files for edit. |
|
06-22-2013, 10:20 AM | #6 |
Resident Curmudgeon
Posts: 73,968
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Why would you want <div> instead of <p> inside a blockquote?
|
06-22-2013, 11:08 AM | #7 |
eBook FANatic
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
|
06-22-2013, 11:19 AM | #8 |
eBook FANatic
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Report from a Dummy
I finally found it
In Codeview, highlight the desired block of code. Right click on the highlighted code and select: Mark Selected Test Perform whatever regex you wish Right click selected taxt again and select: Unmark Marked Text Another little treasure unearthed. The geniuses at Sigil have come through again |
06-22-2013, 12:36 PM | #9 |
eBook FANatic
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
New question***
Is there a method of highlighting a block of code other than dragging the cursor?
e.g.: Ctl Alt B (mark beginning) Ctl Alt E (mark end. |
06-22-2013, 02:23 PM | #10 |
Guru
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
|
|
06-22-2013, 02:49 PM | #11 |
eBook FANatic
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Keyboard connect by WiFi to isolated AP | hfpop | Amazon Kindle | 0 | 11-11-2012 04:18 PM |
KF8 Kindle Fire file size error and isolated elements. | Stodder | Kindle Formats | 0 | 08-29-2012 07:33 PM |
E-Books Make Readers Less Isolated | ImogenRose | News | 68 | 11-13-2010 12:28 PM |
Kindle 2 - Faded Menu [Isolated, maybe?] | Xestrix | Amazon Kindle | 2 | 04-07-2009 02:59 AM |