Alt+Q reflow on blank line collapses everything before until the top of the file
Open
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 68
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
Using Racket v 6.6.0.5 (20160914-62f5b2c):
#lang scribble/manual
@defproc[(+ [x integer?] [y integer?]) integer?]{
AAA.}
@defproc[(* [x integer?] [y integer?]) integer?]{
BBB.}
@defproc[(/ [x integer?] [y integer?]) integer?]{
CCC.}
Pressing Alt+Q with the cursor on the blank line just above BBB. produces the following result, with all the lines preceeding BBB. concatenated at the top:
#lang scribble/manual @defproc[(+ [x integer?] [y integer?]) integer?]{ AAA.} @defproc[(* [x integer?] [y integer?]) integer?]{
BBB.}
@defproc[(/ [x integer?] [y integer?]) integer?]{
CCC.}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the Racket GUI editor using the Scribble example in the report, placing the cursor on the blank line before BBB. and pressing Alt+Q. Trace the Alt+Q reflow entry point and add a regression test if the project has coverage for this command; done means text before the cursor remains separated and only the intended region is reflowed.
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
- 38/100