• 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
Get the number of lines of text in an NSTextView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get the number of lines of text in an NSTextView?


  • Subject: Get the number of lines of text in an NSTextView?
  • From: Todd Ditchendorf <email@hidden>
  • Date: Tue, 24 Jan 2006 17:17:54 -0600

Dear list, How can you determine the total number of lines of text in an NSTextView?

I've looked in NSTextView, NSTextStorage, NSTextContainer, and NSAttributedString, but haven't yet noticed a method that looks like it will give me the information I'm looking for.

Anyone have any advice?

Thanks!!!!


Todd Ditchendorf http://ditchnet.org http://scan.dalo.us (Cocoa Developer Tools)


_______________________________________________ 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: Get the number of lines of text in an NSTextView?
      • From: Ricky Sharp <email@hidden>
    • Re: Get the number of lines of text in an NSTextView?
      • From: Douglas Davidson <email@hidden>
    • Re: Get the number of lines of text in an NSTextView?
      • From: Eamon Ford <email@hidden>
  • Prev by Date: Re: Cocoa-dev Digest, Vol 3, Issue 108
  • Next by Date: Re: Get the number of lines of text in an NSTextView?
  • Previous by thread: Re: Cocoa-dev Digest, Vol 3, Issue 108
  • Next by thread: Re: Get the number of lines of text in an NSTextView?
  • Index(es):
    • Date
    • Thread