• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: custom text completion with NSTextView delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >custom text completion with NSTextView delegate (From: Pavel Kapinos <email@hidden>)

  • Prev by Date: Re: Binding window title
  • Next by Date: Re: Bindings - Preserving the Modal/Controller
  • Previous by thread: custom text completion with NSTextView delegate
  • Next by thread: Subclassing NSArrayController; observer messages
  • Index(es):
    • Date
    • Thread