View Single Post
Old 12-17-2020, 07:46 PM   #58
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,814
Karma: 6000000
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by Vanguard3000 View Post
Find in: Open Tabs
I've mentioned this before at some point, but I still think it'd be a pretty valuable option. As an example use case, I often find myself fixing up ePubs that have been converted and put together poorly, resulting not only in a lot of header-defined "sgc-x" styles, but inconstent ones. So, some files have sgc-1 as bold and sgc-2 as italics, while others are reversed.

What I'd ideally like to do is search for

opening all files with that definition. Then, do a find & replace in all opened tabs for

and replace with traditional italics tags or whatever.

As it is now, I have to find those files, then select them in the sidebar, then use the find in "Selected HTML Files" option. This works, but the selection is lost very easily. If I click a tab, for example.
Not sure how doable that will be but I will look into it.

Quote:
Multi-Paragraph Justification Changing
It would be nice to be able to make a selection over two or more paragraphs, and use the justification buttons to change all paragraphs touched by the selection highlight. This would allow the use to quickly and easily centre an entire title page, for example, rather than having to select each paragraph individually.
I did not know it worked like that. I think PageEdit handles it differently. Injecting an inline style is probably not the best approach here anyway. Perhaps the ability to select multiple paragraphs and add the same new class attribute to each one would be better. Then in css a single definition can handle things.

I will look into this as well.

Quote:
Search "Ignore Tags" option
This could be a checkbox option alongside "DotAll", "minimal Match", etc. Basically, it would allow the use to search for text while ignoring any html tags. For example, in:

I could search for "brown fox jumps" and get a hit.
Searching for text across tags is reasonably easy to implement (I hope those are not famous last words!) whereas replacing text that crosses tags is very hard. But since you just asked about search, if the text is found across tags where should the cursor end up once the search is performed and how much of the search term if any should be highlighted if pieces are not adjacent?

Thanks
KevinH is online now   Reply With Quote