I pulled out the logic for expanding and coalescing line selections that was in Delete Line into `Editor.convertToLineSelections()`, so I could use it in some of the other edit ops.