Hi, Jake1191,
From what you said, I think that my solution (C) does exactly what you would like to !
Indeed, any line, which contains the domain attribute, with a value different from the string post_tag, will NOT be removed :-)
Cheers,
guy038
An obvious followup question is why even have this setting if it does not work?
I excpect the option “Global Styles: Selected text colour” to mean "globally set colour of selected text ".
Whit NPP closed select the folder in Explorer than drag and drop it on the NPP shortcut (e.g. the one your Desktop), it should open all files in the “old way”
Select Style Configurator... in the Settings menu, select e.g. HTML in the Language list, the Style list will show the descriptions of the items that are colored. Select one of these descriptions to show the specific color and font style for that item.
Notepad++ does not indicate errors in source code natively.
Maybe there’s a dedicated plugin with this functionality but I don’t know of any.
You could Google for a HTML and CSS Validator.