Re: Undocumented NSTextMovment for space in NSTextView's -insertCompletion:...
Re: Undocumented NSTextMovment for space in NSTextView's -insertCompletion:...
- Subject: Re: Undocumented NSTextMovment for space in NSTextView's -insertCompletion:...
- From: Andrew Farmer <email@hidden>
- Date: Fri, 5 Dec 2008 14:18:37 -0800
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 (email@hidden)
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:
This email sent to email@hidden