selectionForWord(at:)
Returns the whole word that includes the specified point.
Declaration
func selectionForWord(at point: CGPoint) -> PDFSelection?func selectionForWord(at point: NSPoint) -> PDFSelection?Discussion
Returns NULL if no word contains point.
Use this method to respond to a double-click.