Re: NSTextView Line Number
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