- VSCode Version: Version 1.17.0
- OS Version: Fedora 26, 4.13.5-200.fc26.x86_64
When trying to sort several highlighted blocks of text, using several cursors in one file, only one of the blocks are sorted.
Steps to Reproduce:
- Create a file with several sections that can be sorted. Exaple:
section 1:
a
d
b
c
section 2:
d
c
a
b
- Place cursor on the start of one of the sections, create a new cursor by holding down alt and clicking at the start of the other section.
- Highlight all four rows of letters in each section by holding Shift, while using the arrow/home/end keys.
- Press Ctrl+Shift+P and select «Sort Lines Ascending» or «Sort Lines Descending».
- Result is that only one of the highlighted blocks are sorted.
Reproduces without extensions: Yes