title: How do I check if there is a selection?
body: <p>I have a NSTextView and I need to check if there is a selection, (blue highlight) of a word (or anything really), and not just a cursor. How can I do this. <code>nil</code> doesn't work, and I can't figure it out.</p>