-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Description
Summary
The DeleteToPreviousSubwordStart command deletes the end of the previous line when deleting an empty line. Similarly, DeleteToNextSubwordEnd deletes the start of the next line.
Description
This PR fixed the behavior of the DeleteToPreviousWordStart and DeleteToNextWordEnd commands, but did not address the corresponding subword commands (DeleteToPreviousSubwordStart and DeleteToNextSubwordEnd), whose behavior is now misaligned.
I have found this related issue, but it was automatically closed last year without being addressed.
Steps to reproduce:
- Use
DeleteToPreviousSubwordStartorDeleteToNextSubwordEndon an empty line
Expected Behavior: the line is deleted and no other line is modified
Actual Behavior: the line is deleted and the end of the previous line (if using DeleteToPreviousSubwordStart) or the start of the next line (if using DeleteToNextSubwordEnd) is deleted
Zed Version and System Specs
Zed: v0.203.4 (Zed)
OS: Linux X11 ubuntu 22.04
Memory: 31 GiB
Architecture: x86_64
GPU: Intel(R) Graphics (RPL-P) || Intel open-source Mesa driver || Mesa 23.2.1-1ubuntu3.1~22.04.3