mathlive icon indicating copy to clipboard operation
mathlive copied to clipboard

Cannot delete the subscript of a limit

Open andrew-murdza opened this issue 1 year ago • 1 comments

Steps to Reproduce

  1. Type lim and f. This creates something like `\lim\limits_{f}
  2. Move inside of the {f} using the arrow keys
  3. Delete the f

Actual Behavior

A placeholder is not created. Hitting the delete key many times does not delete the limit. The cursor is stuck inside the bottom of the limit unless the arrow keys are used.

Expected Behavior

Deleting the bottom of the limit creates the same placeholder square that is present when the limit is first created. This fixes the problem of getting stuck inside even when deleting because currently deleting lim with a placeholder deletes the limit.

Environment

0.100.0

andrew-murdza avatar Jul 06 '24 19:07 andrew-murdza

I don't think a placeholder should be created. However, pressing delete once inside the subscript should delete it. This would be consistent with the way subscripts and superscripts work elsewhere. In general placeholders are only used when the element is required, such as for a numerator or denominator.

arnog avatar Jul 07 '24 04:07 arnog