racket / racket/gui

[Feature Request] Double click drag should select one additional word at a time

Open
#288 2 comments 1 reaction 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

Problem Situation:

Currently if you double click on text, hold the second click, and drag, it stays with just the word selected and does not expand the selection. This is a problem because it is different than muscle memory from other programs.

Suggestion:

Implement this behavior so that if you double click and hold the second click and drag, it selects one additional token at a time, as is done on other editors and on web browsers. This is a useful feature because it requires less precision in where you place your mouse.

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 by locating the GUI mouse-selection handling for double-click and drag gestures, then compare its current word-selection behavior with the requested browser and editor behavior. Done means dragging after a double-click expands the selection by one additional token at a time, rather than leaving only the initially selected word.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.