• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Custom NSTextAttachment writeSelectionToPasteboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom NSTextAttachment writeSelectionToPasteboard


  • Subject: Custom NSTextAttachment writeSelectionToPasteboard
  • From: "Mark's Studio" <email@hidden>
  • Date: Wed, 18 Sep 2002 21:44:41 +0200

I have a custom NSTextView and a custom NSTextAttachmentCell,
and i have overwritten

- (BOOL)writeSelectionToPasteboard:(NSPasteboard *)pboard
type:(NSString *)type
{

return [super writeSelectionToPasteboard:pboard type:type];

}

I know how to check if it's my custom cell that's selected and write
that to the pasteboard,
but what if the selection contains a mixture of myCustomCell and things
super should write to the pasteboard,
how would i do that?

Thanks

Peter Mark

Mark's Recording Studio A/S
Faelledvej 19 b DK2200 N
Copenhagen Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: attributesAtIndex:effectiveRange: vs the insertion point at end of text
  • Next by Date: Cocoa-style HTML documentation
  • Previous by thread: Re: where is mouseDragged in NSTableView ??
  • Next by thread: Cocoa-style HTML documentation
  • Index(es):
    • Date
    • Thread