Text cursor movement across word-wrap boundary broken

Steps to reproduce

  1. Open a new document
  2. Add a line of text that is long enough to need to be word-wrapped.
  3. Position the text-cursor on the first line, before the word-wrap.
  4. Press the right arrow key until the text cursor crosses the word-wrap boundary.

Expected result

The text cursor should, when crossing the word-wrap boundary, land prior to the first character of the next line.

Actual result

The text cursor lands after the first character of the next line.

Environment

  • Operating system: Linux
  • Obsidian version: 0.8.0

Additional information

There may be an issue going in the opposite direction, too. Moving the text cursor across the word-wrap boundary using the left arrow key causes the cursor to land before the trailing white-space on the first line.

Here’s a demo of both issues:
https://streamable.com/0vg6av

1 Like

thanks

possibly related to: https://forum.obsidian.md/t/in-editor-word-wrap-following-an-inline-code-block-does-not-collapse-space/3325

let me know if this is this better in 0.11.7

1 Like

Still an issue with v0.11.13. When crossing a word-wrap boundary, the cursor lands one character beyond the start of the line. Is there anything I can do to help you reproduce this issue?

We had some internal discussion about this and we don’t consider this a bug. I have seen other editors behave differently and I understand that some user may not like it. Feel free to open a feature request about this issue.