Description of the Issue
Rarely do I want to remove empty lines in my entire document. Often I'd like it to be done in limited scope, say, the currently selected lines.
As of Notepad++ 7.8.7, this is not possible (without a regular expression replacement operation or, of course, manually deleting each one, but these are hardly user-friendly methods).
Steps to Reproduce the Issue
- Create some text with some empty lines:
Jack and Jill
Went up the hill
To fetch a pail of water
Jack fell down
And broke his crown,
And Jill came tumbling after.
Up Jack got
And home did trot,
As fast as he could caper;
And went to bed
And plastered his head
With vinegar and brown paper.
When Jill came in
How she did grin
To see Jack's paper plaster;
Mother vexed
Did whip her next
For causing Jack's disaster.
-
Select some of the lines, being sure that at least one empty line is part of the selection:

-
Attempt to remove empty lines, limited to the scope of selected text, using Edit menu > Line Operations > Remove Empty Lines
Expected Behavior
I expected the empty lines in my active selection to be removed, and any other empty lines to be left untouched:

Actual Behavior
All empty lines in the document were removed:

Debug Information
Notepad++ v7.8.7 (32-bit)
Build time : Jun 5 2020 - 02:34:28
Path : C:............\npp.7.8.7.bin\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 1809
OS Build : 17763.1039
Current ANSI codepage : 1252
Plugins : mimeTools.dll NppConverter.dll NppExport.dll
Other:
This should also apply to Remove Empty Lines (Containing Blank characters)
Description of the Issue
Rarely do I want to remove empty lines in my entire document. Often I'd like it to be done in limited scope, say, the currently selected lines.
As of Notepad++ 7.8.7, this is not possible (without a regular expression replacement operation or, of course, manually deleting each one, but these are hardly user-friendly methods).
Steps to Reproduce the Issue
Select some of the lines, being sure that at least one empty line is part of the selection:

Attempt to remove empty lines, limited to the scope of selected text, using Edit menu > Line Operations > Remove Empty Lines
Expected Behavior
I expected the empty lines in my active selection to be removed, and any other empty lines to be left untouched:

Actual Behavior
All empty lines in the document were removed:

Debug Information
Notepad++ v7.8.7 (32-bit)
Build time : Jun 5 2020 - 02:34:28
Path : C:............\npp.7.8.7.bin\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 1809
OS Build : 17763.1039
Current ANSI codepage : 1252
Plugins : mimeTools.dll NppConverter.dll NppExport.dll
Other:
This should also apply to Remove Empty Lines (Containing Blank characters)