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

Code Editor 2: Sticky header disappear when scrolling up. #9469

Open
Macj0rdan opened this issue Feb 19, 2025 — with GM Bug Reporter · 1 comment
Open

Code Editor 2: Sticky header disappear when scrolling up. #9469

Macj0rdan opened this issue Feb 19, 2025 — with GM Bug Reporter · 1 comment
Assignees
Labels
ide-bug Bugs with the GameMaker IDE
Milestone

Comments

@Macj0rdan
Copy link

Macj0rdan commented Feb 19, 2025

Description

When sticky headers for statements are enabled, they work when scrolling down, but as soon as you scroll up the disappear.

Steps To Reproduce

Enabled sticky headers for statements in the CE2 settings.
Scroll in a long section to have enough space to test it.
As soon as you scroll up the header disappears.

See video:

Image

Which version of GameMaker are you reporting this issue for?

IDE v2024.1300.0.743 Runtime v2024.1300.0.753

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

Windows 10.0.19045.0

530ecd7e-f621-439b-8305-e5d6c7840367

@gm-bug-reporter gm-bug-reporter bot added the ide-bug Bugs with the GameMaker IDE label Feb 19, 2025
@Macj0rdan Macj0rdan changed the title Code Editor 2: Sticky header dissapears when scrolling up. Code Editor 2: Sticky header disappear when scrolling up. Feb 19, 2025
@stuckie stuckie moved this from Triage to Todo in Team Workload Feb 20, 2025
@stuckie stuckie added this to the 2024.13 milestone Feb 20, 2025
@zreedy zreedy moved this from Todo to In Progress in Team Workload Feb 21, 2025
@zreedy
Copy link

zreedy commented Feb 21, 2025

Fixed. More Code Folding knock on issues. VirtualPage is not updated by in the OnScroll event callback meaning the top physical line resolvement returns -1 when scrolling up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide-bug Bugs with the GameMaker IDE
Projects
Status: In Progress
Development

No branches or pull requests

3 participants