Hi,

My NSTextView has strange behavior when pasting: The rich text is pasted as plain text when the material has been copied from Safari. When the same material has been copied from another NSTextView (e.g., TextEdit), it pastes properly as RTF.

I checked my pasteboard type at the end of the windowControllerDidLoadNib routine:

        NSArray *arrDrag = [tView acceptableDragTypes];
        for(i=0;i<[arrDrag count];i++)
                NSLog(@"%@", [arrDrag objectAtIndex:i]);

I obtain a full array of Pasteboard types as noted below.
Thanks much for any assistance or insight into this problem,

- VInce

 NeXT RTFD pasteboard type

 NeXT Rich Text Format v1.0 pasteboard type

 Apple HTML pasteboard type

 NSFilenamesPboardType

 CorePasteboardFlavorType 0x6D6F6F76

 Apple PDF pasteboard type

 NeXT TIFF v4.0 pasteboard type

 Apple PICT pasteboard type

 NeXT Encapsulated PostScript v1.2 pasteboard type

 Apple PNG pasteboard type

 WebURLsWithTitlesPboardType

 CorePasteboardFlavorType 0x75726C20

 Apple URL pasteboard type

 NSStringPboardType

 NSColor pasteboard type

 NeXT font pasteboard type

 NeXT ruler pasteboard type






_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to