• 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 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


  • 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: NSImage NSInternalInconsistencyException
  • 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