You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current condition for removing common indentation is that there are multiple lines and there is at least one non-empty line. I would change it to there are multiple non-whitespace lines.
Current behavior is not desired e.g. for single lines with \n in the end (the typical result of Ctrl+X without selection). When indentation is removed then after pressing Ctrl+X and Ctrl+V we will not get the same content as before.
The text was updated successfully, but these errors were encountered:
kindermannhubert
changed the title
Remove indentation of pasted only when there are multiple non-whitespace lines
Remove indentation of pasted text only when there are multiple non-whitespace lines
Mar 19, 2022
Current condition for removing common indentation is that
there are multiple lines and there is at least one non-empty line
. I would change it tothere are multiple non-whitespace lines
.Current behavior is not desired e.g. for single lines with
\n
in the end (the typical result of Ctrl+X without selection). When indentation is removed then after pressingCtrl+X
andCtrl+V
we will not get the same content as before.The text was updated successfully, but these errors were encountered: