swapWithMemory
If no selections have been saved, the current selections are saved to the memory. If selections have been saved, the content of the current selections in the editor are swapped with the content of the saved selections in the editor.
Arguments
register
(default="default") - The register to save the selections to.