Use Format settings in CotEditor to set the default format for documents such as line ending type and text encoding, and to manage syntaxes.
To change these settings in the CotEditor app
on your Mac, 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 used also when the opened document doesn’t include any line endings. See Handle various types of line endings for details. |
| Default encoding | Select the text encoding used when creating a new document. |
| 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 | Select the syntax used when creating a new document. |
| Available syntaxes | The list of the existing syntaxes. A small dot in front of syntax names represents that it is customized. See Define a syntax for editing syntax definitions.
|