@Mark-Olson said:
I came up with…
Nice one.
So then a unicode-ready replacement for the native command Remove Empty Lines (Containing Blank Characters) can be a macro, recorded as:
Find: ^((?![\n\r])[\s\x{FEFF}])*\R
Replace: nothing
Search mode: Regular expression
In selection: Checkmarked
Action: Replace All
I checkmark In selection because the original command can either run on the active selection or the entire file; for the macro it is a bit of a difference because to run on the entire file you’d have to Select All (Ctrl+a) first, but that’s not effort-intensive.