Revision: 18342
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18342&view=rev
Author: hofman
Date: 2011-12-29 18:31:49 +0000 (Thu, 29 Dec 2011)
Log Message:
-----------
keep ivar value private, remove unused accessor
Modified Paths:
--------------
trunk/bibdesk/BDSKTypeSelectHelper.h
trunk/bibdesk/BDSKTypeSelectHelper.m
Modified: trunk/bibdesk/BDSKTypeSelectHelper.h
===================================================================
--- trunk/bibdesk/BDSKTypeSelectHelper.h 2011-12-29 11:48:42 UTC (rev
18341)
+++ trunk/bibdesk/BDSKTypeSelectHelper.h 2011-12-29 18:31:49 UTC (rev
18342)
@@ -81,8 +81,6 @@
- (NSString *)searchString;
- (void)setSearchString:(NSString *)newSearchString;
-- (BOOL)isProcessing;
-
- (void)rebuildTypeSelectSearchCache;
- (BOOL)handleEvent:(NSEvent *)keyEvent;
Modified: trunk/bibdesk/BDSKTypeSelectHelper.m
===================================================================
--- trunk/bibdesk/BDSKTypeSelectHelper.m 2011-12-29 11:48:42 UTC (rev
18341)
+++ trunk/bibdesk/BDSKTypeSelectHelper.m 2011-12-29 18:31:49 UTC (rev
18342)
@@ -140,11 +140,6 @@
}
}
-- (BOOL)isProcessing;
-{
- return processing;
-}
-
#pragma mark API
- (void)rebuildTypeSelectSearchCache;
@@ -231,7 +226,7 @@
if (nonAlphanumericCharacterSet == nil)
nonAlphanumericCharacterSet = [[[NSCharacterSet
alphanumericCharacterSet] invertedSet] copy];
- NSCharacterSet *invalidCharacters = [self isProcessing] ? [NSCharacterSet
controlCharacterSet] : nonAlphanumericCharacterSet;
+ NSCharacterSet *invalidCharacters = processing ? [NSCharacterSet
controlCharacterSet] : nonAlphanumericCharacterSet;
return [[keyEvent characters]
rangeOfCharacterFromSet:invalidCharacters].location == NSNotFound;
}
@@ -247,7 +242,7 @@
{
if ([keyEvent type] != NSKeyDown)
return NO;
- if ([self isProcessing] == NO)
+ if (processing == NO)
return NO;
return [keyEvent deviceIndependentModifierFlags] == 0 && [keyEvent
firstCharacter] == CANCEL_CHARACTER;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit