Where did I just type that character?
Where did I just type that character?
- Subject: Where did I just type that character?
- From: "Mike R. Manzano" <email@hidden>
- Date: Sat, 26 Aug 2006 03:19:41 -0700
I have an NSTextStorage whose contents are being displayed in several
NSTextViews. After typing a character into one of the text views, how
can I programmatically detect which text view it is that I typed into?
I noticed that the first responder status of the text views does not
change if I type past the boundaries of the first text view into a
second one (which I am adding in response to
layoutManager:managerdidCompleteLayoutForTextContainer:atEnd:). I'd
like to use the aforementioned detection to automatically set the
second text view as the first responder.
My text views hilite in a special way when they become first
responder, and I'd like the hilite to transition between text views
as I type between them.
Thanks!
~ Mike
alephx01 (at) mac (dot) 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