Fix #sel selectors
This commit is contained in:
parent
b51dccc737
commit
755a3f0154
@ -319,8 +319,8 @@ public class SelCommand extends Command {
|
|||||||
|
|
||||||
enum TransformTarget {
|
enum TransformTarget {
|
||||||
ALL(sels -> sels, "all", "a"),
|
ALL(sels -> sels, "all", "a"),
|
||||||
NEWEST(sels -> new ISelection[] {sels[0]}, "newest", "n"),
|
NEWEST(sels -> new ISelection[] {sels[sels.length - 1]}, "newest", "n"),
|
||||||
OLDEST(sels -> new ISelection[] {sels[sels.length - 1]}, "oldest", "o");
|
OLDEST(sels -> new ISelection[] {sels[0]}, "oldest", "o");
|
||||||
|
|
||||||
private final Function<ISelection[], ISelection[]> transform;
|
private final Function<ISelection[], ISelection[]> transform;
|
||||||
private final String[] names;
|
private final String[] names;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user