Pasting RTF (List index out of bounds)
Posted: Mon Dec 19, 2005 3:55 pm
(1.9.19)
Hi Sergey,
i found that when you try to paste RTF from outlook to TRichViewEdit, List index out of bounds (-1) will occur when you'll try to paste text with ListMarker.
* ListMarker Text(one little space)
fun is that the exception will be risen only when you copy the listmarker without the space at the end of the text.
The most often case of this is the case when user is selecting marker from the end to the beginning. When it is from beginning to the end, the space is involved...
it's because the TRVMarkerItemInfo has ListNo = -1; so there is no marker and in my app where is the RVRuler component - it raises exception...
can you take a closer look at this? thanks a lot...
Hi Sergey,
i found that when you try to paste RTF from outlook to TRichViewEdit, List index out of bounds (-1) will occur when you'll try to paste text with ListMarker.
* ListMarker Text(one little space)
fun is that the exception will be risen only when you copy the listmarker without the space at the end of the text.
The most often case of this is the case when user is selecting marker from the end to the beginning. When it is from beginning to the end, the space is involved...
it's because the TRVMarkerItemInfo has ListNo = -1; so there is no marker and in my app where is the RVRuler component - it raises exception...
can you take a closer look at this? thanks a lot...