From 8da821d503a216e2f499c70cb43602f4b2272cd5 Mon Sep 17 00:00:00 2001 From: dchandler Date: Wed, 23 Oct 2002 02:50:48 +0000 Subject: [PATCH] Uses new methods for cutting and copying from a DuffPane. --- source/org/thdl/tib/scanner/WindowScannerFilter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/org/thdl/tib/scanner/WindowScannerFilter.java b/source/org/thdl/tib/scanner/WindowScannerFilter.java index 44ba1f2..2279e56 100644 --- a/source/org/thdl/tib/scanner/WindowScannerFilter.java +++ b/source/org/thdl/tib/scanner/WindowScannerFilter.java @@ -321,11 +321,11 @@ public class WindowScannerFilter implements WindowListener, FocusListener, Actio if (clicked == mnuCut) { - t.copy(t.getSelectionStart(), t.getSelectionEnd(), true); + t.cutCurrentSelection(); } else if (clicked == mnuCopy) { - t.copy(t.getSelectionStart(), t.getSelectionEnd(), false); + t.copyCurrentSelection(); } else if (clicked == mnuPaste) {