Revision: 16198
http://sourceforge.net/p/skim-app/code/16198
Author: hofman
Date: 2026-05-01 15:37:49 +0000 (Fri, 01 May 2026)
Log Message:
-----------
add some maegin around find result to scroll to
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2026-04-26 14:01:22 UTC (rev 16197)
+++ trunk/SKMainWindowController.m 2026-05-01 15:37:49 UTC (rev 16198)
@@ -1823,7 +1823,7 @@
selection = [pdfDoc findString:string fromSelection:nil
withOptions:options];
if (selection) {
PDFPage *page = [selection safeFirstPage];
- [pdfView goToRect:[selection boundsForPage:page] onPage:page];
+ [pdfView goToRect:NSInsetRect([selection boundsForPage:page], 0.0,
-20.0) onPage:page];
[leftSideController.findTableView deselectAll:self];
[leftSideController.groupedFindTableView deselectAll:self];
[pdfView setCurrentSelection:selection animate:YES];
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