Hi Ben,

1) I had a bug in my selection constraining code that in a few odd places subtract a larger number from a smaller number when creating a range, thus creating a range with a really really big length-- close to UINT_MAX.
...
Anyway, I would have never run up against this if my code wasn't buggy, but I thought it might be helpful to someone down the line.

Thanks for the followup- did you file a bug with Apple on this? I would expect bad ranges to be handled better. It would be nice if an exception was thrown. At the very least it should silently clip them to be valid instead of crashing.

~Martin

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to