Closed
Description
The UI involving the merging of cells is broken. There are a few related issues:
First, you can choose to "undo delete cell", but it doesn't remove the source from the first cell that was merged in. That's annoying, but not super problematic if we decide we don't want to deal with that (I think it was handled properly before? I could be misremembering, though).
Next, the resulting merged cell is still marked. I think it should be unmarked after the merge operation is complete.
Finally, there's also a more serious issue. Steps to reproduce:
- create notebook with two cells
- select second cell
- multi-select with first cell (shift+k)
- merge (shift+m)
- undo delete cell -- this will cause the deleted cell to appear above the merged cell (it should be below)
- select the top cell (the one that should have been below) and delete it -- this will cause the second cell (the one that is not selected!) to be deleted. I think this is because that cell is marked, so having the merge unmark the cell it operated on would fix this.