mark-wiemer-org/ahkpp

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

Closed this issue · 1 comments

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.

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