As you modify a file that is under version control, all changes are highlighted in the editor with the change markers that appear in the left gutter next to the modified lines, and show changes introduced since the most recent synchronization with the repository. On committing a file to the repository, the change markers disappear.
The changes you introduce to the text are color-coded:
- line added.
- line changed.
- line deleted.
A special toolbar is associated with each change marker, enabling you to perform the following operations:
- Navigate between changes using and .
- Compare the current version with the last committed one using .
- Revert changes using .
- Put the previous version of the changed lines to the clipboard using .
- Point to the desired change marker. The mouse pointer changes its shape:
- Click the change marker. The toolbar and the previous contents of the line are displayed: