Skip to content

Undoing in secondary area returns focus to primary area #402

@ageorgou

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.

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