Commit b18e88c
committed
Sort results at the end of select_matches
Because selections may overlap, it is possible for result not to be
correctly sorted, as for example, we could be selecting '[ab]' in
'a b' selected twice, which would result in (a, b, a, b) when the
correctly sorted selection list should be (a, a, b, b).1 parent 41bb1e2 commit b18e88c
File tree
5 files changed
+7
-1
lines changed- src
- test/regression/0-crash-on-regex-prompt-change
5 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
956 | 956 | | |
957 | 957 | | |
958 | 958 | | |
959 | | - | |
960 | 959 | | |
961 | 960 | | |
962 | 961 | | |
| |||
965 | 964 | | |
966 | 965 | | |
967 | 966 | | |
| 967 | + | |
| 968 | + | |
968 | 969 | | |
969 | 970 | | |
970 | 971 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments