Revision: 3669
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3669&view=rev
Author:   hofman
Date:     2008-04-07 10:44:40 -0700 (Mon, 07 Apr 2008)

Log Message:
-----------
Redisplay after our custom option-select of text.

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2008-04-07 17:22:09 UTC (rev 3668)
+++ trunk/SKPDFView.m   2008-04-07 17:44:40 UTC (rev 3669)
@@ -3293,6 +3293,16 @@
         
     }
     
+    if (rectSelection)  {
+        if (NSIsEmptyRect(selectionRect) == NO) {
+            [self setNeedsDisplayInRect:selectionRect];
+            selectionRect = NSZeroRect;
+            [[self window] flushWindow];
+        } else {
+            selectionRect = NSZeroRect;
+        }
+    }
+    
     if (toolMode == SKNoteToolMode && hideNotes == NO && [self 
currentSelection] && (annotationMode == SKHighlightNote || annotationMode == 
SKUnderlineNote || annotationMode == SKStrikeOutNote)) {
         [self addAnnotationWithType:annotationMode];
         [self setCurrentSelection:nil];


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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to