NSWritingToolsCoordinator.ContextScope.fullDocument
An option to provide all of your view’s text.
Declaration
case fullDocumentDiscussion
With this option, include all of the text your view manages. If your view has multiple text storage objects, create a separate context object for each one.