Skip to content

Undoing in secondary area returns focus to primary area #402

Description

@ageorgou

To reproduce:
Split window horizontally or vertically (not with the Arabic pane!)
Make edits in the secondary area
Undo while still in the secondary area. The focus will move to the primary area.

This would be particularly annoying with a large file when the two areas show different parts. Undoing from the secondary area will then make the primary area scroll up/down to match the position in the secondary area.

This has to do with how we are identifying the source of an editing event, and the fact that the two areas share the same underlying document, so it's not easy to distinguish between them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions