Revision: 4201 http://skim-app.svn.sourceforge.net/skim-app/?rev=4201&view=rev Author: hofman Date: 2008-07-13 04:50:50 -0700 (Sun, 13 Jul 2008)
Log Message: ----------- rename method names Modified Paths: -------------- trunk/SKApplication.m trunk/SKPDFDocument.m trunk/SKPDFView.m Modified: trunk/SKApplication.m =================================================================== --- trunk/SKApplication.m 2008-07-13 11:47:28 UTC (rev 4200) +++ trunk/SKApplication.m 2008-07-13 11:50:50 UTC (rev 4201) @@ -117,7 +117,7 @@ [self presentError:error]; if ([[NSFileManager defaultManager] fileExistsAtPath:source] && [document respondsToSelector:@selector(synchronizer)]) - [[document synchronizer] findPageLocationForLine:[lineNumber intValue] inFile:source]; + [[document synchronizer] findPageAndLocationForLine:[lineNumber intValue] inFile:source]; } else { [command setScriptErrorNumber:NSArgumentsWrongScriptError]; Modified: trunk/SKPDFDocument.m =================================================================== --- trunk/SKPDFDocument.m 2008-07-13 11:47:28 UTC (rev 4200) +++ trunk/SKPDFDocument.m 2008-07-13 11:50:50 UTC (rev 4201) @@ -1945,7 +1945,7 @@ source = [NSURL fileURLWithPath:source]; if ([source isKindOfClass:[NSURL class]] == NO) source = [self fileURL]; - [[self synchronizer] findPageLocationForLine:[location line] inFile:[[source path] stringByReplacingPathExtension:@"tex"]]; + [[self synchronizer] findPageAndLocationForLine:[location line] inFile:[[source path] stringByReplacingPathExtension:@"tex"]]; } else { PDFSelection *selection = [PDFSelection selectionWithSpecifier:location]; if ([[selection pages] count]) { @@ -2007,7 +2007,7 @@ PDFSelection *sel = [page selectionForLineAtPoint:point]; NSRect rect = sel ? [sel boundsForPage:page] : NSMakeRect(point.x - 20.0, point.y - 5.0, 40.0, 10.0); - [[self synchronizer] findFileLineForLocation:point inRect:rect atPageIndex:pageIndex]; + [[self synchronizer] findFileAndLineForLocation:point inRect:rect atPageIndex:pageIndex]; } } Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2008-07-13 11:47:28 UTC (rev 4200) +++ trunk/SKPDFView.m 2008-07-13 11:50:50 UTC (rev 4201) @@ -3879,7 +3879,7 @@ PDFSelection *sel = [page selectionForLineAtPoint:location]; NSRect rect = sel ? [sel boundsForPage:page] : NSMakeRect(location.x - 20.0, location.y - 5.0, 40.0, 10.0); - [[document synchronizer] findFileLineForLocation:location inRect:rect atPageIndex:pageIndex]; + [[document synchronizer] findFileAndLineForLocation:location inRect:rect atPageIndex:pageIndex]; } } 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 Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit