Add SWAP_WITH_CURSOR action support.