racket / racket/drracket

Keybindings while editing text

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

Nobody has claimed this yet.

feature-request keybinding
Dominant language
Racket
Stars
516
Forks
103
PR merge metrics
No merged PRs in 30d

Description

Feature request:
Lines beginning with a semi colon consists of text. Therefore the keybindings ought to
work as "text" operations and not "s-exp" operations.

The example that keeps tripping me up:

While editing the text in a comment, I hit alt- to go back a word --- and is always surprised when the cursor moves out of the comment to the beginning of the previous s-expression.

In short: I'd love for alt+left and alt+right to become backward-word and forward-word in comment lines.

Contributor guide

No contributing guide indexed for this repository

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

No files or tests are named. Start by locating DrRacket's keybinding handling for semicolon-prefixed comment lines and compare the text and s-expression operations. Verify Alt+Left and Alt+Right inside a comment; done means they move by words without leaving the comment.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.