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

Re: NSTextView Line Number


  • Subject: Re: NSTextView Line Number
  • From: Guy English <email@hidden>
  • Date: Thu, 13 Jan 2005 14:01:29 -0500

On Fri, 14 Jan 2005 07:53:36 +1300 (NZDT), SJB <email@hidden>
> Thanks for the answer. I suspected that caching the
> information myself would be the answer, but it just
> seemed very odd that the line number wasn't tracked
> somewhere in Cocoa.

Probably because it depends what you mean by line. Is it each line
feed character or each visible line as layed out by the layout
manager? And text storage is seperate from layout and you can have
multiple layouts looking at one text storage so, in all, it's not a
simple relationship.

Guy
 _______________________________________________
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: 
 >Re: NSTextView Line Number (From: glenn andreas <email@hidden>)
 >Re: NSTextView Line Number (From: SJB <email@hidden>)

  • Prev by Date: Re: NSTextView Line Number
  • Next by Date: Re: Bindings Book !!!!!
  • Previous by thread: Re: NSTextView Line Number
  • Next by thread: IB Palettes, custom classes and the need for Frameworks
  • Index(es):
    • Date
    • Thread