In the CotEditor app
on your Mac, use Format settings to set the document handling, such as line endings and text encoding, and to manage syntaxes.
To change these settings, choose CotEditor > Settings, then click Format.
| Option | Description |
|---|---|
| Default line endings | Select the line ending style used when creating a new document. This setting is also applied when an opened document contains no line endings. For details, see Handle various types of line endings. |
| Default text encoding | Select the text encoding used when creating a new document. |
| Encoding priorities | Set the priority order for text encodings. For details, see Customize text encoding priorities. |
| Refer to encoding declaration in document | When this option is selected, CotEditor takes the encoding declaration written in the document into account when detecting the text encoding. For details, see Detect a document’s text encoding. |
| Default syntax | Select the syntax used when creating a new document. |
| Available syntaxes | The list of all available syntaxes, including both built-in syntaxes and custom syntaxes you added. A dot before the syntax name indicates that the syntax has been customized. See Define a syntax for editing syntax definitions.
|