First chance exception at $75D50144. Exception class EListError with message 'List index out of bounds (-1). TRVList is empty'.
I know it is bad RTF code on a Table (however, I can't always fix the bad RTF tables. These can be from users. Is there a way to handle this more robustly?)
function TRVRTFReader.DoTable(WhatHappens: TRVRTFTableEventKind): Boolean;
begin
Result := True;
UpdateMarker;
if Assigned(FOnTable) then
FOnTable(Self, WhatHappens, Result);
AfterTableRow := WhatHappens in [rvf_tbl_RowEnd, rvf_tbl_TableEnd,
rvf_tbl_TableForcedEnd];
end;
This exception happens in try..except block, and finally LoadRTF function simply returns False.
The exception is not noticeable unless debugging in Delhi IDE.