DT4.0.1: Strange selection behavior with markdown files

This is hard to explain.

When I’m editing a markdown file and I scroll to the bottom of the page, and then double-click to select an entire line, the page scrolls down a few lines - and then selects some other random line above it. And when I try to scroll to the bottom again, it doesn’t allow me to do so, as if the scrollbars have reached as far as it can go. But of course, there’s still more text—I just can’t get to it. I have to change focus to another document or something and come back to it for the scrolling to function properly.

2 Likes

I did experience the same.

It’s 2am and i’m in bed but 4.0.2 was released Tuesday :sleeping_face:

1 Like

Perfect. 4.0.2 is looking good. Sweet dreams, Jim! and THANK YOU!

2 Likes

Excellent and a “you’re welcome” from the team!

1 Like

DT4.0.2 Still happening, but different behavior.

When I go to the very bottom of a markdown file (one that has text extended beyond the bounds of the window) and continue typing, the document scrolls(bounces) down such that where I’m typing is no longer visible. With every keypress thereafter, it just alternates between scrolling down and returning to where it should be. Scrolling with the mouse doesn’t work immediately.

Video: https://www.dropbox.com/scl/fi/7an3hizmab7s3krqfr7bt/Screen-Recording-2025-07-23-at-5.01.48-AM.mov?rlkey=xgftc73y4eody7le5zf00ywzp&st=3itpb3sa&dl=0

1 Like

I’m experiencing the same today and for the first time. Thank you for raising the issue!

Welcome @AdamHistorian

  • Do you have Files > Markdown > Syntax highlighting enabled in the settings?
    • If so, does the behavior persist after disabling it?

Thank you, Jim! I restarted my computer before I saw your reply, and after I did that, the problem was gone.

You’re welcome!
Let us know if the issue recurs.
Also, if it does, first just try changing the size of the window to see if that alleviates the issue.

Did this happen e.g. after changing options in Settings > Editing or the Format menu? Or did you paste text copied in a Markdown document?

Yes. When syntax highlighting is enabled, it does the jumping. When I disable, it doesn’t.

1 Like