AvaloniaRider icon indicating copy to clipboard operation
AvaloniaRider copied to clipboard

Undoing a change off screen does not scroll to change

Open grenaria opened this issue 4 months ago • 0 comments

When editing an AXAML file, using undo when the last change is off the screen does not scroll to that change. Standard behavior in editors is to scroll to the last change when using undo and only actually undoing the change if it is in view. For the AXAML editor in Rider the change is just undone whether or not it is in view. This is dangerous and non-standard behavior. This does not happen to xaml files, which is why I am assuming it is related to this plugin.

I am running Rider 2024.2.6 although this issue was also happening in 2024.2.5

Steps to reproduce:

  1. Open an AXAML file that is longer than the editor panel so that a vertical scroll bar is present.
  2. Make a change to the file.
  3. Scroll until the change is out of view.
  4. Undo the last change either via keyboard shortcut or menu.

grenaria avatar Oct 15 '24 21:10 grenaria