Re: autocompletion window disappears
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