mono/maccore — pull request #20 by rockpiper (2011-11-02 20:08:56+00:00)
Title: Add 'RangeValue' property to NSValue for MonoMac.

To be able to do something like this:

NSRange bla = ((NSValue)notification.UserInfo.ValueForKey (new NSString ("NSOldSelectedCharacterRange"))).RangeValue;

when I'm notified about a selection change by my NSTextView, I need to get the NSRange from the NSValue. Please include my simple patch to make this work.

Thanks!