Uses new methods for cutting and copying from a DuffPane.

This commit is contained in:
dchandler 2002-10-23 02:50:48 +00:00
parent f38290efd2
commit 8da821d503

View file

@ -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)
{