Reputation: 185
When doing formatting is there an options to control and reduce spaces in blocks ?
Upvotes: 0
Views: 76
Reputation: 5986
You can try the following steps to reduce extra blank lines.
First, please use hot key Ctrl+H to open replace function box.
Second, please select the code you want to format.
Third, please choose Use regular expression
and Selection
.
Finally, please input (?<=\r\n)\r\n
in the find box and click the Replace all.
Upvotes: 0