[bug] DnD from the pasteboard onto the FTC area results in a NilObject exception.

In the demo app, DragNDropping (selected text and and image) from the pasteboard onto the FTC area results in a NilObject exception.

1) Run the demo app.
2) Select the graph
3) make the default window quite wide.
4) drag from lowdown outside the active canvas area in a left upward direction. Try it several times and you will get an exception



Error message =
Error number = 0

Stack:
RaiseIllegalCastException
RuntimeCheckCast
FTDocument.getPictureAtOffset%o<FTPicture>%o<FTDocument>i4
FormattedText.handleMovePicture%%o<FormattedText>i4i4
FormattedText.Event_DropObject%%o<FormattedText>o<DragItem>i4
_Z17UpdateMouseCursorv
_Z17IsAppShuttingDownv
_Z33CallFunctionWithExceptionHandlingPFvvE
_Z8mainloopv
RuntimeRun
REALbasic._RuntimeRun
_Main
% main
--

Cheers,

Dr Gerard Hammond
MacSOS Solutions
http://www.macsos.com.au

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: