macvim-dev / macvim-dev/macvim

Cursor offset when typing

未关闭
#970 9 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Renderer
主要语言
Vim Script
星标
7.9k
派生
691
PR 合并指标
30 天内没有已合并 PR

描述

Describe the bug
The further I type on a line the more the cursor is offset away from the text (to the right).

To Reproduce
Detailed steps to reproduce the behavior:

  1. Run mvim --clean
  2. Type i and start typing.

Expected behavior

Screenshot 2019-10-22 at 22 19 06

The last letter being typed in the screenshot is the period but the cursor is way off.

Screenshots
If applicable, copy/paste the text or add screenshots to help explain your problem.

Environment (please complete the following information):

  • Vim version: VIM - Vi IMproved 8.1 (2018 May 18, compiled Oct 21 2019 08:38:12) macOS version Included patches: 1-2168 Compiled by Homebrew
  • OS: macOS 10.15
  • Terminal: GUI

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,在 macOS 上使用 mvim --clean 重现该问题,使用所述的 Vim 8.1 环境,并逐步输入更长的行。检查 MacVim GUI 中光标和文本渲染的入口点;完成的标准是输入时光标始终与最后一个字符对齐。

由索引模型根据 Issue 内容生成。

评估

技术栈
macos, vim
领域
desktop
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。