In the CotEditor app
on your Mac, use Mode settings to adjust how editors behave depending on the document type.
To change these settings, choose CotEditor > Settings, then click Mode.
| Option | Description |
|---|---|
| Mode | Select the mode to edit in the right pane. |
| Add + | Add mode settings for a specific syntax. |
| Delete - | Delete the mode options for the selected syntax. You cannot delete mode options for syntax kinds such as General or Code. |
| Option | Description |
|---|---|
| Prefer font using | Select whether editors use the standard font or the monospaced font. Each font is set in Appearance settings. |
| Smart copy/paste | When you paste or drag text between other words, spaces are added or removed automatically to keep spacing correct. |
| Smart quotes | Replace straight quotes (") with matching typographic quotes (such as “ or ”) when typing. |
| Smart dashes | Replace two hyphens (--) with a typographic dash (—) when typing. |
| Text replacement | Replace text automatically using the replacements set in System Settings > Keyboard > Text Replacements. |
| Add period with double-space | Insert a period when you press the Space bar twice after a word. |
| Automatically insert closing brackets and quotes | When you type an opening bracket or quotation mark, the matching closing character is inserted automatically, and the insertion point moves between the pair. |
| Check spelling while typing | Check spelling automatically as you type. Misspelled words are underlined in red, and suggested corrections are shown. |
| Check grammar with spelling | Check grammar automatically while checking spelling. Grammar issues are indicated with a dotted blue underline. Move the pointer over an underlined word to see a description of the issue. Note: Grammar checking is not available for all regions or languages. |
| Correct spelling automatically | Automatically correct misspelled words as you type. Corrected words are briefly underlined, and you can undo the autocorrection. |
| Completion list includes | Select the types of words that appear in the completion list:
|
| Suggest completions while typing | Show the completion list automatically while typing when possible completions exist. |