racket / drracket

DrRacket, IDE for Racket
http://www.racket-lang.org/
Other
444 stars 93 forks source link

Can't press up to move the caret when there's a word wrapping #640

Open sorawee opened 9 months ago

sorawee commented 9 months ago

Consider:

#lang racket

("aaaaaaaaaaaaaaaaaa" "bbbbbbbbbbbbbbbbbbb")

123

Paste this to the definition pane. Enable word wrapping. And resize the definition pane so that it looks exactly like this:

Screenshot 2023-09-14 at 4 42 37 AM

Now, place the caret at the last line, and repeatedly hit "Up" to move the caret toward the first line. It will get stuck in front of "bbbb.

Note that the width of the window must be just right to provoke the issue (with the ending " entering a newline). If the width is too small, the caret is able to moved just fine. If it's too large, it will work fine too.