Based on the current code, if one of the shortcut keys is pressed and the line already has a semicolon, the keypress is ignored and the cursor doesn't move. I believe that the editor shortcut should still apply the same way in both cases.
This PR changes the ; insertion so that the cursor moves as expected whether the semicolon was added or was already there.
Based on the current code, if one of the shortcut keys is pressed and the line already has a semicolon, the keypress is ignored and the cursor doesn't move. I believe that the editor shortcut should still apply the same way in both cases.
This PR changes the
;
insertion so that the cursor moves as expected whether the semicolon was added or was already there.