Skip to content

Explicitly move focus to panel that is being edited when undoing #371

@raquelalegre

Description

@raquelalegre

Replicate:

  1. Open arabic file
  2. Edit arabic pane
  3. Edit non-arabic pane
  4. Undo changes one by one

You will notice the caret positioning itself in the beginning of the second line of the non-arabic pane after undoing all arabic pane changes. However this is counter intuitive and can make users confused when the add text again after undoing.

Focus should be always in the panel where we are undoing.

This can probably be fixed by explicitly putting the focus in the correct panel in the override undo() method of AtfAreaController.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions