|
@@ -352,8 +352,6 @@ static inline CPDFAreaOfInterest CAreaOfInterestForResizeHandle(CRectEdges mask,
|
|
|
|
|
|
if(CRedactToolMode == self.toolMode && ![newActiveAnnotation isKindOfClass:[CPDFRedactAnnotation class]])
|
|
|
newActiveAnnotation = nil;
|
|
|
- else if(CRedactToolMode != self.toolMode && [newActiveAnnotation isKindOfClass:[CPDFRedactAnnotation class]])
|
|
|
- newActiveAnnotation = nil;
|
|
|
|
|
|
[CPDFListView cancelPreviousPerformRequestsWithTarget:self selector:@selector(showHUDHint:) object:self.hoverAnnotation];
|
|
|
if ((CNoteToolMode == self.toolMode || CTextToolMode == self.toolMode || CRedactErasureToolMode == self.toolMode) &&
|
|
@@ -683,6 +681,11 @@ static inline CPDFAreaOfInterest CAreaOfInterestForResizeHandle(CRectEdges mask,
|
|
|
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ if(CRedactToolMode != self.toolMode && [annotationSel isKindOfClass:[CPDFRedactAnnotation class]]) {
|
|
|
+ return nil;
|
|
|
+ }
|
|
|
+
|
|
|
NSMenuItem * copyItem = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Copy", @"PDFListView") action:@selector(copy:) keyEquivalent:@"c"];
|
|
|
|
|
|
NSMenuItem * pasteItem = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Paste", @"PDFListView") action:@selector(menuItemClick_Paste:) keyEquivalent:@"v"];
|