History Manager

From RAD Studio
Jump to: navigation, search

Go Up to Getting Started with RAD Studio

The History Manager lets you see and compare versions of a file, including multiple backup versions, saved local changes, and the buffer of unsaved changes for the active file. If the current file is under version control, all types of revisions are available in the History Manager.

The History Manager is displayed on the History tab, which is in the center of the IDE to the right of the Code tab. The History Manager contains the following tabbed pages:

Page Description

Contents

Displays the current and previous versions of the file.

Info

Displays all labels and comments for the active file.

Diff

Displays the differences between the selected versions of the file.


The toolbar at the top of the History Manager contains the following buttons. Not all buttons are available on all pages of the History Manager.

Tip: The toolbar button functions are also available on the right-click context menus of the History Manager pages.

History Manager Toolbar Buttons:

Button Description

Refresh

Refresh revision info updates the revision list to include unsaved changes to the file.

Revert

Revert to previous revision makes the selected version the current version and is available on the Contents and Info pages. Reverting a prior version deletes any unsaved changes in the editor buffer.

Sync

Synchronize scrolling synchronizes scrolling in the Contents and Diff pages and the Code Editor. It matches the line of text that contains the cursor with the nearest matching line of text in the other view. If there is no matching text in that region of the file, it matches line numbers.

Next

Go to next difference repositions the source on the Diff page to the next block of different code.

Prev

Go to previous difference repositions the source on the Diff page to the previous block of different code.

Follow

Follow text movement locates the same line in the source viewer when switching between views.



The following icons are used to represent file versions in the revision lists.

Revision Icons Used in the History Manager:

Icon Description

Latest

The latest saved file version.

Backup

A backup file version.

Buffer

The file version that is in the buffer and includes unsaved changes.

Version Control

A file version that is stored in a version control repository.

Checked Out

A file version that you have checked out from a version control respository.

Moved From

Indicates a line of code was moved from the highlighted line.

MovedTo

Indicates a line of code was moved to the highlighted line.



See Also

Personal tools
Newest Version: XE
In other languages