-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Description
Summary
Block cursors position (where the normal line/I-beam would be) is different when selections are highlighted.
Description
When using the block cursor doing things without selection work as expected (the left hand side of the block cursor is treated as the normal i-beam/line position). However when highlighting or selecting multiple characters or a line of text, the right hand side of the block cursor is treated as the position.
Steps to reproduce:
- Type 'asdf' into the editor
- Hit home/end.
- Do the same with shift held down.
Expected Behavior:
The block cursor should act the same, regardless of selecting with motion
Actual Behavior:
Home/end without shift held down move to to start/end as expected. When shift is held down, end moves the block cursor 1 position shy, but still grabs all the text.
Zed Version and System Specs
Zed: v0.200.4 (Zed)
OS: Linux X11 pop 22.04
Memory: 31.3 GiB
Architecture: x86_64
GPU: AMD Radeon VII (RADV VEGA20) || radv || Mesa 24.2.8-1bpo12+1pop1174422582622.04b077665
Metadata
Metadata
Assignees
Labels
Type
Projects
Status