Moving multiple non-sequential blocks maintains gaps

When you select multiple blocks with gaps between them and then move the group up or down, the group does not collapse and instead keeps the gaps.

Thought I’d flag it, because even though it matches the behavior for multiple selections in code editors I’m not sure it’s the right choice here. I at least can’t think of a situation where I’d want to keep the gaps.

If you do the same with lines in a text editor that supports multiple carets, it maintains the gaps too, no? Edit: ah, you mentioned that already. Well, that’s at least partly why it’s designed this way.

In case it helps, when I move multiple blocks it’s usually to send them to a different region of the notebook. I’d argue that the patterns which make the behavior so useful in editors will rarely be found in notebooks.

There’s certainly some nuance in how exactly blocks should collapse. E.g., should the group move as a whole (A_C_→__AC) or should only the gaps collapse (A_C_→_AC_). I don’t have a good answer, both are probably defendable.

If it helps, you should be able to use cut and paste to achieve your desired move.