Hi Actipro,
I encounter issues with the track change indicators, which I couldn't understand why it behaves that way. Below are the steps to reproduce:
1. Navigate to Sample project '\\ntaxEditor - Demos\SDI Code Editor (Inline)'
2. Enter character 'A' in line 4. Observe the yellow indicator appears.
3. Save the document. Observe the indicator changes to green.
4. Replace character 'A' with 'B' in line 4. Observe the indicator changes to yellow.
5. Save the document. Observe the indicator changes to green.
6. Replace character 'B' with 'C' in line 4. Observe the indicator changes to yellow.
7. Save the document. Observe the indicator changes to green.
8. Undo the change once. Observe the text change to 'B' and no indicator appears. ??
9. Undo the change once. Observe the text change to 'A' and no indicator appears.
10. Redo the change once. Observe the text change to 'B' and green indicator appears. ??
11. Redo the change once. Observe the text change to 'C' and green indicator appears.
Expected result:
It's expected that the same type of indicator should appear when the text lines are at the same undo state. In the step 8 and step 10 above, the text lines are at the same undo state, but one is showing no indicator while the other is showing green indicator. In fact, yellow indicator should appear instead of green one, since the state of the text line is different from the state of the text line when it was last saved in step 7. In Visio Studio, orange indicator is used.
I've sent you a seperate email titled 'State machine diagram for undo track change indicator (Reference 23517)' with a Visio state machine diagram showing the preferred behavior. Please let me know if it's acceptable or you could send me an overview design of the undo/redo track change, so that I can review it within my development team.
Thanks and regards,
James Zheng
[Modified 8 years ago]