• 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: Johnny Deadman <email@hidden>
  • Date: Wed, 4 May 2005 22:44:01 -0400

On 4-May-05, at 4: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.

The specific decision about where to break a line is made by the particular subclass of NSTypesetter that is in action, under the control of NSLayoutManager. Check the docs for NSTypesetter and NSATSTypesetter.


_______________________________________________
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


References: 
 >NSTextView - text wrapping (From: Ian was here <email@hidden>)

  • Prev by Date: Re: kEventParamMenuRef (was: _NSGetCarbonMenu)
  • Next by Date: Setting the contents of an NSTokenField programatically
  • Previous by thread: Re: NSTextView - text wrapping
  • Next by thread: Re: NSTextView - text wrapping
  • Index(es):
    • Date
    • Thread