Revision: 28875
http://sourceforge.net/p/bibdesk/svn/28875
Author: hofman
Date: 2024-04-28 14:42:11 +0000 (Sun, 28 Apr 2024)
Log Message:
-----------
equal length prefix match is full match
Modified Paths:
--------------
trunk/bibdesk/BDSKCompletionManager.m
Modified: trunk/bibdesk/BDSKCompletionManager.m
===================================================================
--- trunk/bibdesk/BDSKCompletionManager.m 2024-04-28 14:33:56 UTC (rev
28874)
+++ trunk/bibdesk/BDSKCompletionManager.m 2024-04-28 14:42:11 UTC (rev
28875)
@@ -254,7 +254,7 @@
NSString *cleanString = [string stringByRemovingCurlyBraces];
if ([cleanString hasCaseInsensitivePrefix:matchString] ||
(isAuthor && [[lastNamesDict objectForKey:string]
hasCaseInsensitivePrefix:matchString])) {
- if (matched == nil && [cleanString
isCaseInsensitiveEqual:matchString])
+ if (matched == nil && [cleanString length] == [matchString length])
matched = string;
[completions addObject:string];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit