Revision: 18343
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18343&view=rev
Author: hofman
Date: 2011-12-29 18:39:04 +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 18:31:49 UTC (rev
18342)
+++ trunk/bibdesk/BDSKTypeSelectHelper.h 2011-12-29 18:39:04 UTC (rev
18343)
@@ -78,9 +78,6 @@
- (BOOL)matchesPrefix;
- (void)setMatchesPrefix:(BOOL)newValue;
-- (NSString *)searchString;
-- (void)setSearchString:(NSString *)newSearchString;
-
- (void)rebuildTypeSelectSearchCache;
- (BOOL)handleEvent:(NSEvent *)keyEvent;
Modified: trunk/bibdesk/BDSKTypeSelectHelper.m
===================================================================
--- trunk/bibdesk/BDSKTypeSelectHelper.m 2011-12-29 18:31:49 UTC (rev
18342)
+++ trunk/bibdesk/BDSKTypeSelectHelper.m 2011-12-29 18:39:04 UTC (rev
18343)
@@ -127,19 +127,6 @@
matchPrefix = newValue;
}
-- (NSString *)searchString;
-{
- return searchString;
-}
-
-- (void)setSearchString:(NSString *)newSearchString;
-{
- if (searchString != newSearchString) {
- [searchString release];
- searchString = [newSearchString retain];
- }
-}
-
#pragma mark API
- (void)rebuildTypeSelectSearchCache;
@@ -179,7 +166,8 @@
// Append the new character to the search string
[fieldEditor interpretKeyEvents:[NSArray arrayWithObject:keyEvent]];
- [self setSearchString:[fieldEditor string]];
+ [searchString release];
+ searchString = [[fieldEditor string] retain];
if ([delegate
respondsToSelector:@selector(typeSelectHelper:updateSearchString:)])
[delegate typeSelectHelper:self updateSearchString:searchString];
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