comment/uncomment selection as a single operation for undo history