Revision: 24139
http://sourceforge.net/p/bibdesk/svn/24139
Author: hofman
Date: 2019-08-16 13:18:15 +0000 (Fri, 16 Aug 2019)
Log Message:
-----------
use yellow for search string highlight in preview
Modified Paths:
--------------
trunk/bibdesk/NSTextView_BDSKExtensions.m
Modified: trunk/bibdesk/NSTextView_BDSKExtensions.m
===================================================================
--- trunk/bibdesk/NSTextView_BDSKExtensions.m 2019-08-16 13:16:22 UTC (rev
24138)
+++ trunk/bibdesk/NSTextView_BDSKExtensions.m 2019-08-16 13:18:15 UTC (rev
24139)
@@ -36,6 +36,7 @@
#import "NSTextView_BDSKExtensions.h"
#import "BDSKStringConstants.h"
+#import "NSColor_BDSKExtensions.h"
@implementation NSTextView (BDSKExtensions)
@@ -131,7 +132,7 @@
NSUInteger length = [string length];
// Mail.app appears to use a light gray highlight, which is rather ugly,
but we don't want to use the selected text highlight
- NSDictionary *highlightAttributes = [NSDictionary
dictionaryWithObjectsAndKeys:[NSColor lightGrayColor],
NSBackgroundColorAttributeName, nil];
+ NSDictionary *highlightAttributes = [NSDictionary
dictionaryWithObjectsAndKeys:[NSColor systemYellowColor],
NSBackgroundColorAttributeName, nil];
// use the layout manager to add temporary attributes; the advantage for
our purpose is that temporary attributes don't print
NSLayoutManager *layoutManager = [self layoutManager];
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