Edit
In DiffDog, you can edit documents displayed in a File Comparison window. You can edit a document by typing directly into it and/or by using keyboard shortcuts or commands in the Edit menu. The commands in the Edit menu include standard editing functions, such as Undo, Cut, Copy, Paste, and a powerful Find and Replace functionality. These commands are described in the sub-sections of this section.
Note: | Editing commands are document-specific, and the Edit menu commands are not available when a directory comparison is active. |
Undo/Redo
The Undo (Alt+Backspace, Ctrl+Z) command enables you to undo an unlimited number of previous actions for each document separately. To undo previous actions in any document, place the cursor in that document and select the Undo command. You can switch among documents in multiple open file comparisons. In each document, the Undos will continue from the point where it was last left.
Please consider the following when using the Undo and Redo commands:
•The Undo and Redo commands also undo and redo merged differences an unlimited number of times.
•It is important to place the cursor in the document that has been changed. For example, if you merge a difference from the Left Pane to the Right Pane, then the Undo for this action will only be available if the cursor is placed in the Right Pane (because this pane contains the document that has been changed).
•The Undo and Redo history is lost when the view is switched from Text View to Grid View, or vice versa.
•The Edit menu and the Undo and Redo commands are not available in Directory Comparison windows.
The Redo (Ctrl+Y) command reverses a previous Undo command, and can be executed as many times as an Undo was performed. Like the Undo command, the Redo command is also document-specific, and you can switch among documents.
Cut, Copy, Paste, Delete, Select All
The Cut (Shift+Delete, Ctrl+X) command copies the selected text to the clipboard and deletes it from its present location.
The Copy (Ctrl+C) command copies the selected text to the clipboard. This can be used to duplicate data within DiffDog or to move data to another application.
The Paste (Ctrl+V) command inserts the contents of the clipboard at the current cursor position of any document you make active in DiffDog. You can also paste text from the clipboard into any other document in an application that supports pasting from the clipboard.
The Delete (Del) command enables you to delete a selection in the document.
The Select All command enables you to select all the content of a file in one of the file comparison panes. Place the mouse cursor inside the pane with the file you would like to select and click Select All in the Edit menu.
Find and Replace
The Find (Ctrl+F) command pops up the Find dialog box, in which you can specify the string you want to find and other options for the search.
The Find next (F3) command repeats the last Find command to search for the next occurrence of the requested text. Clicking this command when the Find dialog box is open, closes the Find dialog box before taking you to the next occurrence of the search string.
The Replace (Ctrl+H) command enables you to find and replace one text string with another text string. It features the same options as the Find command. You can replace each item individually or you can use the Replace All button to perform a global search-and-replace operation.