• 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: Non-View Text Engine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-View Text Engine


  • Subject: Re: Non-View Text Engine
  • From: Douglas Davidson <email@hidden>
  • Date: Fri, 26 Sep 2003 14:39:21 -0700

On Friday, September 26, 2003, at 02:10 PM, Gordon Apple wrote:

It is clear that I can eventually piece together what I want. NSTextView
in fact does just that. Unfortunately, as I described, I don't want it in a
separate view because I want my own layering as draw-objects within a NSView
and do not want this text drawn in normal view order. That means either
extracting the code I need from NSTextView (is it available?), writing my
own (which I've done before), or subverting the view hierarchy (which I
often did in MacApp).

It is not clear to me exactly what you intend, but you might also want to take a look at the Sketch example, which exhibits a common technique--it has its own view class with its own drawing order for objects within it, including both text blocks and geometric shapes. When a text block needs to be edited, an NSTextView is instantiated and temporarily inserted at the appropriate location for editing.

Douglas Davidson
_______________________________________________
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.

References: 
 >Re: Non-View Text Engine (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: GCC3.3 and mid-function class declarations
  • Next by Date: copyWithZone error
  • Previous by thread: Re: Non-View Text Engine
  • Next by thread: stringByAppendingBlahBlah woes
  • Index(es):
    • Date
    • Thread