• 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: To know what shows in the first line of a multiline NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: To know what shows in the first line of a multiline NSTextField


  • Subject: Re: To know what shows in the first line of a multiline NSTextField
  • From: Graham Cox <email@hidden>
  • Date: Wed, 12 May 2010 21:28:07 +1000

On 12/05/2010, at 9:23 PM, Graham Cox wrote:

> You can do it by getting down into the NSLayoutManager used by the text view


Note that with a text FIELD this is not as straightforward (not that it was anyway), because the text field doesn't keep a layout manager. I'm not sure how fields perform text layout - perhaps by using the field editor, or by using a temporary layout manager they create on the fly, or something else. I'm afraid I can't help much with that, but someone else might be able to.

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: To know what shows in the first line of a multiline NSTextField
      • From: Uli Kusterer <email@hidden>
References: 
 >To know what shows in the first line of a multiline NSTextField (From: Nick Rogers <email@hidden>)
 >Re: To know what shows in the first line of a multiline NSTextField (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: To know what shows in the first line of a multiline NSTextField
  • Next by Date: Re: To know what shows in the first line of a multiline NSTextField
  • Previous by thread: Re: To know what shows in the first line of a multiline NSTextField
  • Next by thread: Re: To know what shows in the first line of a multiline NSTextField
  • Index(es):
    • Date
    • Thread