Re: NSTextView getting the cursor col/row
Re: NSTextView getting the cursor col/row
- Subject: Re: NSTextView getting the cursor col/row
- From: Ondra Cada <email@hidden>
- Date: Fri, 6 May 2005 14:24:29 +0200
Duncan,
On 6.5.2005, at 7:45, Duncan Campbell wrote:
I'm trying to figure out how to get the current col/row of the
cursor in an NSTextView subclass
Bad news: the text system is too complicated to be accessed using the
plain old col/row paradigm. Read on the text system in general,
focusing on the layout manager.
Nevertheless, if what you want is just a matrix of characters, it
might be better to use your own simplified text view: far as I know
and unless I am mistaken too much, that's what Terminal does.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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