aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNarrowDownCompletion.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-01-11 21:21:41 +0000
committerBibiko <bibiko@eva.mpg.de>2010-01-11 21:21:41 +0000
commit68bc7f791adc43728e09ea2c4744c129b96d66af (patch)
tree5298dfd03183ab95c68bcfa5e0283f52b313f152 /Source/SPNarrowDownCompletion.m
parent3381e9f906edc5c1bfd6ed14fba8f9aa689848b7 (diff)
downloadsequelpro-68bc7f791adc43728e09ea2c4744c129b96d66af.tar.gz
sequelpro-68bc7f791adc43728e09ea2c4744c129b96d66af.tar.bz2
sequelpro-68bc7f791adc43728e09ea2c4744c129b96d66af.zip
• further developments for the F5 completion
Note: not yet finished!
Diffstat (limited to 'Source/SPNarrowDownCompletion.m')
-rw-r--r--Source/SPNarrowDownCompletion.m6
1 files changed, 4 insertions, 2 deletions
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];