Revision: 4070
http://skim-app.svn.sourceforge.net/skim-app/?rev=4070&view=rev
Author: hofman
Date: 2008-06-25 11:59:18 -0700 (Wed, 25 Jun 2008)
Log Message:
-----------
Fix check for whole words
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2008-06-25 18:44:33 UTC (rev 4069)
+++ trunk/SKMainWindowController.m 2008-06-25 18:59:18 UTC (rev 4070)
@@ -2963,15 +2963,13 @@
unsigned int l = [string length];
[copy extendSelectionAtEnd:1];
string = [copy string];
- if ([string length] > l && [[NSCharacterSet letterCharacterSet]
characterIsMember:[string characterAtIndex:0]]) {
+ if ([string length] > l && [[NSCharacterSet letterCharacterSet]
characterIsMember:[string characterAtIndex:l]])
return;
- }
l = [string length];
[copy extendSelectionAtStart:1];
string = [copy string];
- if ([string length] > l && [[NSCharacterSet letterCharacterSet]
characterIsMember:[string characterAtIndex:l]]) {
+ if ([string length] > l && [[NSCharacterSet letterCharacterSet]
characterIsMember:[string characterAtIndex:0]])
return;
- }
}
[searchResults addObject:instance];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit