Page 1 of 1

Undoing overwritten Hyperlinks

Posted: Wed Nov 05, 2025 10:01 am
by tomr
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.
Hyperlink Markiert.png
Hyperlink Markiert.png (5.53 KiB) Viewed 467 times
Hyperlink überschrieben.png
Hyperlink überschrieben.png (2.28 KiB) Viewed 467 times
However, when I try to undo this change using Ctrl+Z, only the typed character is undone. The original hyperlink text is not restored.
Hyperlink Strg_Z.png
Hyperlink Strg_Z.png (2.18 KiB) Viewed 467 times
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

Re: Undoing overwritten Hyperlinks

Posted: Wed Nov 05, 2025 2:50 pm
by tomr
Hi again,
you can close this topic. The issue was due to me editing the hyperlink font in the OnKeyDown event