{
viewport = ap.av;
alignPanel = ap;
+ alignPanel.alignFrame = this;
addAlignmentPanel(ap);
init();
}
*/
void updateEditMenuBar()
{
+
if (historyList.size() > 0)
{
undoMenuItem.setEnabled(true);
-
CommandI command = (CommandI) historyList.peek();
undoMenuItem.setText("Undo " + command.getDescription());
}
*/
public void removeGappedColumnMenuItem_actionPerformed(ActionEvent e)
{
- int start = 0, end = viewport.alignment.getWidth();
+ int start = 0, end = viewport.alignment.getWidth()-1;
SequenceI[] seqs;
if (viewport.getSelectionGroup() != null)
*/
public void removeAllGapsMenuItem_actionPerformed(ActionEvent e)
{
- int start = 0, end = viewport.alignment.getWidth();
+ int start = 0, end = viewport.alignment.getWidth()-1;
SequenceI[] seqs;
if (viewport.getSelectionGroup() != null)