#### Text swapping shortcuts

Eddie has a set of swapping features that allow you to move selected lines up or down in a document, selected text left and right, swap arguments around a comma or assignment, etc.

Alt-Control-UpArrow | Drag selected lines up
Alt-Control-DownArrow | Drag selected lines down

Place the cursor on a line you want to drag up or down. Press Alt-Control-UpArrow. The line gets pulled up. You may repeat this until you drag the line to a desired location.

You may select multiple lines and drag them up or down this way.

Alt-Control-LeftArrow | Drag selection left
Alt-Control-RightArrow | Drag selection right

If you have an empty selection the character left/right of the cursor will be dragged right or left respectively.

Alt-Win-LeftArrow | Smart swap left
Alt-Win-RightArrow | Smart swap right

Smart swap is useful for swapping arguments of functions, expressions, etc. You may use it to go from:

`result = first - second;`

to:

`result = second - first;`

You may also easily swap parameters like this:

`SomeCall(param1, param2);`

to:

`SomeCall(param2, param1);`

When trying to swap a more complex parameter, you may help the smart swap by selecting the parameter you want to swap. If you just place the cursor on length in the following example:

`SomeCall(param1->length, param2);`

you will get:

`SomeCall(param1->param2, length);`

which is probably not what you wanted in this case.
To get the desired result, select at least part of both param1 and length

`SomeCall(param1->length, param2);`

to get:

`SomeCall(length, param1->param2);`

##### Indenting features

Alt-[ | Indent selection left
Alt-] | Indent selection right

Indent selection right/left lets you insert tabs at the beginning of each selected line or remove tabs/spaces to increase/decrease the indentation level.