Difference between revisions of "Collapse Empty Lines"

From TED Notepad
m
Line 1: Line 1:
<noinclude>{{manversion|6.0.0.14}}__NOTOC__</noinclude>
+
<noinclude>{{manversion|6.0.0.16|feature}}__NOTOC__</noinclude>
 
====Collapse Empty (Alt+Ctrl+Shift+V)====
 
====Collapse Empty (Alt+Ctrl+Shift+V)====
  
Collapses (i.e. reduces) all sequences of {{defined|empty lines}} in the selection.
+
Collapses all sequences of {{defined|empty lines}} in the selection. While collapsing, each continuous sequence of {{defined|empty lines}} is reduced to only one line, leaving the first of those lines intact, and removing all following {{defined|empty lines}}.
 
 
While collapsing, each continuous sequence of {{defined|empty lines}} is reduced to only one line, leaving the first of those lines intact, and removing all following {{defined|empty lines}}.
 
  
 
Note: Does not modify {{defined|non-empty lines}}.
 
Note: Does not modify {{defined|non-empty lines}}.
Line 26: Line 24:
 
Indians.</nowiki>
 
Indians.</nowiki>
 
{{example_end}}
 
{{example_end}}
 +
 +
See also {{feature|Remove Empty Lines}} tool.

Revision as of 21:07, 25 April 2011

This section is up to date for TED Notepad version 6.3.1.0.
Control page Control:feature:Collapse Empty Lines

Collapse Empty (Alt+Ctrl+Shift+V)

Collapses all sequences of empty lines in the selection. While collapsing, each continuous sequence of empty lines is reduced to only one line, leaving the first of those lines intact, and removing all following empty lines.

Note: Does not modify non-empty lines.

Example:
One little, two little, three little Indians.
Result:
One little, two little, three little Indians.

See also Remove Empty Lines tool.