at the moment, the focusing works sometimes and sometimes not.
It should give much more consistent output:
The focusing direction should be chosen depending on which box the focus is placed.
Terminology
character box: Textarea where a single character for at least one answer can be inserted
crossing box: Character box where two answers intersect
starting box: Character box for the first character of an answer
Algorithm
If a starting box is focused, subsequently the boxes of this answer should be selected.
else if a non-crossing box is chosen, the rest of the answer should be focused afterward
if a crossing box is chosen, the answer that is not already answered should be focused
else choose a random direction
DoD
[x] Described algorithm has been implemented
[x] Tab selects the next box in the focused order
[x] Shift Tab selects the previous box in the focused order
[x] Optional: up, right, down, left move to the corresponding neighbor box
Description
at the moment, the focusing works sometimes and sometimes not. It should give much more consistent output: The focusing direction should be chosen depending on which box the focus is placed.
Terminology
Algorithm
DoD