• 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
custom text completion with NSTextView delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

custom text completion with NSTextView delegate


  • Subject: custom text completion with NSTextView delegate
  • From: Pavel Kapinos <email@hidden>
  • Date: Wed, 28 Jul 2004 10:04:45 -0700

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.


  • Follow-Ups:
    • Re: custom text completion with NSTextView delegate
      • From: Pavel Kapinos <email@hidden>
  • Prev by Date: Re: Bound UI elements not showing 'description' as expected
  • Next by Date: Subclassing NSArrayController; observer messages
  • Previous by thread: Re: Right arrow keypress == enter keypress in NSTableView subclass?
  • Next by thread: Re: custom text completion with NSTextView delegate
  • Index(es):
    • Date
    • Thread