Difference between revisions of "Collapse Empty Lines"

From TED Notepad
 
Line 7: Line 7:
  
 
Note: Does not modify {{defined|non-empty lines}}.
 
Note: Does not modify {{defined|non-empty lines}}.
 +
 +
{{example_start}}Example:
 +
{{example_body}}{{example_select|<nowiki>One little,
 +
 +
two little,
 +
 +
 +
three little
 +
Indians.</nowiki>}}
 +
{{example_end}}
 +
 +
{{example_start}}Result:
 +
{{example_body}}<nowiki>One little,
 +
 +
two little,
 +
 +
three little
 +
Indians.</nowiki>
 +
{{example_end}}

Revision as of 23:30, 28 April 2010

You see work in progress here; this section already reflects future TED Notepad version 6.0.0.14.
This section may contain incomplete, premature, or mistaken information, prone to change without notice.

Collapse Empty (Alt+Ctrl+Shift+V)

Collapses (i.e. reduces) 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.