Delete Duplicate Lines
Menu: Edit > Delete > Duplicate Lines
Default Shortcut Key: none
Macro function: DeleteDuplicateLines()
The Delete Duplicate Lines command can be used to delete duplicate lines within the current file. If a range of lines is selected, the operation will be restricted to the selected lines. Due to the destructive nature of this command, a confirmation is required before the operation begins.
Delete Duplicate Lines will not delete the first instance of a duplicated line. In other words, given a file that contained five lines with the text 'sample', four of these lines would be deleted.