In my IDE, if a line starts with a tab character, then a word, and that line is marked as an error (including the tab) using diagnostics, and I put my cursor after the tab and press a key, the cursor first moves to the end of the line before inserting the character. This does not happen if the line does not start with tab, or is not marked as an error, or if the tab is not included in the error diagnostic! Also this behavior happens at the start of any word in the line, not just the one after the tab, but not in the middle of any word. I’ve tried removing all extensions I could, including any odd keymaps or tab-related ones.
You can try it here: TRS-80 IDE Insert a new line with tab, then “foo” (no quotes), then move off the line and back on (to trigger the diagnostic), put your cursor before “foo”, then press a letter.
I wanted to make a simple reproducible case for this, so I tried the “Try” editor, but I get the error “SyntaxError: The requested module ‘./firstname.lastname@example.org’ does not provide an export named ‘Diagnostic’”. (See link below).
Any idea how to demo this code in Try? Or other stuff I should check out to debug the actual problem?