New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Select to the beginning of the line" is wrong in DrRacket #2446
Comments
I’ve bumped into this bug—or at least a related bug—many times, but I’ve never taken the time to figure out exactly what steps I took to report it. Specifically, this part
rings true for me. Something about certain sequences of move and delete actions seem to make DrRacket lose track of some piece of information, causing future actions to behave strangely, but just pressing left then right always seems to fix that strange desync. |
This appears to be a bug in The property is that if you do
|
Consider:
where
|
is the caret. Pressshift+home
. This will select(+ x x)
then delete it via backspace or cut (
ctrl-x
) but not the delete key. Now, we are in this state:Everything so far is as expected. However, if we
shift+home
again, DrRacket selects incorrectly:Note however that if we move around (e.g., press left key and then right key) first before
shift+home
, the selection will be correct.Also note that the length of the deleted
(+ x x)
which is 7 characters matches with the length of the over-selection\n (+ x
The text was updated successfully, but these errors were encountered: