Skip to content

PageScrollSize and ScrollSize are hard coded values #540

@tomlm

Description

@tomlm

AvaloniaEdit uses hard coded SmallChange and LargeChange values for TextArea.

TextView.cs line 2095

        Size ILogicalScrollable.ScrollSize => new Size(10, 50);

        Size ILogicalScrollable.PageScrollSize => new Size(10, 100);

2 issues:

  • When using AvaloniaEdit on Consolonia these are huge values, as 1 pixel = 1 character, so small scroll is scrolling 50 lines and large is 100 lines!
  • It's not changeable or configurable in any way I can figure out.

Expected:
That scrolling size is a settable property, either in options or on the textview itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions