Revision: 7300
http://skim-app.svn.sourceforge.net/skim-app/?rev=7300&view=rev
Author: hofman
Date: 2011-06-21 12:56:34 +0000 (Tue, 21 Jun 2011)
Log Message:
-----------
don't show "Not found" message when find string is empty
Modified Paths:
--------------
trunk/SKFindController.m
Modified: trunk/SKFindController.m
===================================================================
--- trunk/SKFindController.m 2011-06-21 12:31:41 UTC (rev 7299)
+++ trunk/SKFindController.m 2011-06-21 12:56:34 UTC (rev 7300)
@@ -207,7 +207,7 @@
- (void)findWithOptions:(NSStringCompareOptions)backForwardOption {
[ownerController commitEditing];
- BOOL found = NO;
+ BOOL found = YES;
if ([findString length]) {
NSInteger findOptions = [[NSUserDefaults standardUserDefaults]
boolForKey:SKCaseInsensitiveFindKey] ? NSCaseInsensitiveSearch : 0;
found = [delegate findString:findString options:findOptions |
backForwardOption];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit