load .we with layers

- and fix some bug : max is within range ( perhaps not as many as those added ...)
- quick hack in CharProvider to skip spaces ... ( bad it applies to strings too ...)
This commit is contained in:
philippe lhardy
2020-11-05 21:31:28 +01:00
parent bf918333bf
commit 6c9800047c
5 changed files with 63 additions and 36 deletions

View File

@@ -33,7 +33,7 @@ public class Range {
return update;
}
boolean updateBounds(int v)
protected boolean updateBounds(int v)
{
boolean update = false;
@@ -65,7 +65,7 @@ public class Range {
}
else
{
return max - min;
return max - min + 1;
}
}
}