CotEditor
CotEditor copied to clipboard
Automatically inserted period after pressing space twice
Description
Is there a way to prevent CE from automatically inserting a period after pressing space twice without turning it off system wide? I depend on the feature when writing documentation and emails. But when coding, it create errors.
To Reproduce
- type a block of text
- press the space key twice
- notice there is a period following the text
Expected behavior
I would rather there isn't a period inserted
CotEditor version
Version 4.5.6 (571)
macOS version
13.5 Beta (22G5059d)
Additional context
Yes, i'm running macOS ventura beta but this has been happening since the new editor core rolled out.
Is there a way to prevent CE from automatically inserting a period after pressing space twice without turning it off system wide?
Currently, CotEditor doesn't have an option to turn it off application-wide. I understand it is annoying for writing code. Let me think for the future implementation.
I initially planned to implement this feature in the next minor update. However, now I realized this is way more complicated than I thought since Apple doesn't provide a proper API for it. So I would like to wait for better API in upcoming systems.
Instead, I recommend you to use the following command in Terminal.app. This allows you to disable the "Add period with double-space" option only in CotEditor.
defaults write com.coteditor.CotEditor NSAutomaticPeriodSubstitutionEnabled NO
Filed: FB13669125