JAL-1628 employ new AnnotationFile reader method to allow the current view's ColumnSe...
[jalview.git] / src / jalview / appletgui / CutAndPasteTransfer.java
index 636dd7f..ce2a3ac 100644 (file)
@@ -203,8 +203,8 @@ public class CutAndPasteTransfer extends Panel implements ActionListener,
       }
       if (tcf == null)
       {
-        if (new AnnotationFile().readAnnotationFile(
-                alignFrame.viewport.getAlignment(), textarea.getText(),
+        if (new AnnotationFile().annotateAlignmentView(alignFrame.viewport,
+                textarea.getText(),
                 jalview.io.AppletFormatAdapter.PASTE))
         {
           alignFrame.alignPanel.fontChanged();