or
Use this dialog to explore changes to a file, or selection. There are two views in this dialog:
- History view in the left-hand part
- Differences view in the right-hand part
The same dialog boxes are available on the context menu of a file or selected text in the editor.
History view
This view shows the list of revisions (states) of a file, with the date and time when the revision was stored. Some of the revisions are supplied with tags and labels.
Revisions are tagged automatically, for example, on opening a project, committing changes, or performing test. You can also set your own labels.
| Item | Description |
|---|---|
| Click this button to revert the selected action. |
|
| Click this button to create a patch based on the selected local version. |
| Click this button to open the corresponding help topic. |
The same actions are available on the context menu of each revision.
Differences view
The Differences view is a powerful editor that supports basic search and replace, undo/redo actions, and code completion.
If a revision is selected in the History view, the left-hand pane of the Differences view shows this read-only revision, with the differences against the current revision which is displayed in the right-hand pane. The current revision can be edited.
| Item | Shortcut | Description |
|---|---|---|
| ⌘C⌘C⌘C^ C^ Insert | Click this button to copy the current line or the selected fragment to the clipboard. |
|
⌘F⌘F^ F^ ⌥ S
⌘R⌘R^ H⇧ ⌥ 5 | Click this button to initiate the finding and replacing text procedure in the pane where the caret currently resides.
Refer to the search options description for details. |
or
| F7F7⌃F7F7F7 or ⇧F7⇧F7⇧F7⇧ F7⇧ F7 | Use these buttons to move to the next or previous difference. |
| Ignore whitespace | Use this drop-down list to define how the differences viewer should treat white spaces in the text.
| |
|
| Use these buttons to apply differences. | |
| Legend | This area shows summary information about the encountered differences: the number of differences found and the color map.
The color map for the Differences viewer is configured on the Colors and Fonts page. |
or