To merge the multiple empty lines into a single one in the Editors view:
- Press Ctrl+F.
The
Find/Replace
dialog box appears.
- Enter the expression
^\s*\n in the
Find
textbox.
- Enter the expression
\R in the
Replace
with dialog box.
Figure 1.
Merging Multiple Blank Lines into One

- Click
Replace All
.
The editor merges the multiple blank lines into one for each appearance.