Difference between revisions of "Unindent 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>
 
====Unindent (Ctrl+Shift+Tab)====
 
====Unindent (Ctrl+Shift+Tab)====
  
 
Removes the first character on each {{defined|line}} of the selection, if that character is a {{defined|white-space}}.
 
Removes the first character on each {{defined|line}} of the selection, if that character is a {{defined|white-space}}.
  
Note: Does not remove anything else but {{defined|white-spaces}}.
+
Note: This tool does not remove anything else but {{defined|white-spaces}}.
 +
 
 +
Note: If {{field|Settings:Edit|Tab key indents multiple lines}} setting is turned on, this tool can be invoked thru simple {{hotkey|Shift+Tab}} key (as long as multiple lines are selected of course).
  
 
Note: The selection always persists in this tool.  
 
Note: The selection always persists in this tool.  
Line 18: Line 20:
 
{{example_end}}
 
{{example_end}}
  
See also {{feature|Unquote}} and {{feature|Shift Left}} tools.
+
See also {{feature|Indent Lines}}, {{feature|Unquote Lines}}, {{feature|Shift Lines Left}} and {{feature|Tabify}} tools.
  
 
See also {{feature|Trim Tail Spaces}} and {{feature|Trim Empty Lines}} tools.
 
See also {{feature|Trim Tail Spaces}} and {{feature|Trim Empty Lines}} tools.

Revision as of 16:43, 25 April 2011

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

Unindent (Ctrl+Shift+Tab)

Removes the first character on each line of the selection, if that character is a white-space.

Note: This tool does not remove anything else but white-spaces.

Note: If Tab key indents multiple lines setting is turned on, this tool can be invoked thru simple Shift+Tab key (as long as multiple lines are selected of course).

Note: The selection always persists in this tool.

Example:
if (IsIndented (line)) Unindent (line);
Result:
if (IsIndented (line)) Unindent (line);

See also Indent Lines, Unquote Lines, Shift Lines Left and Tabify tools.

See also Trim Tail Spaces and Trim Empty Lines tools.