racket / racket/drracket

"Jump to Binding Occurrence" interacts badly with split view.

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

Nobody has claimed this yet.

check-syntax
Dominant language
Racket
Stars
516
Forks
103
PR merge metrics
No merged PRs in 30d

Description

In a fresh DrRacket window write this program:

#lang racket

(define (x) y)
(define y 1)

In the menu bar select View > Split.
In the left hand or top half hover over the first instance of the y identifier on line 3.
Select "Jump to Binding Occurrence"
The binding occurrence in the other half of the split is highlighted rather than in the half that received the mouse event.

This should reproduce the behavior, but in other programs sometimes the definition is jumped to within the same split.

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

Reproduce the issue in a fresh DrRacket window using the provided program, then select View > Split and invoke "Jump to Binding Occurrence" from the left or top half. Compare where the binding occurrence is highlighted and verify that it stays in the split receiving the mouse event, including cases where the definition currently jumps within the same split.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.