moveToBeginningOfDocument(_:) Declarationoptional func moveToBeginningOfDocument(_ sender: Any?) See AlsoMoving the Selection in DocumentsmoveToBeginningOfDocumentAndModifySelection(_:)moveToEndOfDocument(_:)moveToEndOfDocumentAndModifySelection(_:)