Revision: 4202
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4202&view=rev
Author:   hofman
Date:     2008-07-13 05:41:14 -0700 (Sun, 13 Jul 2008)

Log Message:
-----------
reorganize code

Modified Paths:
--------------
    trunk/SKPDFSynchronizer.h
    trunk/SKPDFSynchronizer.m

Modified: trunk/SKPDFSynchronizer.h
===================================================================
--- trunk/SKPDFSynchronizer.h   2008-07-13 11:50:50 UTC (rev 4201)
+++ trunk/SKPDFSynchronizer.h   2008-07-13 12:41:14 UTC (rev 4202)
@@ -48,9 +48,11 @@
     NSString *fileName;
     NSString *syncFileName;
     NSDate *lastModDate;
+    BOOL isPdfsync;
+    
     NSMutableArray *pages;
-    NSMutableDictionary *lines;
-    BOOL isPdfsync;
+    NSMutableDictionary *lines
+    
 #ifdef SYNCTEX_FEATURE
     synctex_scanner_t scanner;
 #endif
@@ -61,7 +63,6 @@
     id serverOnServerThread;
     NSConnection *mainThreadConnection;
     NSConnection *localThreadConnection;
-    
     struct SKServerFlags *serverFlags;
 }
 

Modified: trunk/SKPDFSynchronizer.m
===================================================================
--- trunk/SKPDFSynchronizer.m   2008-07-13 11:50:50 UTC (rev 4201)
+++ trunk/SKPDFSynchronizer.m   2008-07-13 12:41:14 UTC (rev 4202)
@@ -105,12 +105,14 @@
 
 - (id)init {
     if (self = [super init]) {
-        pages = [[NSMutableArray alloc] init];
-        lines = [[NSMutableDictionary alloc] init];
         fileName = nil;
         syncFileName = nil;
         lastModDate = nil;
         isPdfsync = YES;
+        
+        pages = [[NSMutableArray alloc] init];
+        lines = [[NSMutableDictionary alloc] init];
+        
 #ifdef SYNCTEX_FEATURE
         scanner = NULL;
 #endif        


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

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to