On 05 Dec 08, at 11:25, Keith Blount wrote:
No NSSpaceTextMovement is defined, so it seems reasonable to expect this to be covered by "other text movement". However, it turns out that this is not the case. Testing shows that if you hit the space key, the "movement" parameter of -insertCompletion:... gets passed in with a value of 20. So it seems that there is at least one other, undeclared, value for NSTextMovement, even though the docs for NSText state that the above are the only "possible values".

20 = 0x14, which is NSRightTextMovement.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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