mathlive icon indicating copy to clipboard operation
mathlive copied to clipboard

Last character in group is skipped when moving forward

Open zeyad-ahmad-aql opened this issue 2 years ago • 0 comments

Description

I found a case where I'm trying to insert a character after the last character in a group, and moves to after the first character after the group.

Please find screen recordings of the issue:

https://user-images.githubusercontent.com/46978227/181023416-ca3ef9ca-a9fa-4185-b453-4f638b039bbc.mov

https://user-images.githubusercontent.com/46978227/181024925-f017c2ed-0990-42d5-a249-a738ba3fd1bb.mov

Steps to Reproduce

  1. Type in any LaTeX group. Then, Type any series of characters or commands after it. For example: {123}abc
  2. Move to the character before the last character in the group
  3. Try to move forward using the keyboard arrows.

Actual Behavior

It moves to the 2nd element after the group

Expected Behavior

It should move to the last element in the group.

I'm not sure if this is a new issue, or it were in previous versions also.

Environment

MathLive version: 0.77.0

Operating System: macOS 12.4 (21F79)

Browser Chrome Version 103.0.5060.134 (Official Build) (arm64)

zeyad-ahmad-aql avatar Jul 26 '22 14:07 zeyad-ahmad-aql