macvim-dev / macvim-dev/macvim
MacVim selects one letter more to the right when selecting by mouse
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Vim Script
- Star
- 7.9k
- Fork
- 691
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Steps to reproduce
- write text
- put cursor in the middle of the word
- select backwards few letters by clicking mouse
- One letter more to the right has been selected
Screen recording with --clean parameter
https://github.com/user-attachments/assets/df0712a1-63de-4231-8d8f-b7c1bb2ccd0a
Expected behaviour
Other editors, input fields and terminals doesn't exhibit this behaviour. They select exactly the text requested to be selected.
I've tried: Notes.app, Terminal.app, Kitty, Alakritty, VSCode/VSCodium, Jetbrains editors, chat apps, various browsers
Screen recording from Notes.app
https://github.com/user-attachments/assets/8b10f823-66a6-46fc-a2cf-31ae5adb1bbb
Version of MacVim
MacVim r182 (Vim 9.1.1887)
MacVim installation method
GitHub releases
Environment
macOS Version: 15.7.2
Logs and stack traces
Vim and MacVim configuration where issue is reproducable
No response
How was MacVim launched?
- by launching MacVim.app in macOS (by using the Dock, Spotlight, or the
opencommand) - by running mvim/gvim in the terminal
Issue has been tested with clean configuration
- by running
mvim --clean(orgvim, supplied by MacVim distribution). You can also use the File → "New Clean Window" menu item within MacVim. - by running
vim --clean(in terminal, supplied by MacVim distribution) - by running
vim --clean(in terminal, other suppliers, e.g. /usr/bin/vim)
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện thao tác chọn ngược bằng chuột trong MacVim r182 trên macOS 15.7.2 với --clean, sau đó so sánh với hành vi của Vim trong terminal và các bản ghi editor được cung cấp. Được xem là hoàn tất khi thao tác chọn ngược bằng chuột làm nổi bật chính xác các ký tự được yêu cầu mà không bao gồm ký tự thừa ở bên phải.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- macos, vim
- Lĩnh vực
- desktop
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100