As you modify a file that is under version control, all changes are highlighted in the editor with change markers that appear in the left gutter next to the modified lines and show the type of changes introduced since the last synchronization with the repository. When you commit the modified file to the repository, the change markers disappear.
The changes you introduce to the text are color-coded:
You can manage changes using the dedicated toolbar. To invoke it, hover the mouse cursor over a change marker and then click it. The toolbar is displayed together with a frame showing the previous contents of the modified line:
You can perform the following operations:
|Item||Tooltip and Shortcut||Description|
Previous Change / Next Change
|Ctrl+Shift+Alt+Down Ctrl+Shift+Alt+Up||Use these buttons to navigate between changes.|
||Ctrl+Alt+Z||Click this icon to rollback the changes. Note that all changes to the file since its last revision will be reverted, not just the current line.|
|Click this icon to explore the differences between the current and the repository version of the current line in the Diff for Range dialog.|
|Click this icon to copy the previous version of the modified line to the clipboard.|
|Show Detailed Differences||
Toggle this icon to change the way differences to modified lines are presented when you click the line changed change marker.
If enabled, the differences between the current and the repository version are highlighted in green: