• 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 - text wrapping
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView - text wrapping


  • Subject: Re: NSTextView - text wrapping
  • From: Ian was here <email@hidden>
  • Date: Wed, 4 May 2005 18:30:31 -0700 (PDT)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys

Thanks



--- Douglas Davidson <email@hidden> wrote:
>
> On May 4, 2005, at 1:07 PM, Ian was here wrote:
>
> > Does anyone know how to detect text wrapping in an
> > NSTextView? NSResponder has many actions for
> detecting
> > key stroke commands, but nothing for text reaching
> the
> > far right of the text field and starting a new
> line.
> >
>
> For detailed information, ask the text view's layout
> manager.  It
> will tell you, for example, which glyphs are located
> on which line,
> what the position and size of the line is, and so
> on.  The layout
> manager also has a delegate method that will inform
> you when it
> performs layout.  For more general notifications of
> changes, you
> could listen (for example) for the text view's frame
> changes.
>
> Douglas Davidson
>
>



Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html

 _______________________________________________
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

  • Prev by Date: Re: _NSGetCarbonMenu useage
  • Next by Date: Re: kEventParamMenuRef (was: _NSGetCarbonMenu)
  • Previous by thread: Re: NSTextView - text wrapping
  • Next by thread: Re: NSTextView - text wrapping
  • Index(es):
    • Date
    • Thread