Page 1 of 1

List index out-of-bounds error on delete

Posted: Tue Apr 15, 2025 3:16 pm
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 17551 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 17551 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 17551 times

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

Posted: Tue Apr 15, 2025 4:35 pm
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)

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

Posted: Thu Apr 17, 2025 12:14 pm
by Sergey Tkachenko
Fixed in version 23.2