構造化表示の列をドラッグで並べ替えられるようにする(B19) - #98
Merged
Merged
Conversation
StructuredHeaderViewの列名を掴んで並び替えるジェスチャーを追加。境界をつまむ既存の 幅変更(B7)とは排他な別ジェスチャーとして実装(境界ヒットが先勝ち)。対象はcsv/tsv/ ndjsonで、fixedWidthは対象外(項目=桁位置そのものなので並べ替えの意味が薄い)。 並び順は幅と同じくセッション限りで永続化しない。 TabularFormatterにmovingColumn/applyingLayoutを追加し、ビュープリセット(Pro・C9) が使うcore側の継ぎ目(ActiveDocument.columnWidths/columnOriginalIndices、 DocumentPane.applyStructuredLayout、MainWindowController.applyViewPreset、 ProFeature.viewPresets)も合わせて用意した。 実機確認で見つけて同日中に直したバグ2件: - 列を並べ替えると列名だけ動いて本文データが元の位置のままだった。cells(of:)がcsv/tsv のとき生の区切り分割を位置のまま返していたのが原因。Columnにoriginalindexを持たせ、 表示順へ引き直すようにした。 - 構造化表示(CSV1行目が太字)をオフにすると、戻した本文全体が太字になっていた。 NSTextStorage.replaceCharacters(in:with:)が置換範囲の先頭文字の属性を引き継ぐため。 復元直後にtextView.fontを明示的に揃え直すようにした。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
v1.18.0(ローカルAI)は既にタグ・GitHub Releaseとも公開済みだったが、版文字列と リリース文書の更新が漏れており、check_consistency.pyのpro_gate以外の版チェックで CIが落ちていた(B19/C9のPRとは無関係の既存の抜け)。 版: AppInfo.fallbackVersion / make_app.sh / make_dmg.sh / LPバッジ・DLリンクを 1.17.0→1.18.0に統一。 文書: README(日英)・リリース全史(web/releases.src.html)に1.18.0の行/eraを追加。 内容は本人が既にGitHub Releaseへ書いていたリリースノート(Ollamaのローカル追加・ 検索欄の最近の検索・Markdown/主要言語の構文ハイライト・フィルタ中の置換ボタンの バグ修正)を元にした。前版1.17.0の「✅(このリリース)」は「✅(1.17.0)」へ降格。 build_site.pyでsite/を再生成。 一貫性チェッカ ✅ 全項目通過。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Test plan
swift test全886件green(既存分含む)python3 scripts/check_consistency.pyの pro_gate / downstream_build(MrkEditor側ビルド)通過🤖 Generated with Claude Code