Closed simaberson closed 2 months ago
Screenshot of preferences
Since CotEditor 4.8.0, CotEditor use a font according to the document type. This is a part of the Mode future introduced in the version and can be configured in the new Mode settings pane. When you select the "monospaced" font both for the General and Code modes, the editor font will be always Menlo.
This new Mode thing is very surprising, and I think some files are in the wrong mode. See #1629
@simaberson OK, I read your original post again and found the cause.
- Open File
- Select all
- Format -> Font -> Show Fonts
- Click on Menlo
- Save
- Close
- Open file
CotEditor handles only plain text format, which has no styling information. Therefore, the document doesn't remember the font for individual files. The Font feature in the Format menu is just for temporal use in the same session. Thus, this behavior is by design.
@gingerbeardman Your issue must be different from this thread.
Description
When I save files that solely use Menlo, if I save the files, close the window, and reopen the file, the font is Helvetica. Save behavior if I quit and restart. This is new behavior.
To Reproduce
Expected behavior
It should be expected that the font gets saved.
CotEditor version
Version 4.8.1 (644)
macOS version
13.4.1 (c)
Additional context
No response