Contents

selectionForLine(at:)

Returns the whole line of text that includes the specified point.

Declaration

func selectionForLine(at point: CGPoint) -> PDFSelection?
func selectionForLine(at point: NSPoint) -> PDFSelection?

Discussion

Returns NULL if no line of text contains point.

Use this method to respond to a triple-click.

See Also

Working with Selections