+ BitSet matched = new BitSet();
+ ColumnSelection cs = view.getAlignViewport().getColumnSelection();
+ // restrict to active column selection, if there is one
+ if (cs != null && cs.hasSelectedColumns()
+ && cs.getSelected().size() >= 4)
+ {
+ for (int s : cs.getSelected())
+ {
+ if (hiddenCols == null)
+ {
+ matched.set(s);
+ }
+ else
+ {
+ matched.set(hiddenCols.visibleToAbsoluteColumn(s));
+ }
+ }
+ }
+ else