Move line(s) up/down


#1

Two actions, to move the selected line(s) up or down by one line. Attempts to maintain the selection, so you can repeatedly trigger the actions for convenient line-movement.

Up: https://actions.getdrafts.com/a/1HH
Down: https://actions.getdrafts.com/a/1HI

They’re the same script, with just a boolean variable at the top toggled for the direction. There are probably some rough spots in terms of edge cases with blank lines; improvements welcomed.