Fix for #16771. #17698

merged 1 commit into from Jan 23, 2017


None yet

5 participants


Now insertCursorAtEndOfEachLineSelected works with multiple selections.


Hi @jmdowns2, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.


+ let newSelections = new Array<ISelection>();
+ let selections = editor.getSelections();
+ for (var i = 0; i < selections.length; ++i) {
yajiex Dec 23, 2016 edited Member

This can be simplified to let newSelections = => this.getCursorsForSelection(selection, editor));

Matt Downs Fix for #16771. Now insertCursorAtEndOfEachLineSelected works with mu…
…ltiple selections.
@alexandrudima alexandrudima merged commit c937836 into Microsoft:master Jan 23, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed
@alexandrudima alexandrudima added this to the January 2017 milestone Jan 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment