List index out of bounds problem during undo

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
Post Reply
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

List index out of bounds problem during undo

Post 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.
proxy3d
ScaleRichView Developer
Posts: 307
Joined: Mon Aug 07, 2006 9:37 am

Post by proxy3d »

You use what version ScaleRichView?
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

The file date is Dec 1, 2007

Post by jimmaguire »

Don't see the version, but I believe I have the most recent
proxy3d
ScaleRichView Developer
Posts: 307
Joined: Mon Aug 07, 2006 9:37 am

Post by proxy3d »

I cannot reproduce a mistake. You can send me a screenshot and the debugging information?
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

I sent a sample on 12/8 but will resend

Post by jimmaguire »

Its easily reproducable in ActionTest with my sample, will resend now
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

Problem solved

Post 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.
proxy3d
ScaleRichView Developer
Posts: 307
Joined: Mon Aug 07, 2006 9:37 am

Post 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?
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

Post by jimmaguire »

Sorry that I no longer have a bug report showing the problem. The problem no longer occurs and I deleted the report.
Post Reply