Change Mode settings in CotEditor on Mac

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.

Modes
OptionDescription
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.

Mode Options
OptionDescription
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:

  • Standard words: Includes standard dictionary words.
  • Words in document: Includes words that appear in your document.
  • Words defined in syntax: Includes words defined in the syntax (If the syntax definition doesn’t include completion words, CotEditor generates them from the definition).
Suggest completions while typing

Show the completion list automatically while typing when possible completions exist.

See also