I tested any of the above suggestions, it was always either too little or a lot removed. So either you didn’t get an empty line where at least one was previously or not removed enough (spaces remained, etc.). Sorry, I can not write comments. Tested with both 6.1.5 and updated to 6.2 and tested again. depending on how mayn files are, I would suggest using
Edit->Blank Operations->Trim trailing whitespace
This is followed by Ctrl + A and
TextFX -> TextFX Edit -> Delete surplus blank lines
The macro I tried to record did not work. Theres even a macro to easily remove trailing spaces ( Alt + Shift + S , see settings | Shortcut Mapper ... | Macros). There
Edit->Blank Operations->Remove unnecessary EOL and whitespace
but it deletes each EOL and puts everything on one line.
source share