mojira.dev
MC-313388

Moving the text cursor up or down in books and quills shifts it to the right on lines of narrow characters

The Bug:

Moving the text cursor up or down in books and quills shifts it to the right on lines of narrow characters.

Moving the text cursor up or down keeps it in the same column on lines of wider characters, such as "a". However, on lines of narrow characters, such as "i", ".", and "!", each move shifts the text cursor one character to the right, therefore introducing an inconsistency.

Steps to Reproduce:

  1. Obtain a book and quill and open it.

  2. Type "iiiiii", press the enter key, then type it again, press the enter key, and type it again for the final time.

  3. Press Ctrl + Home, then press the right arrow key twice to place the text cursor after the second "i" on the first line.

  4. Press the down arrow key twice and type "X".

  5. Observe if "X" appears after the second "i" on the third line.

Observed Behavior:

The text cursor shifts to the right of narrow characters when moving up or down.

Expected Behavior:

The text cursor would not shift to the right of narrow characters when moving up or down.

Attachments

Comments 1

Avoma

(Unassigned)

Confirmed

Input, UI

26.3, 26.4 Snapshot 10

Retrieved