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

Wrong indentation when moving line of code out of if-statement #403

Closed
helperman opened this issue Aug 25, 2023 · 1 comment
Closed

Wrong indentation when moving line of code out of if-statement #403

helperman opened this issue Aug 25, 2023 · 1 comment
Assignees
Labels
bug something isn't working

Comments

@helperman
Copy link

helperman commented Aug 25, 2023

Description

There are few issues:

  1. Wrong indentation happens of a moved line of code when moving line of code out of if-statement.
  2. Wrong indentation happens of a surrounded code (if-statement itself become without indentation)

Reproduction steps

Steps to reproduce the behavior:

Use "move line up"-hotkey to move line out of if-statement:
0000000314

Expected behavior

The moved statement should keep the same indentation as if-statement.
The if-statement should not change it's indentation.

Actual behavior

The moved statement has no indentation when moved before if-statement.
The if-statement has no indentation after moving a line inside a body of if-statement.

@helperman helperman added the bug something isn't working label Aug 25, 2023
@mark-wiemer
Copy link
Owner

Thanks for reporting, I'll track this as a duplicate of #319--this will be fixed when that one is.

@mark-wiemer mark-wiemer closed this as not planned Won't fix, can't repro, duplicate, stale Aug 27, 2023
@github-project-automation github-project-automation bot moved this to Done in AHK++ Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants