Repository navigation
fix(console): Git 搜索定位在请求首帧显示目标行 - #2410
Merged
Merged
Conversation
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.
关联 Issue / Linked issue
Refs #1820
PR 类型 / Type
改动说明 / What changes
背景 / Why
Git Console 采用 Viva textview。在控制台末尾跳到较早的搜索结果,旧偏移在请求首帧仍用于绘制。
改动 / Changes
不在本 PR 范围内 / Out of scope
已补验暂停时移除前部记录,第一帧仍展示原先的顶行。该回归在 macOS 连续两次通过。
类型专属:fix
复现与根因
控制台末尾和搜索目标相距超过一屏时,文本视图先声明滚动区域,再处理滚动请求。旧依赖的首帧回归失败;修复使同一帧的布局读取更新后的偏移。
检查项
核对真实控制台绘制、Viva 单包回归以及宿主固定版本。
范围检查 / Scope checks
功能矩阵 / Feature matrix
已更新文本选择与诊断导出的验证记录。
插件归属 / Plugin ownership
N/A:此次仅升级共享绘制修复和原交互回归。
UI 验证 / UI evidence
N/A:此次仅升级共享绘制修复和原交互回归。
统一日志系统 / Structured logging
N/A:此次仅升级共享绘制修复和原交互回归。
界面文案 / i18n
N/A:此次仅升级共享绘制修复和原交互回归。
逻辑归属 / Logic placement
N/A:此次仅升级共享绘制修复和原交互回归。
性能与内存 / Performance and memory
N/A:此次仅升级共享绘制修复和原交互回归。
设置 / Settings
N/A:此次仅升级共享绘制修复和原交互回归。
插件契约 / Plugin contract
N/A:此次仅升级共享绘制修复和原交互回归。
发行包与资源 / Bundle and resources
N/A:此次仅升级共享绘制修复和原交互回归。
无用代码与重构 / Dead code and refactoring
当前变更范围内未发现新增重复代码。
验证 / Verification
macOS 对固定的新依赖连续两次运行项目树、日志和 Git Console 定向回归;旧依赖复现了控制台首帧失败。资源只读和中英文检查通过。
提交前确认 / Final checks
已核对变更范围并运行 git diff --check。