[Demo] Track changes (a kind of)

Demos, code samples. Only questions related to the existing topics are allowed here.
Post Reply
Sergey Tkachenko
Site Admin
Posts: 17602
Joined: Sat Aug 27, 2005 10:28 am
Contact:

[Demo] Track changes (a kind of)

Post by Sergey Tkachenko »

Our editors do not support "track changes" feature yet.
The attached demos try to simulate this feature by coloring inserted or deleted text:
TrackChanges.zip
(105.4 KiB) Downloaded 6618 times
A green color (and an underline) is applied to all new text.
Instead of deletion, a red color (and a strike-out) is applied (except for deleting green text, it is deleted immediately).

To accept changes, click the "Accept" button.
There is no "Revert" button, but it can be implemented by reloading the last-accepted document.

There are two versions of this demo in the attached ZIP file: for TRichViewEdit and for ScaleRichView.
TrackingChanges.png
TrackingChanges.png (9.99 KiB) Viewed 139782 times
Post Reply