public void showAllHiddenSeqs()
{
int startSeq = ranges.getStartSeq();
+ int endSeq = ranges.getEndSeq();
if (alignment.getHiddenSequences().getSize() > 0)
{
hiddenRepSequences = null;
- ranges.setStartSeq(startSeq);
+ ranges.setStartEndSeq(startSeq, endSeq + tmp.size());
firePropertyChange("alignment", null, alignment.getSequences());
// used to set hasHiddenRows/hiddenRepSequences here, after the property
public void showSequence(int index)
{
int startSeq = ranges.getStartSeq();
+ int endSeq = ranges.getEndSeq();
List<SequenceI> tmp = alignment.getHiddenSequences().showSequence(
index, hiddenRepSequences);
selectionGroup.addSequence(seq, false);
setSequenceAnnotationsVisible(seq, true);
}
- ranges.setStartSeq(startSeq);
+
+ // ranges.setStartSeq(startSeq);
+ ranges.setStartEndSeq(startSeq, endSeq + tmp.size());
+
firePropertyChange("alignment", null, alignment.getSequences());
sendSelection();
}