Search found 3 matches

by ETKit
Fri Jun 19, 2009 1:32 pm
Forum: Support
Topic: RVRVData.PAS - TRVFontInfoCacheFast.GetItems Bug
Replies: 4
Views: 10043

I looked at my code here as well as the various RVFOptions settings. Here is what I am doing a. I use the same RichViewEdit component to load text from several text streams - only one is viewable and editable at any given time. b. Whenever I load a new text stream I am clearing the RVE first. c ...
by ETKit
Thu Jun 18, 2009 3:42 pm
Forum: Support
Topic: RVRVData.PAS - TRVFontInfoCacheFast.GetItems Bug
Replies: 4
Views: 10043

The reason of this exception is quite obvious: your document contains a text item having incorrect StyleNo (valid values are from 0 to RVStyle.TextStyles.Count-1). Please check how your document is generated and fix this bug. From the other hand, this situation must be handled by TRichView ...
by ETKit
Thu Jun 18, 2009 2:56 pm
Forum: Support
Topic: RVRVData.PAS - TRVFontInfoCacheFast.GetItems Bug
Replies: 4
Views: 10043

RVRVData.PAS - TRVFontInfoCacheFast.GetItems Bug

I find that if I attempt to edit the last line of text in a TRichViewEdit control an exception is thrown. This appears to happen because the Index passed to the TRVFontInfoCacheFast.GetItems method is equal to TRVFontInfoCacheFast.Count . I have fixed this for now by doing two things Checking for ...