Horizontal scrollbar resizing while scrolling vertically
まだ誰も着手していません。
評価
調査の方向性
ファイルもテストも指定されていません。テキストの折り返しを無効にした 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
-
type:task ux
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
elsa-workflows/elsa-foundation#5253 ·
メンテナーはふだん 1 日以内に返信