YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
26 stars 8 forks source link

Code Editor 2: PageUp and PageDown always change the scroll level to be at the top of the event instead of bringing the cursor into view #8508

Open KormexGit opened 5 days ago

KormexGit commented 5 days ago

Description

If you use PageUp or PageDown to navigate a large document, it will change the cursor position but not scroll so you can see the new position. Instead, it will always snap the scroll to the top of the event. Same issue happens when "show all documents in single view" is disabled.

https://github.com/user-attachments/assets/184b795b-ef7e-4c00-b1c1-ee888bbcba88

Steps To Reproduce

  1. Make an event or script with at least 100 or so lines of code
  2. Use PageUp and PageDown

Which version of GameMaker are you reporting this issue for?

IDE v2024.1100.0.686 Runtime v2024.1100.0.707

Which operating system(s) are you seeing the problem on?

Windows 10.0.22631.0

5a7cac82-f108-4799-9d45-0588dbc69075