Skip to content
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

Moving caret up sometimes lands on the first column in script editor #90420

Closed
timothyqiu opened this issue Apr 9, 2024 · 0 comments · Fixed by #90455
Closed

Moving caret up sometimes lands on the first column in script editor #90420

timothyqiu opened this issue Apr 9, 2024 · 0 comments · Fixed by #90455

Comments

@timothyqiu
Copy link
Member

timothyqiu commented Apr 9, 2024

Tested versions

Reproducible: Since 4.3.dev5

System information

Arch Linux

Issue description

See steps to reproduce for details.

vokoscreenNG-2024-04-09_15-48-04.mp4

Steps to reproduce

func foo():
    for i in 3:
        print(i)
  1. Place your caret after 3:
  2. Press down arrow
    • Expected: caret is after print(i
    • Actual: sometimes caret is after print(i), depends on how you did the first step, I'm not sure
  3. Press up arrow, then press right arrow (several times) until it goes down to the print line.
  4. Press end so the caret is after print(i)
  5. Press up arrow
    • Expected: caret is after 3:
    • Actual: caret is at the beginning of the for loop line.

Minimal reproduction project (MRP)

N/A

@timothyqiu timothyqiu added this to the 4.3 milestone Apr 9, 2024
@timothyqiu timothyqiu changed the title Moving cursor up sometimes lands on the first column in script editor Moving caret up sometimes lands on the first column in script editor Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant