Revision: 6452
http://skim-app.svn.sourceforge.net/skim-app/?rev=6452&view=rev
Author: hofman
Date: 2010-04-08 23:48:16 +0000 (Thu, 08 Apr 2010)
Log Message:
-----------
rename class
Modified Paths:
--------------
trunk/SKFindController.m
trunk/Skim.xcodeproj/project.pbxproj
Added Paths:
-----------
trunk/SKFindFieldEditor.h
Removed Paths:
-------------
trunk/BDSKFindFieldEditor.h
trunk/BDSKFindFieldEditor.m
Deleted: trunk/BDSKFindFieldEditor.h
===================================================================
--- trunk/BDSKFindFieldEditor.h 2010-04-08 23:47:05 UTC (rev 6451)
+++ trunk/BDSKFindFieldEditor.h 2010-04-08 23:48:16 UTC (rev 6452)
@@ -1,43 +0,0 @@
-//
-// BDSKFindFieldEditor.h
-// Bibdesk
-//
-// Created by Christiaan Hofman on 4/6/06.
-/*
- This software is Copyright (c) 2005-2010
- Christiaan Hofman. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- - Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- - Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in
- the documentation and/or other materials provided with the
- distribution.
-
- - Neither the name of Christiaan Hofman nor the names of any
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import <Cocoa/Cocoa.h>
-
-
-...@interface BDSKFindFieldEditor : NSTextView {}
-...@end
Deleted: trunk/BDSKFindFieldEditor.m
===================================================================
--- trunk/BDSKFindFieldEditor.m 2010-04-08 23:47:05 UTC (rev 6451)
+++ trunk/BDSKFindFieldEditor.m 2010-04-08 23:48:16 UTC (rev 6452)
@@ -1,68 +0,0 @@
-//
-// BDSKFindFieldEditor.m
-// Bibdesk
-//
-// Created by Christiaan Hofman on 4/6/06.
-/*
- This software is Copyright (c) 2005-2010
- Christiaan Hofman. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- - Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- - Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in
- the documentation and/or other materials provided with the
- distribution.
-
- - Neither the name of Christiaan Hofman nor the names of any
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import "BDSKFindFieldEditor.h"
-
-
-...@implementation BDSKFindFieldEditor
-
-- (id)initWithFrame:(NSRect)frameRect {
- if (self = [super initWithFrame:frameRect]) {
- [self setFieldEditor:YES];
- [self setUsesFindPanel:YES];
- }
- return self;
-}
-
-- (IBAction)performFindPanelAction:(id)sender {
- id delegate = [[self window] delegate];
- if ([delegate respondsToSelector:@selector(performFindPanelAction:)])
- [delegate performFindPanelAction:sender];
- else
- [super performFindPanelAction:sender];
-}
-
-- (BOOL)validateUserInterfaceItem:(id <NSValidatedUserInterfaceItem>)anItem {
- id delegate = [[self window] delegate];
- if ([anItem action] == @selector(performFindPanelAction:) && [delegate
respondsToSelector:@selector(performFindPanelAction:)] && [delegate
respondsToSelector:@selector(validateUserInterfaceItem:)])
- return [delegate validateUserInterfaceItem:anItem];
- else
- return [super validateUserInterfaceItem:anItem];
-}
-
-...@end
Modified: trunk/SKFindController.m
===================================================================
--- trunk/SKFindController.m 2010-04-08 23:47:05 UTC (rev 6451)
+++ trunk/SKFindController.m 2010-04-08 23:48:16 UTC (rev 6452)
@@ -37,7 +37,7 @@
*/
#import "SKFindController.h"
-#import "BDSKFindFieldEditor.h"
+#import "SKFindFieldEditor.h"
#import "NSGeometry_SKExtensions.h"
#define SKFindPanelFrameAutosaveName @"SKFindPanel"
@@ -207,7 +207,7 @@
- (id)windowWillReturnFieldEditor:(NSWindow *)sender toObject:(id)anObject {
if (fieldEditor == nil)
- fieldEditor = [[BDSKFindFieldEditor alloc] init];
+ fieldEditor = [[SKFindFieldEditor alloc] init];
return fieldEditor;
}
Copied: trunk/SKFindFieldEditor.h (from rev 6395, trunk/BDSKFindFieldEditor.h)
===================================================================
--- trunk/SKFindFieldEditor.h (rev 0)
+++ trunk/SKFindFieldEditor.h 2010-04-08 23:48:16 UTC (rev 6452)
@@ -0,0 +1,43 @@
+//
+// SKFindFieldEditor.h
+// Skim
+//
+// Created by Christiaan Hofman on 4/6/06.
+/*
+ This software is Copyright (c) 2005-2010
+ Christiaan Hofman. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ - Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ - Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+ - Neither the name of Christiaan Hofman nor the names of any
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <Cocoa/Cocoa.h>
+
+
+...@interface SKFindFieldEditor : NSTextView {}
+...@end
Modified: trunk/Skim.xcodeproj/project.pbxproj
===================================================================
--- trunk/Skim.xcodeproj/project.pbxproj 2010-04-08 23:47:05 UTC (rev
6451)
+++ trunk/Skim.xcodeproj/project.pbxproj 2010-04-08 23:48:16 UTC (rev
6452)
@@ -99,7 +99,7 @@
CE2DE4FD0B85DBD400D0DA12 /* SKPDFToolTipWindow.m in Sources */
= {isa = PBXBuildFile; fileRef = CE2DE4FC0B85DBD400D0DA12 /*
SKPDFToolTipWindow.m */; };
CE2DE50D0B85DC4000D0DA12 /* PDFPage_SKExtensions.m in Sources
*/ = {isa = PBXBuildFile; fileRef = CE2DE50C0B85DC4000D0DA12 /*
PDFPage_SKExtensions.m */; };
CE2DEB1C0B8618DE00D0DA12 /* SKFindController.m in Sources */ =
{isa = PBXBuildFile; fileRef = CE2DEB1B0B8618DE00D0DA12 /* SKFindController.m
*/; };
- CE2DED6C0B86334900D0DA12 /* BDSKFindFieldEditor.m in Sources */
= {isa = PBXBuildFile; fileRef = CE2DED6B0B86334900D0DA12 /*
BDSKFindFieldEditor.m */; };
+ CE2DED6C0B86334900D0DA12 /* SKFindFieldEditor.m in Sources */ =
{isa = PBXBuildFile; fileRef = CE2DED6B0B86334900D0DA12 /* SKFindFieldEditor.m
*/; };
CE31A6180C01FC45003612A9 /* SKDocumentController.m in Sources
*/ = {isa = PBXBuildFile; fileRef = CE31A6160C01FC45003612A9 /*
SKDocumentController.m */; };
CE32531F0F4723EA0021BADD /* SKMainWindowController_Actions.m in
Sources */ = {isa = PBXBuildFile; fileRef = CE32531E0F4723EA0021BADD /*
SKMainWindowController_Actions.m */; };
CE3364310E2761E9005F99E6 /* synctex_parser.m in Sources */ =
{isa = PBXBuildFile; fileRef = CE33639F0E26E120005F99E6 /* synctex_parser.m */;
};
@@ -624,8 +624,8 @@
CE2DE50C0B85DC4000D0DA12 /* PDFPage_SKExtensions.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= PDFPage_SKExtensions.m; sourceTree = "<group>"; };
CE2DEB1A0B8618DE00D0DA12 /* SKFindController.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path =
SKFindController.h; sourceTree = "<group>"; };
CE2DEB1B0B8618DE00D0DA12 /* SKFindController.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= SKFindController.m; sourceTree = "<group>"; };
- CE2DED6A0B86334900D0DA12 /* BDSKFindFieldEditor.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path =
BDSKFindFieldEditor.h; sourceTree = "<group>"; };
- CE2DED6B0B86334900D0DA12 /* BDSKFindFieldEditor.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= BDSKFindFieldEditor.m; sourceTree = "<group>"; };
+ CE2DED6A0B86334900D0DA12 /* SKFindFieldEditor.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path =
SKFindFieldEditor.h; sourceTree = "<group>"; };
+ CE2DED6B0B86334900D0DA12 /* SKFindFieldEditor.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= SKFindFieldEditor.m; sourceTree = "<group>"; };
CE31A6150C01FC45003612A9 /* SKDocumentController.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path =
SKDocumentController.h; sourceTree = "<group>"; };
CE31A6160C01FC45003612A9 /* SKDocumentController.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= SKDocumentController.m; sourceTree = "<group>"; };
CE32531D0F4723EA0021BADD /* SKMainWindowController_Actions.h */
= {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =
sourcecode.c.h; path = SKMainWindowController_Actions.h; sourceTree =
"<group>"; };
@@ -1650,8 +1650,8 @@
CEA575FC0B9208B60003D2E7 /* SKTocOutlineView.m
*/,
CE4972880BDE8B2900D7F1D2 /* SKToolbarItem.h */,
CE4972890BDE8B2900D7F1D2 /* SKToolbarItem.m */,
- CE2DED6A0B86334900D0DA12 /*
BDSKFindFieldEditor.h */,
- CE2DED6B0B86334900D0DA12 /*
BDSKFindFieldEditor.m */,
+ CE2DED6A0B86334900D0DA12 /* SKFindFieldEditor.h
*/,
+ CE2DED6B0B86334900D0DA12 /* SKFindFieldEditor.m
*/,
);
name = Views;
sourceTree = "<group>";
@@ -2368,7 +2368,7 @@
CE2DE4FD0B85DBD400D0DA12 /*
SKPDFToolTipWindow.m in Sources */,
CE2DE50D0B85DC4000D0DA12 /*
PDFPage_SKExtensions.m in Sources */,
CE2DEB1C0B8618DE00D0DA12 /* SKFindController.m
in Sources */,
- CE2DED6C0B86334900D0DA12 /*
BDSKFindFieldEditor.m in Sources */,
+ CE2DED6C0B86334900D0DA12 /* SKFindFieldEditor.m
in Sources */,
CE070EA20B89039700733CC8 /*
NSScrollView_SKExtensions.m in Sources */,
CEF7117F0B90B58F003A2771 /* SKVersionNumber.m
in Sources */,
CEF711A10B90B714003A2771 /*
NSUserDefaultsController_SKExtensions.m in Sources */,
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit