Re: [SOLVED] Undocumented NSTextMovment for space in NSTextView's -insertCompletion:...

2008-12-05 Thread Keith Blount
est, Keith --- On Fri, 12/5/08, Andrew Farmer <[EMAIL PROTECTED]> wrote: > From: Andrew Farmer <[EMAIL PROTECTED]> > Subject: Re: Undocumented NSTextMovment for space in NSTextView's > -insertCompletion:... > To: [EMAIL PROTECTED] > Cc: cocoa-dev@lists.apple.com > Dat

Re: Undocumented NSTextMovment for space in NSTextView's -insertCompletion:...

2008-12-05 Thread Andrew Farmer
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 -insertComple

Undocumented NSTextMovment for space in NSTextView's -insertCompletion:...

2008-12-05 Thread Keith Blount
Hi, This is an observation more than a question, but it may be that someone can point me in the direction of a more orthodox solution than my current one. My application has a "suggest completions as you you type" feature. If this is on, then NSTextView's -complete: action gets called in -didCh