Re: NSTextView - custom pasteboard types and text table issues
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