Hi everyone.I am providing a code editor for an IDE. I am missing a feature in Xcode 2.X. That is: when user type a keyword in the text editor, the auto complete list "automatically" pop up. For example: Assuming we are going to type "NSWindow": after the user type 'N' 'S' 'W', the list shows up immediately without any intervene. I mean the user doesn't need to press the "Esc" key to tell the list to show itself. (In Xcode 3.X, you should press the 'Esc' manually to call the auto complete list.)
Is there any way to do that? I can't find the delegate method: "- (NSArray<file:///Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html#//apple_ref/doc/c_ref/NSArray> *)textView:(NSTextView *)*textView* completions:(NSArray<file:///Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html#//apple_ref/doc/c_ref/NSArray> *)*words*forPartialWordRange:(NSRange<file:///Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html#//apple_ref/doc/c_ref/NSRange> )*charRange* indexOfSelectedItem:(NSInteger *)*index*" much useful for that, since it requires users to press the 'Esc' key. Any answer is greatly appreciated. Thank you. -- Best regards. _______________________________________________ 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 arch...@mail-archive.com