From 5423bc19d42e3857f85804d9ad0650f7120778d4 Mon Sep 17 00:00:00 2001 From: amontano Date: Thu, 3 Apr 2003 05:16:14 +0000 Subject: [PATCH] Updated the clipboard calls to DuffPane. Ed: there are some mistakes that didn't happen before. There are certain combinations that use a header letter that when pasted from the DuffPane to the DuffPane fail. Try writing "rgyas", copying it and pasting it beside it. --- source/org/thdl/tib/scanner/AppletScannerFilter.java | 4 ++-- source/org/thdl/tib/scanner/WindowScannerFilter.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/org/thdl/tib/scanner/AppletScannerFilter.java b/source/org/thdl/tib/scanner/AppletScannerFilter.java index 63aa5aa..ee1d166 100644 --- a/source/org/thdl/tib/scanner/AppletScannerFilter.java +++ b/source/org/thdl/tib/scanner/AppletScannerFilter.java @@ -233,11 +233,11 @@ public class AppletScannerFilter extends JApplet implements ActionListener, Focu if (clicked == mnuCut) { - t.cutCurrentSelection(); + t.cut(); } else if (clicked == mnuCopy) { - t.copyCurrentSelection(); + t.copy(); } else if (clicked == mnuPaste) { diff --git a/source/org/thdl/tib/scanner/WindowScannerFilter.java b/source/org/thdl/tib/scanner/WindowScannerFilter.java index 68156be..4c32d56 100644 --- a/source/org/thdl/tib/scanner/WindowScannerFilter.java +++ b/source/org/thdl/tib/scanner/WindowScannerFilter.java @@ -351,11 +351,11 @@ public class WindowScannerFilter implements WindowListener, FocusListener, Actio if (clicked == mnuCut) { - t.cutCurrentSelection(); + t.cut(); } else if (clicked == mnuCopy) { - t.copyCurrentSelection(); + t.copy(); } else if (clicked == mnuPaste) {