I have a NSTextField in an NSWindow, when I highlight the text to change it, the highlight is blue. If, while the TextField still has focus, I move my mouse outside of the NSWindow; my NSTextField loses focus and the highlight is now gray. I basically want to keep focus on the NSTextView no matter where the mouse goes, unless they click outside, hit enter, or hit tab. (End Editing)
Has anybody seen this before or know a solution to the problem?
Thanks in Advance
-[NSTextView resignFirstResponder]
and/or-[NSWindow makeFirstResponder:]
and look at the backtrace for clues as to why it's happening. – Ken Thomases