List index out-of-bounds error on delete

General TRichView support forum. Please post your questions here
Post Reply
Stan-Troeh
Posts: 2
Joined: Sun Feb 12, 2023 8:28 pm

List index out-of-bounds error on delete

Post by Stan-Troeh »

When using RAD Studio 12.3 and TRichView FMX version 22.4, I'm getting an out-of-bounds error when deleting content from a TRichViewEdit. This error doesn't appear when using RAD 12.2.

Using the RVEditDemo example in the FMX suite, I highlight the bottom content as indicated.
RVEditDemo1.png
RVEditDemo1.png (36.01 KiB) Viewed 17548 times

With content highlighted, pressing Delete causes the information to be removed (expected) and the appearance of an out-of-bounds message (unexpected).
RVEditDemo2.png
RVEditDemo2.png (23.35 KiB) Viewed 17548 times

Pressing the OK clears the box, then it reappears. Pressing OK the second time brings a Debugger Fault Notification (when debugging) else abort.
RVEditDemo3.png
RVEditDemo3.png (12.23 KiB) Viewed 17548 times
Sergey Tkachenko
Site Admin
Posts: 17839
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: List index out-of-bounds error on delete

Post by Sergey Tkachenko »

I confirm the problem. It is only in FMX version.
It will be fixed in the next update (tomorrow or the day after tomorrow)
Sergey Tkachenko
Site Admin
Posts: 17839
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: List index out-of-bounds error on delete

Post by Sergey Tkachenko »

Fixed in version 23.2
Post Reply