This function aligns the right edge of the active layer to the next vertical guide line. If there is no vertical guide line, it will be aligned to the right edge of the document.