Can't press up to move the caret when there's a word wrapping

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

还没有人认领这个 Issue。

评估

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

调研方向

首先,在 DrRacket 的定义窗格中使用提供的 Racket 代码片段,启用自动换行,并将窗格调整为所述宽度,以重现该问题。确认按下 Up 时插入符会卡在 "bbbb" 之前;完成标准是重复按下 Up 时,插入符能够正常经过自动换行后的各行。

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

描述

Consider:

#lang racket


("aaaaaaaaaaaaaaaaaa" "bbbbbbbbbbbbbbbbbbb")


123

Paste this to the definition pane. Enable word wrapping. And resize the definition pane so that it looks exactly like this:

Screenshot 2023-09-14 at 4 42 37 AM

Now, place the caret at the last line, and repeatedly hit "Up" to move the caret toward the first line. It will get stuck in front of "bbbb.

Note that the width of the window must be just right to provoke the issue (with the ending " entering a newline). If the width is too small, the caret is able to moved just fine. If it's too large, it will work fine too.

主要语言
Racket
星标
517
派生
102
平均合并
20 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

racket/drracket 的其他 Issue

查看 racket/drracket 的全部 Issue

相似的 Issue

更多 Desktop Dev Issue

把新 issue 发到你的邮箱

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