Revision: 7237
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7237&view=rev
Author:   hofman
Date:     2011-05-15 21:57:31 +0000 (Sun, 15 May 2011)

Log Message:
-----------
remove search highlights before starting/ending a search

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2011-05-15 20:42:25 UTC (rev 7236)
+++ trunk/SKMainWindowController.m      2011-05-15 21:57:31 UTC (rev 7237)
@@ -1644,7 +1644,8 @@
     // cancel any previous find to remove those results, or else they stay 
around
     if ([[pdfView document] isFinding])
         [[pdfView document] cancelFindString];
-
+    [pdfView setHighlightedSelections:nil];
+    
     if ([[sender stringValue] isEqualToString:@""]) {
         
         if (mwcFlags.leftSidePaneState == SKThumbnailSidePaneState)


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

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to