Use Mode settings in CotEditor to vary the behaviors of the editor depending on the document’s type.
To change these settings in the CotEditor app
on your Mac, 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 selected syntax. You can not delete mode options for syntax kind (General/Code). |
| Option | Description |
|---|---|
| Prefer font using | Select whether to use the standard or monospaced font in editors. Each font are set in the Appearance settings. |
| Smart copy/paste | A halfwidth space is automatically added between the words when you paste or drag a word in between other words to maintain that boundary. Meanwhile, any extra spaces are automatically removed when you cut/delete a word. |
| Smart Quotes | Inserted quotes (") are automatically substituted with the matched quote (such as “ or ”). |
| Smart Dashes | Inserted hyphens (--) are automatically substituted with a dash sign (—). |
| Add period with double-space | Pressing the Space bar twice after a word inserts a period (.). |
| Automatically insert closing brackets and quotes | Typing an opening bracket or quote character inserts a matching closing character automatically and moves the insertion position between them. |
| Check spelling while typing | Automatically check your spelling as you type. When your spelling is checked, misspelled words are underlined in red, and suggested corrections are shown. |
| Check grammar with spelling | Automatically check also the grammar as you type. Grammar errors are indicated by a dotted blue underline. Move the pointer over an underlined word to see a description of the problem. Note: Grammar-checking is not available for every region, country, or language. |
| Correct spelling automatically | As you type in the editor, misspelled words are detected and automatically corrected. An automatically corrected word is briefly indicated by a solid underline. You can even undo the autocorrection. |
| Completion list includes | Choose the range of possible completions that appear in the completion list.
|
| Suggest completions while typing | The completion list is automatically shown while typing if words to complete exist. |