Out by 1 error on show columns
authoramwaterhouse <Andrew Waterhouse>
Tue, 8 Aug 2006 15:44:36 +0000 (15:44 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 8 Aug 2006 15:44:36 +0000 (15:44 +0000)
src/jalview/datamodel/ColumnSelection.java

index d54bb8d..3421c41 100644 (file)
@@ -435,7 +435,7 @@ public class ColumnSelection
         int [] region = (int[])hiddenColumns.elementAt(i);
         if( res == region[0])
         {
-          for (int j = region[0]; j < region[1]; j++)
+          for (int j = region[0]; j < region[1]+1; j++)
           {
             addElement(j);
           }