Revision: 7612
http://skim-app.svn.sourceforge.net/skim-app/?rev=7612&view=rev
Author: hofman
Date: 2011-12-29 18:29:43 +0000 (Thu, 29 Dec 2011)
Log Message:
-----------
keep ivar value private, remove unused accessor
Modified Paths:
--------------
trunk/SKTypeSelectHelper.h
trunk/SKTypeSelectHelper.m
Modified: trunk/SKTypeSelectHelper.h
===================================================================
--- trunk/SKTypeSelectHelper.h 2011-12-29 12:20:27 UTC (rev 7611)
+++ trunk/SKTypeSelectHelper.h 2011-12-29 18:29:43 UTC (rev 7612)
@@ -60,7 +60,6 @@
@property (nonatomic, assign) id <SKTypeSelectDelegate> delegate;
@property (nonatomic) SKTypeSelectMatchOption matchOption;
@property (nonatomic, retain) NSString *searchString;
-@property (nonatomic, readonly) BOOL isProcessing;
+ (id)typeSelectHelper;
+ (id)typeSelectHelperWithMatchOption:(SKTypeSelectMatchOption)aMatchOption;
Modified: trunk/SKTypeSelectHelper.m
===================================================================
--- trunk/SKTypeSelectHelper.m 2011-12-29 12:20:27 UTC (rev 7611)
+++ trunk/SKTypeSelectHelper.m 2011-12-29 18:29:43 UTC (rev 7612)
@@ -71,7 +71,7 @@
@implementation SKTypeSelectHelper
-@synthesize delegate, searchString, matchOption, isProcessing;
+@synthesize delegate, searchString, matchOption;
static NSCharacterSet *nonAlphanumericCharacterSet = nil;
@@ -195,7 +195,7 @@
if ([keyEvent deviceIndependentModifierFlags] & ~NSShiftKeyMask &
~NSAlternateKeyMask & ~NSAlphaShiftKeyMask & ~NSNumericPadKeyMask)
return NO;
- NSCharacterSet *invalidCharacters = [self isProcessing] ? [NSCharacterSet
controlCharacterSet] : nonAlphanumericCharacterSet;
+ NSCharacterSet *invalidCharacters = isProcessing ? [NSCharacterSet
controlCharacterSet] : nonAlphanumericCharacterSet;
return [[keyEvent characters]
rangeOfCharacterFromSet:invalidCharacters].location == NSNotFound;
}
@@ -205,7 +205,7 @@
}
- (BOOL)isCancelEvent:(NSEvent *)keyEvent {
- return [self isProcessing] == NO && [keyEvent
deviceIndependentModifierFlags] == 0 && [keyEvent firstCharacter] ==
CANCEL_CHARACTER;
+ return isProcessing == NO && [keyEvent deviceIndependentModifierFlags] ==
0 && [keyEvent firstCharacter] == CANCEL_CHARACTER;
}
// See
http://www.mactech.com/articles/mactech/Vol.18/18.10/1810TableTechniques/index.html
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
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit