Tools - Settings - Programs -
Under "Tools → Settings → Programs" in the tab "Compare files", the user may define programs for comparing two text files, depending on their file extension.
Assignment of filters and programs (compare files)
Different file extensions (in the column "filter") may be assigned to different file comparison programs (in the column "programs").
In the above example, all files are assigned to the program "PSPad.exe".
Calling the text file comparison
The menu item "File → Compare files..." or the hotkey "Ctrl+Alt+V" compares two selected text files. These two files may be located in the same panel or in two different panels.
If two or more text files are selected in the active panel, the first two files will be compared: %FileCompare1% will be replaced with the path of the first file, and %FileCompare2% with the path of the second file.
If there is only one file selected in the active panel, %FileCompare1% will be replaced with the path of the selected file in the left panel, and %FileCompare2% with the path of the selected file in the right panel.
The following buttons and shortcuts are available for editing the list of file comparison programs:
- (Insert): add new row
- (F2): edit the filter in the highlighted row
- (Ctrl+Del): delete the highlighted row
- (Ctrl+↑): move the highlighted row up
- (Ctrl+↓): move the highlighted row down
The input box "program" specifies the program which should perform the action for the highlighted row.
The input box "parameter" specifies any parameters required for the program in the highlighted row.