pr20

I just downloaded the pr20 release to give it a try. I'm finding an OutOfBounds error immediately when I run it. Here's a stack trace:

Stack:
RaiseOutOfBoundsException
_Z17RegistryItemClassv
FTPage.findParagraphIndex%i4%o<FTPage>i4
FTPage.drawNormalViewMode% %o<FTPage>o<Graphics>o<FTDocument>i4i4o<FTInsertionPoint>
FTDocument.drawNormalViewMode%%o<FTDocument>i4i4i4i4
FTDocument.draw%%o<FTDocument>i4i4i4i4
FormattedText.draw%%o<FormattedText>
FormattedText.resize%%o<FormattedText>
FormattedText.resized%%o<FormattedText>
RunWindow.RunWindow.SetupControlPositions%%o<RunWindow.RunWindow>
Main.Event_Open%%o<Main>
RuntimeExit
RuntimeRegisterAppObject
REALbasic._RuntimeRegisterAppObject%%o<Application>
_NewAppInstance
_Main
% main


In the findParagraphIndex(y as Integer) method, its bombing out in the for...next loop when it tries to reference paragraph(i). i is equal to -25! Also, the variable slot is equal to -1, so that's where the negative value is coming from. Hope that helps.

Regards,

Ron Benditt
Alien Apparatus Company, Inc.
http://www.alienapparatus.com



FTC Website: www.truenorthsoftware.com/Realbasic/FormattedText.html
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in 
the subject field.


Other related posts: