Merge branch 'features/JAL-2446NCList' into features/JAL-2526sequenceCursor
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 5 Jun 2017 07:54:11 +0000 (08:54 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 5 Jun 2017 07:54:11 +0000 (08:54 +0100)
features/JAL-2526sequenceCursor

Conflicts:
src/jalview/datamodel/SequenceI.java

1  2 
src/jalview/datamodel/Sequence.java
src/jalview/datamodel/SequenceI.java
test/jalview/datamodel/SequenceTest.java

Simple merge
@@@ -520,11 -521,11 +521,18 @@@ public interface SequenceI extends ASeq
     * @return
     */
    List<SequenceFeature> findFeatures(int from, int to, String... types);
 +
 +  /**
 +   * Method to call to indicate that the sequence (characters or alignment/gaps)
 +   * has been modified. Provided to allow any cursors on residue/column
 +   * positions to be invalidated.
 +   */
 +  void sequenceChanged();
+   
+   /**
+    * 
+    * @return BitSet corresponding to index [0,length) where Comparison.isGap()
+    *         returns true.
+    */
+   BitSet getInsertionsAsBits();
  }