Closed sidapa closed 6 years ago
@sidapa thanks for the PR, I tested your change but the result was inserted in the middle when the selection spanned multiple lines.
However, I now switched to getSelectedBufferRange & setCursorBufferPosition to be compatible with Atom 1.0.0. I can't reproduce the issue there anymore, can you confirm that?
When selecting from bottom to top, the results gets inserted after the end of the first line. This moves the cursor back to the end of the selection.