I'm planning to develop a track changes plugin similar to Word.
I want to develop a plugin similar to Word's Track Changes feature. Looking for clear guidance on where to start.
It should include the following functionalities:
-
Building a Plugin Panel:
The panel interface should roughly look like this:
a. dropdownlists to view changes from version XXX to version YYY.
b. An "Add" button to create a new version.
c. An "Accept All Changes" button.
d. A toggle to enable/disable Track Changes.
e. A "Deletion Show State" toggle: Toggles the display of deleted text between a small red dot and strikethrough text. -
Deletion Tracking:
When text is deleted in real-time, a small red dot marker should be generated. Clicking the "Deletion Show State" button on the panel should toggle the visibility of the deleted text, displaying it with a strikethrough effect. (Note: This should be a custom visual effect, not InDesign's built-in strikethrough formatting.) -
Insertion Tracking:
Newly added text should be displayed with an underline. (Note: Just like the deletions, this should be a simulated visual effect rather than the actual underline character formatting.)
I have some experience with JavaScript, but I found that it alone cannot achieve the desired results, as I want to build a true plugin for text tracking. However, I am unsure which learning path I should take.
Should I learn UXP?
Or CEP?
Or would learning C++ and the InDesign Plugin SDK be sufficient?
Any guidance would be appreciated!
