+ char gc = '-';
+ try {
+ // we try to get the associated view's gap character
+ // but this may fail if the view was closed...
+ gc = av.
+ getGapCharacter();
+ } catch (Exception ex) {};
+ Object[] alAndColsel = tree.seqData.getAlignmentAndColumnSelection(gc);