Skip to content

Conversation

jamescherti
Copy link
Contributor

@jamescherti jamescherti commented Dec 1, 2024

This commit ensures that markdown-toc-generate-toc does not change the window-start or window-hscroll, addressing a common issue that can alter these settings. (I mentioned this issue in this article, and the version of this pull request is better than the cod snippet in the article.)

@jamescherti jamescherti force-pushed the save-restore-marker-window-start branch 3 times, most recently from dc3ca39 to 9878c7b Compare December 1, 2024 05:28
@jamescherti jamescherti force-pushed the save-restore-marker-window-start branch 3 times, most recently from bc07ab7 to 8509575 Compare December 1, 2024 06:50
@jamescherti jamescherti changed the title Ensure window start and hscroll remain unchanged Ensure window-start and window-hscroll remain unchanged Dec 1, 2024
@jamescherti jamescherti force-pushed the save-restore-marker-window-start branch from 8509575 to 0d8f877 Compare December 1, 2024 22:46
@jamescherti jamescherti force-pushed the save-restore-marker-window-start branch from 0d8f877 to c7307d5 Compare August 22, 2025 17:54
This commit ensures that `markdown-toc-generate-toc` does not change the
window start or window hscroll, addressing a common issue that can alter
these settings.
@jamescherti jamescherti force-pushed the save-restore-marker-window-start branch from c7307d5 to 5effd04 Compare August 22, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants