Home button jumps to previous line #106

benbro opened this Issue Feb 26, 2014 · 2 comments


None yet

3 participants

benbro commented Feb 26, 2014

When pressing the Home button, the cursor should go the beginning of the line but it jumps to the previous line.

To reproduce:

  • Start a new blank pad.
  • Write the following two lines
  • Move the cursor to the end of the second line.
  • Press the Home button.

The cursor will jump to the first line but it should go to the first character in the second line.


Huh. I'm sure this and #82 are related... I didn't realize there were issues even without blank lines. Unfortunately, this is kinda' core to the way we're using CodeMirror. I probably need to reimplement home/end at some point... :-/

@vincentwoo vincentwoo referenced this issue in codemirror/CodeMirror Jun 12, 2014

Cursor movement problems with collapsed ranges #2635


This is fixed in CodeMirror 4.3: codemirror/CodeMirror@9a843ee

@vincentwoo vincentwoo closed this Jun 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment