Rectangle selection rendering glitch with horizontal scrolling #424
Labels
No labels
Area-Accessibility
Area-Build
Area-CodeCompletion
Area-Document
Area-Documentation
Area-Editing
Area-Folding
Area-Highlighting
Area-i18n
Area-Indentation
Area-NetFx
Area-Rendering
Area-Search
Area-Snippets
dependencies
duplicate
Feedback Needed
help wanted
invalid
Issue-Bug
Issue-Discussion
Issue-Enhancement
Issue-Performance
Issue-Question
on-hold
Resolution-Answered
Resolution-By Design
Resolution-Duplicate
Resolution-Fixed
Resolution-Won't Fix
Up-for-Grabs
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-icsharpcode/AvalonEdit#424
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The text editor has a lot of text in it, such that the horizontal scroll bar is visible. When there is no horizontal scrolling, even if the scroll bar is present, then the rendering is fine (a regular rectangle).
But when I start a rectangle selection while the horizontal scroll bar is slightly to the right, I get this:

I can't tell if this is intended or if it's just a visual bug, because it doesn't look quite right...
And when you scroll further to the right, it looks even weirder:

have you solved it?
i solved this , in
static IEnumerable<Rect> ProcessTextLinesinBackgroundGeometryBuilderchange this
Rect extendSelection = new Rect(Math.Min(left, right) - textView.ScrollOffset.X, y, Math.Abs(right - left), line.Height);on line 268
That should be fixed in 6.3.1 via #435