Difference between revisions of "Unique 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>
 
====Unique (Ctrl+Shift+X)====
 
====Unique (Ctrl+Shift+X)====
  
Line 5: Line 5:
  
 
Note: Use {{hotkey|Alt+Ctrl+Shift+X}} hotkey to {{defined|ignore case}} while searching for duplicate {{defined|lines}}.
 
Note: Use {{hotkey|Alt+Ctrl+Shift+X}} hotkey to {{defined|ignore case}} while searching for duplicate {{defined|lines}}.
 +
 +
Note: This tool is actually a shortcut to the {{feature|Find Duplicates}} tool, which allows to specify more options on how to search for duplicate lines.
  
 
{{example_start}}Example:
 
{{example_start}}Example:
Line 28: Line 30:
 
could</nowiki>
 
could</nowiki>
 
{{example_end}}
 
{{example_end}}
 +
 +
See also {{feature|Find Duplicates}} tool.

Revision as of 21:45, 25 April 2011

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

Unique (Ctrl+Shift+X)

Searches the selection for duplicate lines and removes all duplicates. The order of the uniqued lines remains unchanged and from each two equal lines, the second one is removed.

Note: Use Alt+Ctrl+Shift+X hotkey to ignore case while searching for duplicate lines.

Note: This tool is actually a shortcut to the Find Duplicates tool, which allows to specify more options on how to search for duplicate lines.

Example:
how much wood would a woodchuck chuck if a woodchuck could chuck wood
Result:
how much wood would a woodchuck chuck if could

See also Find Duplicates tool.