|
@@ -213,6 +213,7 @@ namespace Compdfkit_Tools.PDFControl
|
|
|
if (PdfViewControl != null && PdfViewControl.PDFViewTool != null)
|
|
|
{
|
|
|
PdfViewControl.PDFViewTool.GetCPDFViewer().UndoManager?.Undo();
|
|
|
+ PdfViewControl.PDFToolManager.ClearSelect();
|
|
|
PdfViewControl.PDFViewTool.GetCPDFViewer().UpDateAnnotFrame();
|
|
|
}
|
|
|
}
|
|
@@ -222,6 +223,7 @@ namespace Compdfkit_Tools.PDFControl
|
|
|
if (PdfViewControl != null && PdfViewControl.PDFViewTool != null)
|
|
|
{
|
|
|
PdfViewControl.PDFViewTool.GetCPDFViewer().UndoManager?.Redo();
|
|
|
+ PdfViewControl.PDFToolManager.ClearSelect();
|
|
|
PdfViewControl.PDFViewTool.GetCPDFViewer().UpDateAnnotFrame();
|
|
|
}
|
|
|
}
|
|
@@ -360,7 +362,7 @@ namespace Compdfkit_Tools.PDFControl
|
|
|
case C_ANNOTATION_TYPE.C_ANNOTATION_WIDGET:
|
|
|
menu.Items.Add(new MenuItem() { Header = "Delete", Command = ApplicationCommands.Delete, CommandTarget = (UIElement)sender });
|
|
|
menu.Items.Add(new MenuItem() { Header = "Copy", Command = ApplicationCommands.Copy, CommandTarget = (UIElement)sender });
|
|
|
- menu.Items.Add(new MenuItem() { Header = "Cut", Command = ApplicationCommands.Cut, CommandTarget = (UIElement)sender });
|
|
|
+ //menu.Items.Add(new MenuItem() { Header = "Cut", Command = ApplicationCommands.Cut, CommandTarget = (UIElement)sender });
|
|
|
menu.Items.Add(new MenuItem() { Header = "Paste", Command = ApplicationCommands.Paste, CommandTarget = (UIElement)sender });
|
|
|
break;
|
|
|
default:
|