• 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
Re: NSTextView - custom pasteboard types and text table issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView - custom pasteboard types and text table issues


  • Subject: Re: NSTextView - custom pasteboard types and text table issues
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 23 Jan 2006 11:41:15 -0800


On Jan 23, 2006, at 11:31 AM, Keith Blount wrote:

This is driving me nuts. Very clearly, the usual
NSAttributedString and NSText RTFD/RTF methods cause
issues when copying and pasting parts of a text table,
so NSTextView must do some extra stuff in its paste
methods to get around this, but I have no idea what.


NSTextView employs a heuristic that currently amounts to stripping off all tables not completely contained in the selection being copied, and all list items not completely contained in the selection being copied. This is likely to evolve in future releases. Obviously there are definitional questions as to the meaning of a subportion of a table when extracted to stand on its own; the answers may be different for copying than they are for other purposes, and NSTextView's behavior is intended to be reasonable for copying.


Douglas Davidson

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSTextView - custom pasteboard types and text table issues
      • From: Keith Blount <email@hidden>
References: 
 >RE: NSTextView - custom pasteboard types and text table issues (From: Keith Blount <email@hidden>)

  • Prev by Date: RE: NSTextView - custom pasteboard types and text table issues
  • Next by Date: Re: NSSound vs QuickTime
  • Previous by thread: RE: NSTextView - custom pasteboard types and text table issues
  • Next by thread: Re: NSTextView - custom pasteboard types and text table issues
  • Index(es):
    • Date
    • Thread