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 06-21-2013, 10:35 AM   #1
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 15,894
Karma: 13575467
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?
crutledge is online now   Reply With Quote
Old 06-21-2013, 10:48 AM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,268
Karma: 6022733
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
I know of the 'selected HTML files mode, but a block within a file
theducks is online now   Reply With Quote
Old 06-21-2013, 12:24 PM   #3
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,086
Karma: 1444487
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.
mrmikel is offline   Reply With Quote
Old 06-22-2013, 05:46 AM   #4
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 2,669
Karma: 15346071
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by crutledge View Post
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?
Hi, Charlie:

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
Hitch is offline   Reply With Quote
Old 06-22-2013, 10:50 AM   #5
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 15,894
Karma: 13575467
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by Hitch View Post
Hi, Charlie:

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
Dear Lady,

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>
and quickly convert it to

Code:
<blockquote>
<div>   </div>
<div>   </div>
<div>   </div>
<div>   </div>
</blockquote>
without bothering any code beyond is a great time saver and less error prone.

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.
crutledge is online now   Reply With Quote
Old 06-22-2013, 11:20 AM   #6
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: 38,538
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Why would you want <div> instead of <p> inside a blockquote?
JSWolf is offline   Reply With Quote
Old 06-22-2013, 12:08 PM   #7
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 15,894
Karma: 13575467
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by JSWolf View Post
Why would you want <div> instead of <p> inside a blockquote?
For Older Kindles!
crutledge is online now   Reply With Quote
Old 06-22-2013, 12:19 PM   #8
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 15,894
Karma: 13575467
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
crutledge is online now   Reply With Quote
Old 06-22-2013, 01:36 PM   #9
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 15,894
Karma: 13575467
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.
crutledge is online now   Reply With Quote
Old 06-22-2013, 03:23 PM   #10
st_albert
Fanatic
st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.
 
Posts: 552
Karma: 94420
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by crutledge View Post
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.
Here's what I do:

1) place cursor at start of block (i.e. click at start)
2) hold shift + click at end of block.

HTH

Albert
st_albert is offline   Reply With Quote
Old 06-22-2013, 03:49 PM   #11
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 15,894
Karma: 13575467
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by st_albert View Post
Here's what I do:

1) place cursor at start of block (i.e. click at start)
2) hold shift + click at end of block.

HTH

Albert

Thank you very much, sir.
crutledge is online now   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
Kindle Keyboard connect by WiFi to isolated AP hfpop Amazon Kindle 0 11-11-2012 05:18 PM
KF8 Kindle Fire file size error and isolated elements. Stodder Kindle Formats 0 08-29-2012 08:33 PM
E-Books Make Readers Less Isolated ImogenRose News 68 11-13-2010 01:28 PM
Kindle 2 - Faded Menu [Isolated, maybe?] Xestrix Amazon Kindle 2 04-07-2009 03:59 AM


All times are GMT -4. The time now is 10:29 AM.


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