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

Fix toggle comment not moving caret #73440

Merged
merged 1 commit into from
Feb 16, 2023

Conversation

aXu-AP
Copy link
Contributor

@aXu-AP aXu-AP commented Feb 16, 2023

Fixes #73367

Fix regression if caret is at the beginning of the line and comment is toggled. Now selection/caret is kept at the beginning only if whole line is selected.

ToggleComment

Fix regression if caret is at the beginning of the line and comment is toggled.
@akien-mga akien-mga merged commit 57419dc into godotengine:master Feb 16, 2023
@akien-mga
Copy link
Member

Thanks!

@aXu-AP aXu-AP deleted the code-editor-toggle-comment-fix branch February 16, 2023 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Godot 4 rc2: shortcut for line comment toggling, bug if cursor at beginning of line
2 participants