mojira.dev
MCPE-153421

Pasting text over a selection does not place the cursor after the pasted text

The bug

When pasting some text over a selection, the cursor should be placed after the pasted contents. Instead, it's placed over to the left an amount equal to the length of the selection.

Steps to reproduce:

  • Take a defined length of text to copy. For example, the six-character long string 123456

  • Write any length of text shorter than that. For example, the three-character long string ABC

  • Select the text using either shift+arrow keys or with ctrl+A and paste over the selection.

The results:

Following the example, after pasting the clipboard containing 123456 the cursor is offset by three characters, when the cursor should be placed immediately after the pasted contents. Varying the selection length will vary where the cursor is placed.

Attachments

Comments 0

No comments.

Sprunkles

(Unassigned)

752816

Confirmed

Windows

1.19.50.20 Preview, 1.18.12 Hotfix, 1.18.30, 1.18.31, 1.19.0, 1.19.30.20 Preview, 1.19.11 Hotfix, 1.19.31 Hotfix, 1.20.15 Hotfix, 1.20.40.21 Preview

Retrieved