From some quick testing.
Nothing seems to happen the fourth time multi-line is called.
The fifth time, it works the same as the second time, which starts the cycle over.
but when it reaches a single line, then the next call to multi-line doesn't do anything again.
Expected
Calling multi-line should cycle to the next state with every call.
Observed
In a python file (.py).
With the cursor inside the square brackets.
a = [1, 2, 3]
M-x multi-line results in:
a = [
1, 2, 3,
]
M-x multi-line again, results in:
a = [
1,
2,
3,
]
M-x multi-line a third time, returns it to a single line:
a = [1, 2, 3]
M-x multi-line a fourth time, doesn't change anything.
a = [1, 2, 3]
M-x multi-line a fifth time, starts the cycle again:
This package was just added as a transient state:
SPC x n
in Spacemacs. [editing] add binding for multi-line #14386From some quick testing. Nothing seems to happen the fourth time
multi-line
is called.The fifth time, it works the same as the second time, which starts the cycle over. but when it reaches a single line, then the next call to
multi-line
doesn't do anything again.Expected
Calling
multi-line
should cycle to the next state with every call.Observed
In a python file (.py). With the cursor inside the square brackets.
M-x multi-line results in:
M-x multi-line again, results in:
M-x multi-line a third time, returns it to a single line:
M-x multi-line
a fourth time, doesn't change anything.M-x multi-line
a fifth time, starts the cycle again:Windows 10, System Info (Click to expand)