You can set the default format such as font type or file encoding for new documents.
Line Endings
You can set line endings for your document.
Default line endings
You can set the default line ending style used when creating a new document.
Text Encoding
You can set text encoding for your document.
Default text encoding
You can set the default character encoding used when creating a new document.
Opening files
You can set the default character encoding used when opening an existing file. Auto-Detect will do fine for most cases.
Refer to encoding declaration
When this option is selected, CotEditor respects the encoding declaration written in your document.
CotEditor can detect charset=, encoding=, @charset, encoding:, and coding: (in order of precedence).
See Using encoding declarations for auto-detection for more details.
In the case you've selected anything other than Auto-Detect for “When opening a file,” if CotEditor opened a file with a different encoding from the one used to create the file, you need to manually make CotEditor reinterpret it.
Edit List
You can customize the order of encodings that appear in the File Encoding submenu of the Format menu and the File Encoding drop-down list on the toolbar. This order is also used for encoding auto-detection and CotEditor tries each encoding from the top of the list. See Setting the priority of encoding auto-detection for more details.
Syntax Style
You can set here about syntax coloring and set up your own syntax styles.
Enable syntax coloring
When this option is on, CotEditor colors your document according to its kind. The outline menu in the navigation bar also follows this setting.
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.
Installed syntax styles
Here, you can edit existing styles or add your own style. A small dot in front of style names represents that it is customized.
See About syntax styles for about editing style.
New (+ icon)
Create a new style.
Delete (- icon)
Remove the selected style. You cannot remove styles that are bundled with CotEditor.
Edit (pencil icon)
Edit the selected style.
Other Actions (gear icon)
Duplicate “Style Name”
Duplicate the selected style in order to make your own one.
Export “Style Name”
Export the style definition file made from the selected style. You can use this exported file to use it on another computer. To use the exported file, do Import.
Import
This allows you to use a style created on another computer. After selecting Import, choose the exported style file to install.
Show File Mapping Conflicts
Check if multiple styles are associated with an extension / a file name.