Hello,
I've been working to handle several use cases around the EditCompletedType via the EditCompleted event. One of them is EditCompletedType.Discard.
However, i found that when Redraw is called thru code or the refresh button in the UI (in the status bar) are used, it triggers an EditOperation using EditCompleteType.Discard.
The comments for EditCompleted.Discard read
Indicates this EditCompletedEvent discards outstanding edits to the database.
This interferes with the Discard button on the Edit tab. I need to know when this button is pressed so I can sync our own undo operations with ArcGIS Pro's. However, Discard is used in two distinct use cases and I cannot find any difference between them.
Two Questions:
1. Assuming you can confirm this finding (I've attached a simple add-in that reproduces it), will it be patched ASAP?
2. Is there a work around? Is there a way to distinguish the Discard between a refresh and clicking the Discard button?
I am currently using ArcGIS Pro SDK 2.5. We plan to update to 2.6 in the very near future. If the fix will be in 2.6 it will move us quicker to that version.
TIA.
Kris