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?
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?