Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Ctrl C & V to duplicate a line in script editor will make the caret move to the first column #90462

Closed
jsjtxietian opened this issue Apr 10, 2024 · 1 comment · Fixed by #86978

Comments

@jsjtxietian
Copy link
Contributor

jsjtxietian commented Apr 10, 2024

Tested versions

Current master

System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 () - 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz (16 Threads)

Issue description

See this video, when I use Ctrl C and Ctrl V to duplicate a line and the caret moves to the start of the new line, instead of the same as the duplicated line.

_2024_04_10_12_58_07_554.mp4

See how vscode handles this:

_2024_04_10_13_01_55_314.mp4

Not sure if it's related to #90420

Steps to reproduce

Open the script editor, use Ctrl C and Ctrl V to duplicate a line and observe the cursor/caret

Minimal reproduction project (MRP)

N/A

@jsjtxietian jsjtxietian changed the title Use ctrl C to duplicate a line in script editor will make the caret move to the first column Use Ctrl C to duplicate a line in script editor will make the caret move to the first column Apr 10, 2024
@jsjtxietian jsjtxietian changed the title Use Ctrl C to duplicate a line in script editor will make the caret move to the first column Use Ctrl C & V to duplicate a line in script editor will make the caret move to the first column Apr 10, 2024
@kitbdev
Copy link
Contributor

kitbdev commented Apr 10, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants