macvim-dev / macvim-dev/macvim

MacVim selects one letter more to the right when selecting by mouse

オープン
#1,618 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Vim Script
スター
7.9k
フォーク
691
PR マージ指標
30日以内にマージされた PR はありません

説明

Steps to reproduce
  1. write text
  2. put cursor in the middle of the word
  3. select backwards few letters by clicking mouse
  4. 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 open command)
  • by running mvim/gvim in the terminal
Issue has been tested with clean configuration
  • by running mvim --clean (or gvim, 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)

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、macOS 15.7.2 上で --clean を指定して MacVim r182 のマウスによる後方選択を再現し、その後、ターミナル Vim の動作および提供されたエディターの記録と比較します。マウスで後方選択したときに、右側の余分な 1 文字を含めず、要求された文字だけが正確にハイライトされれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
macos, vim
領域
desktop
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。