Markpad icon indicating copy to clipboard operation
Markpad copied to clipboard

Sticky Scroll is not taking into account Headers

Open netricsa opened this issue 2 months ago • 1 comments

Markpad version

2.7.6

How did you install it?

Windows — installer (Markpad_…_setup.exe)

OS and version

Windows 11

What happens, and what you expected instead

Hi,

The sticky scroll in the editor seems to be only showing todo list, if it exceeds a single line. But Level by level headers is not being shown there (like in vscode). So #H1 would be stickied on topmost level, and ## H2 below it and ### H3 would keep on changing if I have multiple H3s. Similar to Vscode. Would that be possible to be implemented?

Thank you!

Steps to reproduce

No response

The Markdown that triggers it

# H1

## H2

### H3

- [ ] Task 01
- [ ] Task 02

### Second H3 Header
- [ ] Task 01 version 02
- [ ] Task 02 version 02

Screenshots, and anything else

No response

netricsa avatar Sep 08 '26 17:09 netricsa

This is in now (#764) and will ship in the next release. With Sticky Scroll on, the editor pins the headings you are scrolled under: the # heading at the top, then the ##, then whichever ### you are in, the way VS Code does it. Documents without headings behave as before.

If it doesn't look right once you have the update, let me know here.

PathGao avatar Sep 10 '26 07:09 PathGao