Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

text-field% hot-keys

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

还没有人认领这个 Issue。

评估

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

调研方向

从提供的 #lang racket/gui 示例和 text-field% 入口点开始,然后比较 Racket 8.2 和 8.3 之间的键盘处理。请在相关平台上重现 Ctrl/Alt 箭头键行为,并确认按单词移动光标的功能已恢复,同时不改变 text-field% 的其他快捷键。

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

描述

What version of Racket are you using?
Welcome to DrRacket, version 8.3 [cs].

What program did you run?

#lang racket/gui

(define f (instantiate frame% ("Test")))
(define tf (instantiate text-field% ("Entry:" f)))
(send f show #t)

What should have happened?
On Windows:
Ctrl+left arrow should move the cursor back a word at a time and
Ctrl+right arrow should move the cursor forward a word at a time.
On Mac:
Alt+left arrow should move the cursor back a word at a time and
Alt+right arrow should move the cursor forward a word at a time.

If you got an error message, please include it here.
Not an error per se, but used to work in 8.2.

Please include any other relevant details
Was this intentional? If so, how do we implement the old behavior?

主要语言
Racket
星标
68
派生
83
平均合并
4 天 4 小时
30 天内合并 PR
3

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

racket/gui 的其他 Issue

查看 racket/gui 的全部 Issue

相似的 Issue

更多 Desktop Dev Issue

把新 issue 发到你的邮箱

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