Difference between revisions of "Unique Lines"

From TED Notepad
 
Line 2: Line 2:
 
====Unique (Ctrl+Shift+X)====
 
====Unique (Ctrl+Shift+X)====
  
Searches the selection for equal {{defined|lines}} and removes all duplicates. The order of the uniqued {{defined|lines}} remains unchanged and from each two equal lines, the second one is removed.
+
Searches the selection for duplicate {{defined|lines}} and removes all duplicates. The order of the ''uniqued'' {{defined|lines}} remains unchanged and from each two equal lines, the second one is removed.
  
 
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}}.

Revision as of 20:15, 1 May 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.

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.

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