View Single Post
Old 03-29-2020, 12:37 AM   #8
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by carmenchu View Post
Just as double-click on a word selects the whole word, is there some shortcut to select everyting from <tag> to </tag>?
If not, would it be very difficult to implement such a feature?
Calibre's Editor currently has this functionality:

https://manual.calibre-ebook.com/edi...x-highlighting

Ctrl+Alt+T can highlight the innards of the selected tag.

For example:

Code:
<p>This is a <i>code example</i>.</p>
If your cursor is in "code", "code example" is selected.

If your cursor is in "This", "This is a <i>code example</i>." is selected.

Quote:
Originally Posted by theducks View Post
Diaps Toolbag PI can strip out designated tags , leaving the insides intact
This is my preferred way of mass cleanup. Regex can't handle nested tags very well, so you need something that can actually parse the HTML.

Last edited by Tex2002ans; 03-29-2020 at 12:42 AM.
Tex2002ans is offline   Reply With Quote