adjustSelections
Adjust the selection inwards or outwards from both sides.
Arguments
dir
: how to move the selectioninward
: move both ends of the selection so that the selection shrinksoutward
: move both ends of the selection so that the selection growsforward
: if the cursor is at the start of a selection move both ends of the selection inwards, if the cursor is at the end of a selection move both ends of the selection outwardsbackward
: if the cursor is at the start of a selection move both ends of the selection outwards, if the cursor is at the end of a selection move both ends of the selection inwards
count
: (default 1) how many characters to move by when adjusting selection ends