You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🪲 pri/majorBugs will affect your normal use of Mark Text, causing you unwilling or unable to continue using MT🐛 bugSomething isn't working🔭 area/editor
What I find annoying is that the editor jumps after a reload to the end of the document, so that I have to search everytime the position where I changed something - which of course is what I want to see right now.
What problem does this feature solve? [optional]
Usability for users with multi editors ( I use notepadd++ to edit) or settings with generated markdown. When I fix something in my generator and generate a new version of markdown text, I have to check it in the next step. And thgat is not always at the end. External spell checking could be another use case where jumping to the end would be annoying.
Reacted by carterjones, Colin Ozanne, Ben Michaud and Lee245
I am experiencing a similar bug. All of a sudden, the cursor jumps to the very end of a document and I have to scroll back up to where I was. I'm not sure where it is coming from.
Reacted by Colin Ozanne, Harrie de Veer, indirection and Sayene
I am experiencing a similar bug. All of a sudden, the cursor jumps to the very end of a document and I have to scroll back up to where I was. I'm not sure where it is coming from.
This happens in v0.17.1 when opening files from the Sidebar (Opened files or Folder list). Every file that is opened from there is opened with the cursor at the end of the file which is quite annoying.
I have similar when switching between code mode and normal mode. To work around I select any piece of text just before switching and then after switching marktext doesn't jump to the end.
About every 30 seconds, my cursor jumps to the bottom. This basically makes this software unusable for me. Has anyone found a fix? I am syncing my files through Syncthing. Maybe it has to do with this, as someone else mentioned?
I've got this issues, too. It's super annoying as it jumps to the end. I've condition myself to Ctrl+S often, but it would be nice if I didn't have to.
Thank you for reporting this, and to everyone who left follow-up comments over the years.
The scroll-position-on-reload behavior has been addressed in the current codebase. The loadChange path (triggered by external file changes via the filesystem watcher) now explicitly preserves the editor's scroll position before applying the new content and restores it afterwards — see the "Preserve scroll across external reload so the editor stays put" logic in the desktop renderer store. The autosave path does not reload content at all; it only writes to disk and marks the tab as saved, so it cannot cause a scroll jump on its own.
If you are still seeing the cursor jump to the bottom on a recent build, it is most likely caused by a file-sync tool (e.g. Syncthing) writing the file back to disk shortly after MarkText saves it, producing a second filesystem-change event that MarkText treats as an external modification. In that case the scroll position should still be preserved through the same code path. If you can reproduce the issue on a current build without a sync tool involved, please open a new issue with the MarkText version and the exact steps.
🪲 pri/majorBugs will affect your normal use of Mark Text, causing you unwilling or unable to continue using MT🐛 bugSomething isn't working🔭 area/editor
Activity
joel-porquet commentedon Feb 25, 2021
I am experiencing a similar bug. All of a sudden, the cursor jumps to the very end of a document and I have to scroll back up to where I was. I'm not sure where it is coming from.
fuzzyharry commentedon Dec 3, 2021
Me too. After say 20 seconds the cursor jumps to the end of the file.
v0.16.3
indirection commentedon Apr 6, 2022
v0.17.1
Ziflin commentedon May 10, 2022
This happens in v0.17.1 when opening files from the Sidebar (Opened files or Folder list). Every file that is opened from there is opened with the cursor at the end of the file which is quite annoying.
lord-anador commentedon Apr 1, 2023
I have similar when switching between code mode and normal mode. To work around I select any piece of text just before switching and then after switching marktext doesn't jump to the end.
JoJoJoJoSiah commentedon Mar 31, 2025
About every 30 seconds, my cursor jumps to the bottom. This basically makes this software unusable for me. Has anyone found a fix? I am syncing my files through Syncthing. Maybe it has to do with this, as someone else mentioned?
JeremieBethmont commentedon Apr 2, 2025
+1
djlerman commentedon May 27, 2025
When I have AutoSave on. The Curser jumps to the bottom of the document every 30 seconds or so. I assume right after an auto save.
theryanbreck commentedon May 1, 2026
I've got this issues, too. It's super annoying as it jumps to the end. I've condition myself to Ctrl+S often, but it would be nice if I didn't have to.
Jocs commentedon Jun 23, 2026
Thank you for reporting this, and to everyone who left follow-up comments over the years.
The scroll-position-on-reload behavior has been addressed in the current codebase. The
loadChangepath (triggered by external file changes via the filesystem watcher) now explicitly preserves the editor's scroll position before applying the new content and restores it afterwards — see the "Preserve scroll across external reload so the editor stays put" logic in the desktop renderer store. The autosave path does not reload content at all; it only writes to disk and marks the tab as saved, so it cannot cause a scroll jump on its own.If you are still seeing the cursor jump to the bottom on a recent build, it is most likely caused by a file-sync tool (e.g. Syncthing) writing the file back to disk shortly after MarkText saves it, producing a second filesystem-change event that MarkText treats as an external modification. In that case the scroll position should still be preserved through the same code path. If you can reproduce the issue on a current build without a sync tool involved, please open a new issue with the MarkText version and the exact steps.
Closing this as resolved in the current codebase.