Undoing overwritten Hyperlinks
Posted: Wed Nov 05, 2025 10:01 am
Hello RichView Support,
I have a TRichViewEdit that contains a hyperlink.
When I select the hyperlink completely and press a key, it gets correctly overwritten — everything looks fine. However, when I try to undo this change using Ctrl+Z, only the typed character is undone. The original hyperlink text is not restored. I tested the same behavior in the RichViewActionsTest demo, and there it works correctly.
Is there a setting I might be missing, or do you have any suggestions on how to achieve the same undo behavior in my project?
Thank you very much for your help!
Best regards,
Tom
I have a TRichViewEdit that contains a hyperlink.
When I select the hyperlink completely and press a key, it gets correctly overwritten — everything looks fine. However, when I try to undo this change using Ctrl+Z, only the typed character is undone. The original hyperlink text is not restored. I tested the same behavior in the RichViewActionsTest demo, and there it works correctly.
Is there a setting I might be missing, or do you have any suggestions on how to achieve the same undo behavior in my project?
Thank you very much for your help!
Best regards,
Tom