Find Duplicate Lines
Menu: Search > Find Duplicate Lines
Default Shortcut Key: none
Macro function: FindDuplicateLines()
The Find Duplicate Lines command can be used to locate all lines within the current file which are duplicated elsewhere in the file. The duplicate lines are copied, with line numbers, into an untitled file. No change is made to the current file during the operation.
If a range of lines is selected, Find Duplicate Lines will operate only on that portion of the file.
The results are presented in alphabetic order. The Sort Lines command can be used to sort by line numbers, if desired.
If you need to delete duplicate lines, use the Delete Duplicate Lines command.