This function aligns the marked layers (see chapter 4.7 and chapter 7.5.44) to the right edge of the active layer.