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

Code Editor 2: Alt-clicking to highlight multiple lines at once and then typing only affects the final line #9149

Closed
gm-bug-reporter bot opened this issue Jan 24, 2025 · 3 comments
Assignees
Labels
ide-bug Bugs with the GameMaker IDE
Milestone

Comments

@gm-bug-reporter
Copy link

Description

In code editor one, a useful feature is being able to select and type on multiple lines at once by holding ALT and holding the mouse while dragging down, after which you can type on all lines at the same time. In Code Editor 2, you can still select multiple lines at once this way, but typing only inserts text at the final line.

Steps To Reproduce

  1. Activate code editor 2
  2. Create several comment lines as such:

//
//
//

  1. Hold alt and click and drag downwards from after the first comment marker to after the third comment market, not that multiple lines at the same position are highlighted and ready for text input.

  2. Type anything, and see that only the final line has text appended

The user would expect that each identical text is produced on each line simultaneously as is in Code Editor 1

Which version of GameMaker are you reporting this issue for?

IDE v2024.11.0.179 Runtime v2024.11.0.226

Which operating system(s) are you seeing the problem on?

Windows 10.0.22631.0

be333e6c-694b-4d36-b635-17606a9fdb5a

@gm-bug-reporter gm-bug-reporter bot added the ide-bug Bugs with the GameMaker IDE label Jan 24, 2025
@KormexGit
Copy link

KormexGit commented Jan 25, 2025

Looks like #5350 regressed, since this is the same issue. It does work with a fully vertical selection, but not if you select horizontally as well

GameMaker-Beta_0DHs1Y06tT.mp4

@stuckie stuckie moved this from Triage to Todo in Team Workload Jan 27, 2025
@stuckie stuckie added this to the 2024.13 milestone Jan 27, 2025
@zreedy
Copy link

zreedy commented Jan 27, 2025

Unable to reproduce in Red.

@zreedy zreedy closed this as completed Jan 27, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in Team Workload Jan 27, 2025
@YYDan YYDan changed the title Code Editor 2 -- alt clicking to highlight multiple lines at once and then typing only types on final line Code Editor 2: Alt-clicking to highlight multiple lines at once and then typing only affects the final line Jan 29, 2025
@Emc1923
Copy link

Emc1923 commented Jan 29, 2025

Unable to reproduce as of IDE v2024.1300.0.732 Runtime v2024.1300.0.743

@YYBartT YYBartT moved this from Done to Ready for QA in Team Workload Jan 29, 2025
@Emc1923 Emc1923 moved this from Ready for QA to Verified in Team Workload Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide-bug Bugs with the GameMaker IDE
Projects
Status: Verified
Development

No branches or pull requests

4 participants