Uses new methods for cutting and copying from a DuffPane.
This commit is contained in:
parent
f38290efd2
commit
8da821d503
1 changed files with 2 additions and 2 deletions
|
@ -321,11 +321,11 @@ public class WindowScannerFilter implements WindowListener, FocusListener, Actio
|
||||||
|
|
||||||
if (clicked == mnuCut)
|
if (clicked == mnuCut)
|
||||||
{
|
{
|
||||||
t.copy(t.getSelectionStart(), t.getSelectionEnd(), true);
|
t.cutCurrentSelection();
|
||||||
}
|
}
|
||||||
else if (clicked == mnuCopy)
|
else if (clicked == mnuCopy)
|
||||||
{
|
{
|
||||||
t.copy(t.getSelectionStart(), t.getSelectionEnd(), false);
|
t.copyCurrentSelection();
|
||||||
}
|
}
|
||||||
else if (clicked == mnuPaste)
|
else if (clicked == mnuPaste)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue