Set selection in Move Line Up after operation is finished

Fixes #1343.

I believe the issue is that the actual edit is happening in the underlying "document" (which is actually the full editor), but the selection is being set in the inline editor (which is a different editor). So the selection is getting set in the inline editor, but then the change is synchronized back from the document when the operation ends, which modifies the selection we just set. The inline editor selection change really shouldn't be inside the document's batch.

So the fix is just to move the selection change (in the inline editor) outside of the operation.