In the CotEditor app
on your Mac, use Format settings to set the default format for documents such as line ending type and text encoding, and to manage syntax styles. To change these settings, choose CotEditor > Settings, then click Format.
| Option | Description |
|---|---|
| Default line endings | The default line ending style is used when creating a new document. This setting is used also when the opened document doesn’t include any line endings. |
| Default text encoding | The default text encoding is used when creating a new document. See Handle various types of line endings for details. |
| Priority of encodings | The priority of encodings and the policy of encoding detection when opening an existing file.
|
| Refer to encoding declaration in document |
The encoding declaration written in the document is respected when detecting the text encoding of the document. See Use encoding declarations for encoding detection for details. |
| Default syntax style | If there is no syntax style associated with the extension of the file you opened, the one you specified here will be used for coloring. This setting applies to a newly created document as well. |
| Available syntax styles | The list of the existing syntax styles. A small dot in front of style names represents that it is customized. See Define a syntax style for editing style.
|