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 12:20:15 -0800
On Jan 23, 2006, at 12:13 PM, Keith Blount wrote:
Could you possibly give me a clue on where I would
start to emulate the default behaviour in my subclass?
As I understand it, I will have to check for the
paragraph style attribute across the range and then
look for text blocks within the paragraph style (using
-textBlocks?), although I am still unsure from the
docs about how I check whether the text block is a
table and whether it is represents a different table
across the range...
It involves comparing the text blocks immediately before the range of
interest (if any) with those at the beginning of the range, and the
text blocks immediately after the range of interest (if any) with
those at the end of the range.
I will consider how we might expose this sort of functionality in
API. I would note that it is possible that any particular
application might choose a different (perhaps simpler) heuristic for
its 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