If you get frequent unexpected quits of CotEditor under certain circumstances, send a crash log on the following page:
When you send a crash log, don’t forget to include the following information:
The operation you performed just before the unexpected quit.
Your environment information such as the version of macOS, the version of CotEditor, and related settings.
You can see a crash log by selecting the Report button in the dialog which appears on the crash.