JAL-2541 test with seq start > 1 (and fix Undo bug this uncovered)
[jalview.git] / src / jalview / commands / EditCommand.java
index 9be8d3f..8c53128 100644 (file)
@@ -1163,7 +1163,8 @@ public class EditCommand implements CommandI
        * shift right any features that start at the cut position,
        * unless they were truncated
        */
-      List<SequenceFeature> sfs = seq.findFeatures(start, start);
+      List<SequenceFeature> sfs = seq.getFeatures().findFeatures(start,
+              start);
       for (SequenceFeature sf : sfs)
       {
         if (sf.getBegin() == start)