Re: -[NSTextView complete:] behavior with < 2 character word range
Re: -[NSTextView complete:] behavior with < 2 character word range
- Subject: Re: -[NSTextView complete:] behavior with < 2 character word range
- From: Douglas Davidson <email@hidden>
- Date: Fri, 13 Feb 2004 15:01:06 -0800
On Feb 12, 2004, at 10:04 PM, Aram Greenman wrote:
Is it possible to make an NSTextView complete word ranges of zero or
one characters in length? The delegate gets a
textView:completions:forPartialWordRange:indexOfSelectedItem: message,
but the suggested completions don't pop up.
This is a bug in Panther. It has been fixed internally, but I cannot
say when the fix will be available. The workarounds are not terribly
appealing--they would involve overriding some of the NSTextView
completion methods to either do the work yourself, or else somehow
alter the ranges involved so that you end up replacing a larger portion
of the text.
Douglas Davidson
_______________________________________________
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.