Markdown Monster
Cursor jumps home after every keypress
Gravatar is a globally recognized avatar based on your email address. Cursor jumps home after every keypress
  Joe Caverly
  All
  Mar 24, 2021 @ 06:32am

Hi, I'm not sure what I have done, but whenever I press a key in a document, the cursor jumps to top of document.

For example, if I am on line 20, and I press j, the letter is displayed on line 20, but the cursor jumps home (to line 1, column 1).

So, I click the mouse beside the letter j, I press o, the letter is displayed on line 20 (now jo), but the cursor jumps home (to line 1, column 1).

I am using Markdown Monster Version 1.26.5, Mar 15, 2021, Registered Copy.

As I am new to Markdown Monster, I must have inadvertently pressed some key combination that is causing this behavior, as it has been working fine since my purchase earlier this year.

Constructive assistance is appreciated.

Regards,

Joe

Gravatar is a globally recognized avatar based on your email address. re: Cursor jumps home after every keypress
  Rick Strahl
  Joe Caverly
  Mar 24, 2021 @ 02:11pm

Hmmm... not sure.

Couple of things:

First thing make sure you're not inadvertently in some odd editor mode like VIM or EMACS. Go to Settings and type Keyboard and make sure that the Keyboard Handler is set to default.

The other thing that can cause cursor jumping is the scroll mode. If you've got the editor and preview sync mode set to Editor and Preview (Editor to Preview and Preview to Editor) that can - in some situations - cause jumpy behavior. Try setting the syncmode to Editor to Preview only and see if that helps. If that's the case there's either content in the document that can't resolve the line position (lots of large block content like large images or long code blocks of tables for example) in which case you may be stuck with the one way sync. It can also be caused by timing issues if you use a really slow machine, or potentially a laggy virtual machine/Terminal server. IAC - not using two-way sync may help.

To check you should also open some other document and see if the problem occurs. For example, open the %localappdata%\Markdown Monster\SampleMarkdown.md doc from the install folder and see if you run into the same issues.

Gravatar is a globally recognized avatar based on your email address. re: Cursor jumps home after every keypress
  Joe Caverly
  Rick Strahl
  Mar 24, 2021 @ 05:15pm

First thing I tried was F12 (Toggle Preview Mode off).

No problems entering text, and no cursor jumps.

Next, I went to Tools -> Settings -> Preview

It was set at "Preview To Editor".

I changed it to "Editor To Preview".

I toggled preview mode back on (F12), and I can now enter text without cursor jumps.

I opened the document you mentioned, SampleMarkdown.md, and ditto as with any other document.

If I have "Preview To Editor", cursor jumps to top of document after pressing any key with Preview Mode.

"Editor To Preview" works as it should with Preview Mode.

I'm running;

Windows 10 [Version 10.0.19042.867]

My system has Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz 2.60 GHz (2 processors), and 128GB RAM, so my machine is quite fast.

I have no idea how that setting was changed, but I thankyou for getting it back to the way it was.

Regards,

Joe Caverly

Gravatar is a globally recognized avatar based on your email address. re: Cursor jumps home after every keypress
  Rick Strahl
  Joe Caverly
  Mar 24, 2021 @ 11:51pm

Ok, so I took a look and there does appear to be a problem and I can duplicate it but oddly only in IE mode and only in Preview to Editor mode, but not in Editor and Preview mode which uses the same sync behavior. And it doesn't fail with Chromium. Very odd...

Curious however - can you try the following:

  • Click on the Blue Chromium Icon in the Toolbar
  • Now put the editor back into Preview -> Editor
  • That should now work

Not sure how this broke the default IE mode but apparently there's a browser difference that's causing a problem. I'll take a look.

You probably alway want to run with:

  • Chromium
  • Editor -> Preview or Editor and Preview

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Cursor jumps home after every keypress
  Joe Caverly
  Rick Strahl
  Mar 25, 2021 @ 06:10am
  • I clicked on the Blue Chromium Icon in the Toolbar
  • I put the editor back into Preview -> Editor
  • ...and it now works as it should.

Next, I made sure that I am now running with Chromium, switched to Editor -> Preview mode, and it works as it should.

Regards,

Joe Caverly

© 1996-2024