racket / racket/gui

text-field% hot-keys

Open
#302 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
68
Forks
82
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the supplied #lang racket/gui example and the text-field% entry point, then compare keyboard handling between Racket 8.2 and 8.3. Reproduce the Ctrl/Alt arrow behavior on the relevant platforms and confirm that word-wise cursor movement is restored without changing other text-field shortcuts.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.