[FTC_B15pv32] Copy/Paste of FTCustom Object Causes OOBE
- From: Bob Keeney <bobk@xxxxxxxxxxx>
- To: ftcdev@xxxxxxxxxxxxx
- Date: Wed, 25 Jun 2008 15:26:55 -0500
Using the demo app, I ran it, then selected and copied the first
FTCustom graph. Then selected all of the text and deleted it. Then
pasted the graph back in and hit a key (don't remember which one) and
got the error (see attached file). I couldn't duplicate it
unfortunately.
OS = Mac x86
RB Version = 2008r2
Exception Type = OutOfBoundsException
Stack Trace:
RaiseOutOfBoundsException
RuntimeUBound2Param
FTParagraph.insertTabCharacter%%o<FTParagraph>i4
FTDocument.insertTabCharacter%%o<FTDocument>o<FTInsertionOffset>
FTDocument.insertString%%o<FTDocument>s
FormattedText.Event_KeyDown%b%o<FormattedText>s
_ZN19RuntimePaneDelegate7KeyDownE6string
_ZN7SubPane14HandleKeyPressEhhs
_ZN13RuntimeCanvas14HandleKeyPressEhhs
_ZN7SubPane18HandleUnicodeInputElls
_Z18HandleUnicodeEventRP14OpaqueEventRefP7SubPane
_Z28ProcessTextInputForFocusPaneP25OpaqueEventHandlerCallRefRP14OpaqueEventRef
_ZN7SubPane13SetRunControlEP14RuntimeControl
_NotifyEventLoopObservers
SendEventToEventTargetWithOptions
SendEventToEventTarget
GetEventDispatcherTarget
_NotifyEventLoopObservers
SendEventToEventTargetWithOptions
SendEventToEventTarget
IsCurrentTSMDocumentUnicode
HandleControlKey
GetMenuItemRefCon
TSMProcessRawKeyEvent
AESetTheCurrentEvent
CreateEvent
_NotifyEventLoopObservers
SendEventToEventTargetWithOptions
SendEventToEventTargetWithOptions
GetEventDispatcherTarget
_NotifyEventLoopObservers
SendEventToEventTargetWithOptions
SendEventToEventTarget
_Z12SetFocusPaneP7SubPane
_Z9EventPumph
_Z17UpdateMouseCursorv
_Z17IsAppShuttingDownv
_Z33CallFunctionWithExceptionHandlingPFvvE
_Z8mainloopv
RuntimeRun
REALbasic._RuntimeRun
_Main
% main
I had a second issue occur when trying to duplicate the above issue.
After I pasted the FTCustom graph in the demo, I hit backspace to
delete it and it wouldn't. Using the arrow keys moves the cursor to
before and after the custom object and neither delete or backspace
deletes the object. Holding the shift key while using the arrow keys
DOES delete it.
If I paste multiple versions of the same graphic, I can delete all of
them using the backspace key except the first.
Hope that tells you something.
Bob Keeney
BKeeney Software Inc.
- References:
- FTC beta 15 preview 32
- From: Brendan Murphy
Other related posts:
- » [FTC_B15pv32] Copy/Paste of FTCustom Object Causes OOBE
- FTC beta 15 preview 32
- From: Brendan Murphy