Re: autocompletion window disappears
Re: autocompletion window disappears
- Subject: Re: autocompletion window disappears
- From: Josh Abernathy <email@hidden>
- Date: Tue, 20 Jan 2009 18:20:57 -0500
I've also written my own completion mechanism. It's not too hard, just
add a child window and list your results however makes sense for your
application. A lot less ugly and a lot more appropriate than Apple's
default, in my opinion.
On Jan 20, 2009, at 10:28 AM, Ross Carter wrote:
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
_______________________________________________
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