Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR の目的
タイトル通りです。
カテゴリ
PR の背景
背景は過去PR #1152 とオーバーラップします。
サクラエディタの設定読込機構にエラー検出機構を付けたいと考えています。
先ほどマージした #1546 の続きでもあります。
PR のメリット
設定値の読込失敗を検出できるようになります。
PR のデメリット (トレードオフとかあれば)
既存コードに影響を与える可能性があります。
仕様・動作説明
従来は、int型などの特定型にエントリが変換できないことを考慮していませんでした。
このPRは、int型などの特定型にエントリが変換できなかったことを検出します。
PR の影響範囲
設定値の読み書きに影響する変更です。
テスト内容
変更の基本部分については、追加した単体テストでカバーできると思います。
設定のインポート・エクスポートについては、実行させる方法が分からないのでパスしました。
この部分の修正はWrapIntとMakeStringBufferWの廃止のみなのでテストは不要と思います。
関連 issue, PR
#1546
#1152
#1150
#1145
参考資料