Replicate:
- Open arabic file
- Edit arabic pane
- Edit non-arabic pane
- 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.