C14.12 r3: centering keys on view and line heights; placements clear the editor's record (library 7ed4ea8)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
75a1ea06e6
commit
584e08d8ad
6 files changed
+9
-6
No files matched your search
@@ -0,0 +1,3 @@
|
||||
FAIL
|
||||
|
||||
1. `reference/Ely-GPUI-Components/src/editor/view.rs:276`:源码打字机的居中缓存只记录行号,恢复滚动位置或改变视口高度后仍认为该行已居中;`documents/document/place.rs:162` 只清掉文档的缓存,没有使源码编辑器的缓存失效。60 段文档在源码开启打字机、把插入点放到第 100 行(从零计),切到可视再切回源码,四次刷新后该行仍偏离中心 115.5px;再次跳转到当前行则偏离 400.5px。窗口从 1080px 缩到 1070px、两端留白行数未变时,也不重新居中。应在源码定位完成后使编辑器的居中缓存失效,并将实际视口高度与行高纳入居中判定,补上模式往返、重复跳转和留白行数不变的缩放测试。探针 `probe_source_visual_source_round_trip_centers`、`probe_source_reveal_same_line_stays_centered`、`probe_source_small_resize_centers` 均失败。证据:`.work/C14.12-r3/component-probes-final.log`。
|
||||
Reference in new issue
Block a user