Last Updated: 10 Jun 2020 14:10 by ADMIN
Created on: 04 Jun 2020 09:33
Category: RichTextBox
Type: Bug Report
RichTextBox: InvalidCastException is thrown when performing undo on nested annotations



In the attached example, applying character formatting to a selection that ends between two annotation ends and undoing the formatting action does not revert the annotations to the exact position as they were before the formatting was applied.

Applying formatting twice and undoing twice crashes the editor because the second undo command inserts unpaired annotations (as it operates on a document state different than the expected one).

Attached Files:
1 comment
Posted on: 10 Jun 2020 14:10

Hi Yiannis,

Thank you for the report and for the detailed information. I was able to reproduce that issue and added it to our internal backlog. I am afraid that I couldn't find a workaround for this behavior, though.

Your Telerik points are updated as appreciation for bringing this to our attention.

Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.