Re: how to implement the auto-complement function like Xcode 3.x?

2008-08-13 Thread j o a r


On Aug 12, 2008, at 8:24 PM, Leopard x86 wrote:

Then here comes the question: how can we implement this function for  
our editor-like application?
Because I am working on an editor project which concerns about the  
user experience,  I think the auto-complement function is an  
indispensable one. Moreover, the Xcode-style of auto-implement is  
exactly what I want. This feature can improve the efficiency and  
productivity of users greatly.



Have a look at the NSTextView "- 
textView:completions:forPartialWordRange:indexOfSelectedItem:"  
delegate method.


j o a r


___

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]


how to implement the auto-complement function like Xcode 3.x?

2008-08-13 Thread Leopard x86

Hi everyone.
After experiment the built-in auto-complement function of Xcode 3.x, I  
am very impressed really, it is so powerful. Thanks for the hard- 
working Apple engineers.
Then here comes the question: how can we implement this function for  
our editor-like application?
Because I am working on an editor project which concerns about the  
user experience,  I think the auto-complement function is an  
indispensable one. Moreover, the Xcode-style of auto-implement is  
exactly what I want. This feature can improve the efficiency and  
productivity of users greatly.


Thank you for help. Any guidance or tutorial is GREATLY appreciated.

Have a good day. :-)
___

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]