From 68bc7f791adc43728e09ea2c4744c129b96d66af Mon Sep 17 00:00:00 2001 From: Bibiko Date: Mon, 11 Jan 2010 21:21:41 +0000 Subject: =?UTF-8?q?=E2=80=A2=20further=20developments=20for=20the=20F5=20c?= =?UTF-8?q?ompletion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note: not yet finished! --- Source/SPNarrowDownCompletion.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Source/SPNarrowDownCompletion.m') diff --git a/Source/SPNarrowDownCompletion.m b/Source/SPNarrowDownCompletion.m index 0724d722..f47baeab 100644 --- a/Source/SPNarrowDownCompletion.m +++ b/Source/SPNarrowDownCompletion.m @@ -222,13 +222,13 @@ NSTableColumn *column2 = [[[NSTableColumn alloc] initWithIdentifier:@"type"] autorelease]; [column2 setEditable:NO]; // [[column2 dataCell] setFont:[NSFont systemFontOfSize:11]]; - [[column2 dataCell] setTextColor:[NSColor grayColor]]; + [[column2 dataCell] setTextColor:[NSColor darkGrayColor]]; [theTableView addTableColumn:column2]; [column2 setWidth:120]; NSTableColumn *column3 = [[[NSTableColumn alloc] initWithIdentifier:@"path"] autorelease]; [column3 setEditable:NO]; // [[column3 dataCell] setFont:[NSFont systemFontOfSize:11]]; - [[column3 dataCell] setTextColor:[NSColor grayColor]]; + [[column3 dataCell] setTextColor:[NSColor darkGrayColor]]; [theTableView addTableColumn:column3]; [column3 setWidth:130]; @@ -261,8 +261,10 @@ } else if([[aTableColumn identifier] isEqualToString:@"name"]) { return [[filtered objectAtIndex:rowIndex] objectForKey:@"display"]; } else if([[aTableColumn identifier] isEqualToString:@"type"]) { + [[aTableColumn dataCell] setTextColor:([aTableView selectedRow] == rowIndex)?[NSColor whiteColor]:[NSColor darkGrayColor]]; return ([[filtered objectAtIndex:rowIndex] objectForKey:@"type"])?[[filtered objectAtIndex:rowIndex] objectForKey:@"type"]:@""; } else if ([[aTableColumn identifier] isEqualToString:@"path"]) { + [[aTableColumn dataCell] setTextColor:([aTableView selectedRow] == rowIndex)?[NSColor whiteColor]:[NSColor darkGrayColor]]; return ([[filtered objectAtIndex:rowIndex] objectForKey:@"path"])?[[filtered objectAtIndex:rowIndex] objectForKey:@"path"]:@""; } return [filtered objectAtIndex:rowIndex]; -- cgit v1.2.3