Add basic angle mask suggestions

Mask suggestions are a bit broken in general so this doesn't change much
This commit is contained in:
Hannes Greule 2020-07-13 11:15:01 +02:00
parent 7198c03cd3
commit 11e762f07a

View File

@ -18,6 +18,9 @@ public class AngleMaskParser extends RichParser<Mask> {
@Override
protected Stream<String> getSuggestions(String argumentInput, int index) {
if (index == 0 || index == 1) {
return suggestPositiveDoubles(argumentInput).flatMap(s -> Stream.of(s, s + "d"));
}
return null;
}