Page 1 of 1

Different Handling overriting links in trichview

Posted: Thu Apr 02, 2026 12:58 pm
by tomr
Hello TRichView Support,
I have encountered an issue regarding overwriting hyperlinks, which can also be reproduced in the demo application.

When the hyperlink is the first element in a line, everything works as expected:
Enter an email address so that the hyperlink is automatically detected.
First Hyperlink.png
First Hyperlink.png (10.7 KiB) Viewed 182 times
Add spaces at the end and select the entire line.
First Hyperlink Selected.png
First Hyperlink Selected.png (8.85 KiB) Viewed 182 times
Overwrite the hyperlink while keeping the same target.
First Hyperlink Overriten.png
First Hyperlink Overriten.png (15.28 KiB) Viewed 182 times
In this case, the hyperlink target remains intact.

However, if I follow the same steps but insert spaces or tabs before the hyperlink, the target is lost after overwriting.
Second Hyperlink Selected.png
Second Hyperlink Selected.png (4.43 KiB) Viewed 182 times
Second Hyperlink Overriten.png
Second Hyperlink Overriten.png (17.9 KiB) Viewed 182 times
In Microsoft Word, the hyperlink target remains unchanged in both scenarios.

Could you please confirm whether this is expected behavior or a known issue?

Kind regards,
Tom

Re: Different Handling overriting links in trichview

Posted: Thu Apr 02, 2026 1:57 pm
by Sergey Tkachenko
Overwrite the hyperlink while keeping the same target.
How exactly I need to overwrite the hyperlink?
If I select the whole line (hyperlink + trailing non-hyperlink spaces), new typed characters will have style of non-hyperlink spaces.

Re: Different Handling overriting links in trichview

Posted: Thu Apr 02, 2026 2:33 pm
by tomr
Hi Sergey,
Sorry, my previous description may have been inaccurate.
You do not need to select the entire line—that was incorrect.
Wrong Selection.png
Wrong Selection.png (6.06 KiB) Viewed 171 times
Instead, only select the spaces after the hyperlink together with the hyperlink itself.
Wright Selection.png
Wright Selection.png (15.17 KiB) Viewed 171 times