Revision: 13425
          http://sourceforge.net/p/skim-app/code/13425
Author:   hofman
Date:     2023-04-28 15:33:42 +0000 (Fri, 28 Apr 2023)
Log Message:
-----------
copy multple pages when selecting multiple pages in overview

Modified Paths:
--------------
    trunk/PDFPage_SKExtensions.m

Modified: trunk/PDFPage_SKExtensions.m
===================================================================
--- trunk/PDFPage_SKExtensions.m        2023-04-28 15:23:22 UTC (rev 13424)
+++ trunk/PDFPage_SKExtensions.m        2023-04-28 15:33:42 UTC (rev 13425)
@@ -412,7 +412,7 @@
         NSData *tiffData = [self TIFFDataForRect:[self 
boundsForBox:kPDFDisplayBoxCropBox]];
         NSPasteboardItem *pboardItem = [[[NSPasteboardItem alloc] init] 
autorelease];
         if ([[self document] allowsPrinting])
-            [pboardItem setData:[self dataRepresentation] 
forType:NSPasteboardTypePDF];
+            [pboardItem setData:[self 
dataRepresentationForPageIndexes:pageIndexes] forType:NSPasteboardTypePDF];
         [pboardItem setData:tiffData forType:NSPasteboardTypeTIFF];
         NSPasteboard *pboard = [NSPasteboard generalPasteboard];
         [pboard clearContents];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to