NSTextView Line Number
NSTextView Line Number
- Subject: NSTextView Line Number
- From: SJB <email@hidden>
- Date: Thu, 13 Jan 2005 13:01:51 +1300 (NZDT)
Hi,
Does anyone have an easy way of getting the current
line number in an NSTextView?
I realise that I could just run through the text and
count the line ends, but that would get slower as the
file gets bigger.
Any suggestions or example code would be much
appreciated.
Simon.
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
_______________________________________________
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