TextEdit
com.apple.TextEdit
TextEdit settings
macOS
Configuration Keys (35)
Showing 35 of 35 keys
| Key | Type | Description | Default | Range |
|---|---|---|---|---|
PFC_SegmentedControl_0stringrequired | string | — | Default: — | Range: — |
required | string | — | Default: — | Range: — |
| boolean | Set this preference to 'false' to forcibly disable adding the ".txt" extension to plain text files. | Default: true | Range: — | |
HTMLEncodinginteger | integer | — | Default: — | Range: Unicode UTF-16 (10), Unicode UTF-8 (4), Western Mac OS Roman (30), Western Windows Latin 1 (12), Japanese Mac OS (2147483649), Japanese Shift JIS (2147486209), Traditional Chinese Mac OS (2147483650), Korean Mac OS (2147483651), Simplified Chinese Mac OS (2147483673), Chinese GB 18030 (2147485234) |
CheckGrammarWithSpellingboolean | boolean | Set this preference to 'false' to forcibly disable grammar checking with spelling. | Default: — | Range: — |
CheckSpellingWhileTypingboolean | boolean | Set this preference to 'false' to forcibly disable spell checking while typing. | Default: — | Range: — |
CorrectSpellingAutomaticallyboolean | boolean | Set this preference to 'false' to forcibly disable automatic spelling correction. | Default: — | Range: — |
DataDetectorsboolean | boolean | Set this preference to 'true' to forcibly enable data detectors. Data detectors can automatically detect date, time, and contact information, which can then be used to update a contact, create a new Calendar event, and more. | Default: — | Range: — |
HeightInCharsinteger | integer | By default, the Window Size height is 30 lines. Enable this setting to change this default window height. | Default: — | Range: — |
IgnoreHTMLboolean | boolean | Set this preference to 'true' to display .html files as HTML code instead of formatted text when opening a file. | Default: — | Range: — |
IgnoreRichTextboolean | boolean | Set this preference to 'true' to display .rtf files as RTF code instead of formatted text when opening a file. | Default: — | Range: — |
| boolean | Set this preference to 'false' to suppress TextEdit messages when closing documents saved on storage volumes that don't support Apple's permanent version storage. This will not inform users about being unable to access these older versions via Time Machine. | Default: — | Range: — | |
NSFixedPitchFontstringPlain Text Font | string | Enter the name of the desired plain text font. This defaults to Menlo. String format: Find your desired font file in either /System/Library/Fonts or /Library/Fonts. Whatever the name of this font file is is exactly what needs to be entered for the font name. Additionally, if you desire to use a font typeset that is not the default - Plain, Regular, etc. - , you can specify this by adding the name of the typeset to end of the font name string with a hyphen inbetween. Ex. AlBayan-Bold Ex. AmericanTypewriter-Condensed Ex. ArialMT | Default: — | Range: — |
NSFixedPitchFontSizeintegerPlain Text Font Size | integer | Enter the desired font size for plain text documents. | Default: — | Range: — |
NSFontstringRich Text Font | string | Enter the name of the desired rich text font. This defaults to Helvetica. String format: Find your desired font file in either /System/Library/Fonts or /Library/Fonts. Whatever the name of this font file is is exactly what needs to be entered for the font name. Additionally, if you desire to use a font typeset that is not the default - Plain, Regular, etc. - , you can specify this by adding the name of the typeset to end of the font name string with a hyphen inbetween. Ex. AlBayan-Bold Ex. AmericanTypewriter-Condensed Ex. ArialMT | Default: — | Range: — |
NSFontSizeintegerRich Text Font Size | integer | Enter the desired font size for rich text documents. | Default: — | Range: — |
PreserveDocumentWhitespaceboolean | boolean | Set this preference to 'false' to not include code that preserves the white space in your document's formatted text. | Default: true | Range: — |
ShowPageBreaksboolean | boolean | Set this preference to 'true' to forcibly make text wrap to document margins, rather than window boundaries. | Default: — | Range: — |
ShowRulerboolean | boolean | Set this preference to 'false' to not show the ruler in rich text documents by default. | Default: — | Range: — |
SmartCopyPasteboolean | boolean | Set this preference to 'false' to forcibly disable "smart" copy/paste. | Default: — | Range: — |
SmartLinksboolean | boolean | Set this preference to 'false' to forcibly disable "smart" links. | Default: — | Range: — |
SmartQuotesboolean | boolean | Set this preference to 'false' to forcibly disable "smart" quotes. | Default: — | Range: — |
| boolean | Set this preference to 'true' to enable "smart" substitutions for quotes and dashes in rich text documents. Takes effect for newly opened documents and after "Make Plain Text". | Default: — | Range: — | |
TextReplacementboolean | boolean | Set this preference to 'false' to forcibly disable text replacement. | Default: — | Range: — |
PlainTextEncodinginteger | integer | Set this preference to choose a specific encoding method for opening plain text files, rather than "Automatic". | Default: — | Range: Unicode UTF-16 (10), Unicode UTF-8 (4), Western Mac OS Roman (30), Western Windows Latin 1 (12), Japanese Mac OS (2147483649), Japanese Shift JIS (2147486209), Traditional Chinese Mac OS (2147483650), Korean Mac OS (2147483651), Simplified Chinese Mac OS (2147483673), Chinese GB 18030 (2147485234) |
PlainTextEncodingForWriteinteger | integer | Set this preference to choose a specific encoding method for saving plain text files, rather than "Automatic". | Default: — | Range: Unicode UTF-16 (10), Unicode UTF-8 (4), Western Mac OS Roman (30), Western Windows Latin 1 (12), Japanese Mac OS (2147483649), Japanese Shift JIS (2147486209), Traditional Chinese Mac OS (2147483650), Korean Mac OS (2147483651), Simplified Chinese Mac OS (2147483673), Chinese GB 18030 (2147485234) |
RichTextintegerText Default File Format | integer | Enable this preference to forcibly apply a default TextEdit file format. By default, TextEdit defaults to rich text - .rtf -, rather than plain text - .txt | Default: — | Range: Plain Text (0), Rich Text (1) |
UseEmbeddedCSSboolean | boolean | Enable this setting for HTML Embedded CSS styling. ex. UseEmbeddedCSS = true == "Embedded CSS" ex. UseEmbeddedCSS = true & UseInlineCSS = false == "Embedded CSS" ex. UseEmbeddedCSS = false & UseInlineCSS = false == "No CSS" | Default: — | Range: — |
UseInlineCSSboolean | boolean | Enable this setting for HTML Inline CSS styling. ex. UseInlineCSS = true == "Inline CSS" ex. UseInlineCSS = true & UseEmbeddedCSS = false == "Inline CSS" ex. UseInlineCSS = false & UseEmbeddedCSS = false == "No CSS" | Default: — | Range: — |
UseTransitionalDocTypeboolean | boolean | Set this preference to 'false' to use the "Strict" HTML or XHTML document type, rather than "Transitional". ex. UseTransiontalDocType = false & UseXHTMLDocType = false == "HTML Strict" ex. UseTransiontalDocType = false & UseXHTMLDocType = true == "XHTML Strict" ex. UseTransiontalDocType = true & UseXHTMLDocType = false == "HTML Transitional" ex. UseTransiontalDocType = true & UseXHTMLDocType = true == "XHTML Transitional" | Default: — | Range: — |
UseXHTMLDocTypeboolean | boolean | Set this preference to 'false' to use the HTML, rather than the XHTML document type. ex. UseTransiontalDocType = false & UseXHTMLDocType = false == "HTML Strict" ex. UseTransiontalDocType = false & UseXHTMLDocType = true == "XHTML Strict" ex. UseTransiontalDocType = true & UseXHTMLDocType = false == "HTML Transitional" ex. UseTransiontalDocType = true & UseXHTMLDocType = true == "XHTML Transitional" | Default: — | Range: — |
WidthInCharsinteger | integer | By default, the Window Size width is 90 lines. Enable this setting to change this default window width. | Default: — | Range: — |
authorstringDefault Document Author | string | Enter a default author name for documents. | Default: — | Range: — |
companystringDefault Document Organization / Company | string | Enter a default organization / company for documents. | Default: — | Range: — |
copyrightstringDefault Document Copyright | string | Enter a default copyright for documents. | Default: — | Range: — |