public static final int PASTE = 3;
public static final int REPLACE = 4;
+
+ public static final int INSERT_NUC=5;
Edit[] edits;
case REPLACE:
replace(edits[e]);
break;
+ //TODO:add deleteNuc for UNDO
+// case INSERT_NUC:
+// insertNuc(edits[e]);
+// break;
}
}
}
case REPLACE:
replace(edits[e]);
break;
- }
+ }
}
}
{
command.seqs[s].insertCharAt(command.position, command.number,
command.gapChar);
+// System.out.println("pos: "+command.position+" number: "+command.number);
}
adjustAnnotations(command, true, false, null);
}
+//
+// final void insertNuc(Edit command)
+// {
+//
+// for (int s = 0; s < command.seqs.length; s++)
+// {
+// System.out.println("pos: "+command.position+" number: "+command.number);
+// command.seqs[s].insertCharAt(command.position, command.number,'A');
+// }
+//
+// adjustAnnotations(command, true, false, null);
+// }
final void deleteGap(Edit command)
{