Revision: 6962
http://skim-app.svn.sourceforge.net/skim-app/?rev=6962&view=rev
Author: hofman
Date: 2010-12-12 11:25:15 +0000 (Sun, 12 Dec 2010)
Log Message:
-----------
don't check for hideNotes when editing links as a workaround for clicking links
behind a hidden note
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2010-12-11 01:01:17 UTC (rev 6961)
+++ trunk/SKPDFView.m 2010-12-12 11:25:15 UTC (rev 6962)
@@ -1975,7 +1975,7 @@
}
- (void)editActiveAnnotation:(id)sender {
- if (nil == activeAnnotation || hideNotes)
+ if (nil == activeAnnotation)
return;
[self commitEditing];
@@ -1991,7 +1991,7 @@
[[NSWorkspace sharedWorkspace] openURL:[(PDFAnnotationLink
*)activeAnnotation URL]];
[self setActiveAnnotation:nil];
- } else if ([type isEqualToString:SKNFreeTextString]) {
+ } else if (hideNotes == NO && [type isEqualToString:SKNFreeTextString]) {
NSRect editBounds = [activeAnnotation bounds];
NSFont *font = [(PDFAnnotationFreeText *)activeAnnotation font];
@@ -2016,7 +2016,7 @@
if ([[self delegate]
respondsToSelector:@selector(PDFViewDidBeginEditing:)])
[[self delegate] PDFViewDidBeginEditing:self];
- } else if ([activeAnnotation isEditable]) {
+ } else if (hideNotes == NO && [activeAnnotation isEditable]) {
[[SKImageToolTipWindow sharedToolTipWindow] orderOut:self];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages,
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit