adobe/brackets — pull request #2731 by njx (2013-01-31 01:14:25+00:00)
Title: Set selection in Move Line Up after operation is finished

Fixes #1343 by moving the `setSelection()` call outside of the operation. I'll file a bug in CodeMirror about the underlying issue, but this workaround seems reasonable and I don't think we need to hold it up waiting for a CodeMirror fix.