Track change indicator should be yellow instead of green

SyntaxEditor for WPF Forum

Posted 3 years ago by James Zheng
Version: 16.1.0631
Platform: .NET 4.5
Environment: Windows 10 (64-bit)
Avatar

Hi Actipro,

I found one scenario where the track change indicator should be yellow instead of green.

Steps to reproduce:

1. Navigate to 'SyntaxEditor - Demo/SDI Code Editor (inline)' in the sample projects.

2. Enter 'change 1 ' in the 4th line.

3. Remove '1' at the end of the 4th line.

4. Enter '1' at the end of the 4th line.

4. Save the document by clicking the 'Save' icon in the toolbar.

5. Observe the indicator changes from yellow to green.

6. Undo by clicking the 'Undo' icon in the toolbar.

7. Observe that indicator is still green which should be yellow.

Expected result:

It's undertood that when user edits in the syntax editor, a yellow indicator appears and when the document is saved, the indicator changes from yellow to green.

But when a text line is undone/redone to a state which is different from the one when it's saved, the indicator should be yellow. In step 7 above, the indicator stays green which is different from the behavior in visual studio.

Regards,

James Zheng

[Modified 3 years ago]

Comments (5)

Posted 3 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi James,

Thanks for the bug report.  This is related to the known issues we have with change tracking.  We have added this info to the TODO item for improving change tracking so that we can make sure it works better as we make updates in that feature area.


Actipro Software Support

Posted 3 years ago by James Zheng
Avatar

Hi Actipro,

Thanks.

I would like to know when this is going to be fixed, as we need a date to complete undo/redo feature in our editor.

Regards,

James Zheng

[Modified 3 years ago]

Posted 3 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi James,

This will require some large complex refactoring, and it's not an easy fix.  I've bumped the priority on it and we will post here again when we have a fix in place.


Actipro Software Support

Posted 3 years ago by James Zheng
Avatar

Thanks!

Answer - Posted 3 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi James,

As you know already know, but for the benefit of others reading this, the latest maintenance release has completely reworked the line modification marks to fix past issue and also added reverted change (orange mark) tracking.

http://blog.actiprosoftware.com/post.aspx?id=45e93abd-4afd-4323-bd84-ac303cbc2956

[Modified 3 years ago]


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.