Re: custom text completion with NSTextView delegate
Re: custom text completion with NSTextView delegate
- Subject: Re: custom text completion with NSTextView delegate
- From: Pavel Kapinos <email@hidden>
- Date: Wed, 28 Jul 2004 12:49:27 -0700
Problem understood.
It looks like that NSTextView completion mechanism will not reflect
choice selection (and sometimes even show available completion list)
and perform completion if it invoked (F5 or opt+esc pressed) for only
first letter typed.
On 28-Jul-04, at 10:04 AM, Pavel Kapinos wrote:
>
Hi.
>
>
I have the following problem.
>
>
Text completion is controlled by NSTextView delegate with this method
>
>
-(NSArray *)textView:(NSTextView *)textView completions:(NSArray
>
*)words forPartialWordRange:(NSRange)charRange
>
indexOfSelectedItem:(int *)index
>
>
Very small custom list of completions is read from plist file.
>
I consistently encounter situations when some completions with
>
multiple choices are not reflected by NSTextView during the selection
>
and then selected one is not put in text either.
>
What it could be causing this?
>
Thank you.
>
>
Regards,
>
P.Kapinos
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.