The Application KitâÂÂs extensions to NSAttributedString support the typical behavior of text editors in selecting a word on a double-click with the doubleClickAtIndex: method, and finds word breaks with nextWordFromIndex:forward:. It also calculates line breaks with the lineBreakBeforeIndex:withinRange: method.
© 1997, 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-06-04)