• 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: autocompletion window disappears
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autocompletion window disappears


  • Subject: Re: autocompletion window disappears
  • From: Ross Carter <email@hidden>
  • Date: Tue, 20 Jan 2009 10:28:40 -0500


On Jan 20, 2009, at 6:28 AM, Markus Guhe wrote:

Hi all,

In my application I get the behaviour that autocompletion windows disappear after a short delay (1 sec or so). This happens with all completions: custom completions in an NSTokenField and an NSTextField as well as the default mechanism in an unmodified NSTextView. Am I missing something general?

I ran into this too, and I can't offer a simple fix, but in my case it prompted me to override complete: with my own implementation. The default completion mechanism, IMHO, is ugly; there are way too many hits (including stem, if it is a word), it inserts unfixed quotes, transparency make the list hard to read, and it draws an empty vertical scroll bar for short lists. It was fairly easy to use completionsForPartialWordRange: indexOfSelectedItem: to get the list, filter it, and display the results in a more attractive control.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: autocompletion window disappears
      • From: Josh Abernathy <email@hidden>
References: 
 >autocompletion window disappears (From: Markus Guhe <email@hidden>)

  • Prev by Date: Re: CoreData entity mutability
  • Next by Date: Re: Search Fields, Array Controllers and Multiple NIBs
  • Previous by thread: autocompletion window disappears
  • Next by thread: Re: autocompletion window disappears
  • Index(es):
    • Date
    • Thread