Re: Get the number of lines of text in an NSTextView?
Re: Get the number of lines of text in an NSTextView?
- Subject: Re: Get the number of lines of text in an NSTextView?
- From: Andreas Färber <email@hidden>
- Date: Wed, 25 Jan 2006 00:33:07 +0100
Am 25.01.2006 um 00:28 schrieb Eamon Ford:
I'd get the total number of characters, and divide it by the number of
characters that can show up on one line (a glyph range?). I may be
wrong though; I'm rather new.
That approach only gets an estimate! It would work only if there were
no line breaks and only fixed-width characters...
_______________________________________________
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