Horizontal scrollbar resizing while scrolling vertically
还没有人认领这个 Issue。
评估
调研方向
未指定文件或测试。请在禁用文本换行的 WPF 编辑器中,使用包含长度各异行的文档重现该问题,然后跟踪垂直滚动期间水平范围的计算方式。当范围和滚动条滑块根据文档中最大行宽保持稳定时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Currently, when scrolling a document that has varying line lengths, only the currently visible lines are used to determine the horizontal scroll width. Preferably what should happen, and what happens in pretty much all other text viewers, is that the document's largest horizontal width is found and then that value is used regardless of the lengths of the currently visible lines. This is with text-wrap turned off.
Fixing this would prevent the horizontal scroll thumb from constantly moving around and resizing, as well as keeping the vertical thumb from jumping up and down if the horizontal scrollbar happens to appear and disappear during scrolling.
If there is some existing method of preventing this, I couldn't find it in the documentation (which is quite thorough and helpful, btw). I did try putting the editor inside another scrollviewer, which fixed the horiz extent issue, but introduced worse issues for documents that have many lines in them, such as rendering very slowly, etc.
- 主要语言
- C#
- 星标
- 2.1k
- 派生
- 496
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
icsharpcode/AvalonEdit 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 76/100
icsharpcode/AvalonEdit#454 ·
-
难度 4/5 3-5 天 新手友好度 48/100
icsharpcode/AvalonEdit#449 ·
-
难度 2/5 1-3 小时 新手友好度 48/100
icsharpcode/AvalonEdit#446 ·
-
难度 4/5 3-5 天 新手友好度 28/100
icsharpcode/AvalonEdit#445 · 1 条评论 ·
-
Context menu ApplicationCommands.Cut still enabled when IsReadOnly = true可能已有人在做 @JyslaFancy 于 162 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 35/100
icsharpcode/AvalonEdit#444 ·
查看 icsharpcode/AvalonEdit 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 3 天内回复
-
bug python
难度 1/5 1 小时以内 新手友好度 88/100
ilia-sokolov/OfficeAgent.NET#89 ·
维护者通常 13 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 82/100
juandresrodca/AdminForge#66 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
umbraco/Umbraco.Automate#612 ·
维护者通常 1 天内回复