Revision: 7209
http://skim-app.svn.sourceforge.net/skim-app/?rev=7209&view=rev
Author: hofman
Date: 2011-04-13 11:55:45 +0000 (Wed, 13 Apr 2011)
Log Message:
-----------
don't clean search string twice
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2011-04-08 16:51:52 UTC (rev 7208)
+++ trunk/SKMainWindowController.m 2011-04-13 11:55:45 UTC (rev 7209)
@@ -1704,13 +1704,6 @@
- (void)displaySearchResultsForString:(NSString *)string {
if ([self leftSidePaneIsOpen] == NO)
[self toggleLeftSidePane:nil];
- // strip extra search criteria, such as kind:pdf
- NSRange range = [string rangeOfString:@":"];
- if (range.location != NSNotFound) {
- range = [string rangeOfCharacterFromSet:[NSCharacterSet
whitespaceCharacterSet] options:NSBackwardsSearch range:NSMakeRange(0,
range.location)];
- if (range.location != NSNotFound && range.location > 0)
- string = [string substringWithRange:NSMakeRange(0,
range.location)];
- }
[leftSideController.searchField setStringValue:string];
[self performSelector:@selector(search:)
withObject:leftSideController.searchField afterDelay:0.0];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now! http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit