• 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: -[NSTextView complete:] behavior with < 2 character word range
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >-[NSTextView complete:] behavior with < 2 character word range (From: Aram Greenman <email@hidden>)

  • Prev by Date: Re: static objects "autoreleased with no pool in place - just leaking"
  • Next by Date: NSTableView & Drag&Drop: What dataSource, What Delegate
  • Previous by thread: -[NSTextView complete:] behavior with < 2 character word range
  • Next by thread: static objects "autoreleased with no pool in place - just leaking"
  • Index(es):
    • Date
    • Thread