Difference between revisions of "Indent Lines"

From TED Notepad
Line 7: Line 7:
  
 
{{example_start}}Example:
 
{{example_start}}Example:
{{example_body}}{{example_select|<nowiki>.</nowiki>}}
+
{{example_body}}{{example_select|<nowiki>if (IsNonEmpty (line))
 +
    Indent (line);</nowiki>}}
 
{{example_end}}
 
{{example_end}}
  
 
{{example_start}}Result:
 
{{example_start}}Result:
{{example_body}}{{example_select|<nowiki>    .</nowiki>}}
+
{{example_body}}{{example_select|<nowiki>    if (IsNonEmpty (line))
 +
        Indent (line);</nowiki>}}
 
{{example_end}}
 
{{example_end}}

Revision as of 20:42, 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.

Indent (Ctrl+Tab)

Indents each line of the selection with a Tab character. Does not modify empty lines.

Note: The selection always persists in this tool.

Example:
if (IsNonEmpty (line)) Indent (line);
Result:
if (IsNonEmpty (line)) Indent (line);