CodeEditApp / CodeEditApp/CodeEditSourceEditor

More macOS 13 compatibility issues

オープン
#362 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Swift
スター
719
フォーク
160
PR マージ指標
30日以内にマージされた PR はありません

説明

### Problem

On macOS 13, the editor crashes on launch, then shows a blank view after workaround.

**Crash trace:**
```
-[NSNib _initWithNibNamed:bundle:options:]
-[NSViewController _nibWithName:bundle:]
-[NSViewController loadView]
```

### Workaround

The following changes make it work on macOS 13, but we don't fully understand why they're only needed on macOS 13:

1. Replace `super.loadView()` with `self.view = NSView()` in `TextViewController`, `FindViewController`, `SuggestionViewController`

2. Move `styleTextView/ScrollView/MinimapView()` before `FindViewController` creation in `TextViewController.loadView()`

See: https://github.com/nekohasekai/CodeEditSourceEditor/commit/941f378

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。