- // Check to see if the current selection is from a previous message
- if (colsel == null || colsel.size() == 0)
+ av.setSelectionGroup(sgroup);
+ }
+ else
+ {
+ av.setSelectionGroup(null);
+ }
+ av.isSelectionGroupChanged(true);
+ repaint = true;
+ }
+ if (copycolsel)
+ {
+ // the current selection is unset or from a previous message
+ // so import the new colsel.
+ if (colsel == null || colsel.size() == 0)
+ {
+ if (av.getColumnSelection() != null)
+ {
+ av.getColumnSelection().clear();
+ repaint=true;
+ }
+ }
+ else
+ {
+ // TODO: shift colSel according to the intersecting sequences
+ if (av.getColumnSelection() == null)