macvim-dev / macvim-dev/macvim
MacVim selects one letter more to the right when selecting by mouse
まだ誰も着手していません。
- 主要言語
- Vim Script
- スター
- 7.9k
- フォーク
- 691
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、macOS 15.7.2 上で --clean を指定して MacVim r182 のマウスによる後方選択を再現し、その後、ターミナル Vim の動作および提供されたエディターの記録と比較します。マウスで後方選択したときに、右側の余分な 1 文字を含めず、要求された文字だけが正確にハイライトされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- macos, vim
- 領域
- desktop
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100