trim hidden regions outside selection when copying selected region to clipboard ...