- // try to join up adjacent columns to make a larger
- // selection
- // lower and upper bounds
- int l = (d < 0) ? 1 : 0;
- int u = (d > 0) ? 1 : 0;
-
- if (jselection.getStartRes() > 0
- && prange[p + l] == jselection
- .getStartRes())
- {
- jselection.setStartRes(prange[p + l] - 1);
- }
- if (jselection.getEndRes() <= maxWidth
- && prange[p + u] == (jselection.getEndRes() + 2))
- {
- jselection.setEndRes(prange[p + u] - 1);
- }
+ // try to join up adjacent columns to make a larger
+ // selection
+ // lower and upper bounds
+ int l = (d < 0) ? 1 : 0;
+ int u = (d > 0) ? 1 : 0;
+
+ if (jselection.getStartRes() > 0
+ && prange[p + l] == jselection.getStartRes())
+ {
+ jselection.setStartRes(prange[p + l] - 1);
+ }
+ if (jselection.getEndRes() <= maxWidth && prange[p
+ + u] == (jselection.getEndRes() + 2))
+ {
+ jselection.setEndRes(prange[p + u] - 1);
+ }