mgreminger / EngineeringPaper.xyz

EngineeringPaper.xyz is a web app that makes it easy to create, save, and share engineering calculations.
https://EngineeringPaper.xyz
MIT License
119 stars 8 forks source link

Deleting One of a Pair of Matching Characters #180

Open VanHulleOne opened 1 year ago

VanHulleOne commented 1 year ago

Small bug in the editor here: When you put x = (y) in a cell, if you place the cursor between the left parenthesis ( and the y and hit backspace, the parenthesis is removed but you cannot backspace any farther. You can, however, hit the delete key and remove characters to the right, or you can arrow left once and then backspace additional characters, but not just continue backspacing. This is also true for the pipe characters | | in absolute value. The same behavior occurs in the other direction. placing x=(y)+1 in the cell, putting the cursor between y and ) and hitting the delete key removes the ')' but hitting delete again does nothing.

mgreminger commented 1 year ago

Thanks for the bug report, looks like it's a bug in the MathLive editor. I'll work with the MathLive project to report this issue.

mgreminger commented 1 year ago

Both of these issues are fixed in the latest development version of MathLive. However, it will take a little while before the new version of MathLive will be able to be rolled out for EngineeringPaper.xyz since there is another bug that has been introduced (MathLive #1975) that will need to be addressed first.