Page 1 of 1
List index out of bounds problem during undo
Posted: Sat Dec 08, 2007 8:56 pm
by jimmaguire
I'm sending a sample to reproduce the problem in a separate email. Type in a couple characters in a table cell in the rvf and then do a ctrl-z to undo a couple times and you will get the error. I used your ActionTest to reproduce the problem. The TRichViewEdit demo Editor2.REditor does not have the problem with the same rvf.
The rvf I'm sending is the result of a mail merge and the problem may be due to my use of the RVData.DeleteItems. I've used the SaleDeleteItem as a model and do a NormalizeRichView and like I said, REditor handles it ok.
Posted: Tue Dec 11, 2007 8:25 am
by proxy3d
You use what version ScaleRichView?
The file date is Dec 1, 2007
Posted: Tue Dec 11, 2007 4:03 pm
by jimmaguire
Don't see the version, but I believe I have the most recent
Posted: Tue Dec 11, 2007 5:32 pm
by proxy3d
I cannot reproduce a mistake. You can send me a screenshot and the debugging information?
I sent a sample on 12/8 but will resend
Posted: Tue Dec 11, 2007 5:55 pm
by jimmaguire
Its easily reproducable in ActionTest with my sample, will resend now
Problem solved
Posted: Tue Dec 11, 2007 6:24 pm
by jimmaguire
When I added the RVA_GetRich...FromComponent line you suggested in my Context Menu post for spell check menu problem, then this problem went away.
Posted: Wed Dec 12, 2007 7:28 am
by proxy3d
I cannot reproduce a mistake.
I checked on old file OutOfBoundsIndexProblem.rvf and a new file which you sent me.
You can send me a screenshot and the debugging information?
Posted: Wed Dec 12, 2007 3:39 pm
by jimmaguire
Sorry that I no longer have a bug report showing the problem. The problem no longer occurs and I deleted the report.