View Single Post
Old 12-18-2020, 01:42 PM   #67
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,884
Karma: 6120478
Join Date: Nov 2009
Device: many
This is certainly doable as the code to accomplish this already exists in pieces in CodeViewEditor.cpp. I will add this to my future to-do list.

Quote:
Originally Posted by Thasaidon View Post
Not a request just an idea for ruminating on. If Sigil already has this feature please let me know as I am not aware of it.

When I am fixing html I often find styling which refers to a single paragraph. This may be inline but usually uses a CSS selector(s).

Normally I just delete this styling manually which means highlighting and deleting pieces of code individually.

As I believe the latest version of Sigil now detects the open and closing tags would it be easily doable to add a feature so that if the cursor is on a tag pressing a hotkey (or clicking on an icon) would remove the tag pair concerned?

This would speed up cleaning these paragraphs.
KevinH is offline   Reply With Quote