Re: FTC beta 14 preview 18
- From: Bob Keeney <bobk@xxxxxxxxxxx>
- To: ftcdev@xxxxxxxxxxxxx
- Date: Wed, 10 Oct 2007 17:14:50 -0500
I managed to get it to error out in FTDocument.GetParagraph with an
out of bounds exception using my newly patented 'spaz clicking test'.
It was called by the FTCUndoTyping.undo by this code:
' Get the combined paragraph.
p = doc.getParagraph(contents(0).startParagraphIndex) <-----
================================================
Error message =
Error number = 0
Stack:
RaiseExceptionClass
RaiseOutOfBoundsException
GetIDERegistryKey
FTDocument.getParagraph%o<FTParagraph>%o<FTDocument>i4
FTCUndoTyping.undo%%o<FTCUndoTyping>
UndoManager.undo%%o<UndoManager>
FTCUndoManager.undo%%o<FTCUndoManager>
FormattedText._EditUndo_Action%b%o<FormattedText>
RuntimeMenuItemClick
_Z20ExtractKeyValuePairs6stringS_S_PPS_S1_
_Z23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerC
allRec
_Z30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetR
efP14HandlerCallRec
SendEventToEventTarget
_Z18SendHICommandEventmPK9HICommandmmhP20OpaqueEventTargetRefS3_PP14Opaq
ueEventRef
SendMenuItemSelectedEvent
_Z19HandleKeyboardEventP14OpaqueEventRefh
_Z23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerC
allRec
_Z30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetR
efP14HandlerCallRec
SendEventToEventTargetWithOptions
_Z19HandleKeyboardEventP14OpaqueEventRefm
_Z29ToolboxEventDispatcherHandlerP25OpaqueEventHandlerCallRefP14OpaqueEv
entRefPv
_Z23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerC
allRec
_Z30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetR
efP14HandlerCallRec
SendEventToEventTarget
_Z18BalloonHelpChangedP7SubPane
_Z9EventPumph
_Z19SetApplicationStatei
_ZN21EnvironmentEventQueue11FilterEventEP11EventRecord
_Z33CallFunctionWithExceptionHandlingPFvvE
_Z8mainloopv
RuntimeRun
REALbasic._RuntimeRun
On Oct 10, 2007, at 1:33 PM, Brendan Murphy wrote:
Beta 14 preview 18 has been uploaded to the web site.
http://www.truenorthsoftware.com/Realbasic/FormattedText.html
This preview should take care of the missing undo cases I have
been working on for the last couple of prieviews. Please continue
with "spaz" testing the FTC since it helps to uncover those
difficult to find error cases.
Here's what is new with this preview...
- Made some adjustments to how character and paragraph styles are
implemented.
- Added an undo cases for undoing character and paragraph styles.
- Optimized XML output by making default values for a lot of the
FTStyleRun fields so that those attributes don't have to be
defined and take up space in the output.
- Fixed a cosmetic error where a left over insertion caret was
displayed at the end of the text when opening an RTF file.
- Added more protection for nil objects generated through "spaz"
clicking.
- Fixed a problem with an exception occationally occurring when
draging pictures within the FTC.
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.
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.
- References:
- FTC beta 14 preview 18
- From: Brendan Murphy
Other related posts:
- » FTC beta 14 preview 18
- » [bug] FTC beta 14 preview 18
- » Re: FTC beta 14 preview 18
- » [bug] FTC beta 14 preview 18
- » Re: FTC beta 14 preview 18
- » Re: FTC beta 14 preview 18
- » Re: FTC beta 14 preview 18
Beta 14 preview 18 has been uploaded to the web site. http://www.truenorthsoftware.com/Realbasic/FormattedText.html This preview should take care of the missing undo cases I have been working on for the last couple of prieviews. Please continue with "spaz" testing the FTC since it helps to uncover those difficult to find error cases. Here's what is new with this preview... - Made some adjustments to how character and paragraph styles are implemented. - Added an undo cases for undoing character and paragraph styles. - Optimized XML output by making default values for a lot of the FTStyleRun fields so that those attributes don't have to be defined and take up space in the output. - Fixed a cosmetic error where a left over insertion caret was displayed at the end of the text when opening an RTF file. - Added more protection for nil objects generated through "spaz" clicking. - Fixed a problem with an exception occationally occurring when draging pictures within the FTC. FTC Website: www.truenorthsoftware.com/Realbasic/FormattedText.htmlSet List Options (digest and vacation modes): www.freelists.org/ list/ftcdev
List Archive: www.freelists.org/archives/ftcdevUnsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in the subject field.
- FTC beta 14 preview 18
- From: Brendan Murphy