views:

12

answers:

0

I'm trying to get the cursor position inside a NSTextField but so far unsuccessfully.

Tried using [[myWindow fieldEditor:FALSE forObject:myTextField] selectedRange].location but no luck.

Any ideas?