| Line 205... |
Line 205... |
| 205 |
c=[Preferences unarchivedObjectForKey:identifierSyntaxColorKey withDefault:nil];
|
205 |
c=[Preferences unarchivedObjectForKey:identifierSyntaxColorKey withDefault:nil];
|
| 206 |
if (c) shColorIdentifier = c;
|
206 |
if (c) shColorIdentifier = c;
|
| 207 |
else shColorIdentifier=[NSColor colorWithDeviceRed:0.0 green:0.0 blue:0.0 alpha:1.0];
|
207 |
else shColorIdentifier=[NSColor colorWithDeviceRed:0.0 green:0.0 blue:0.0 alpha:1.0];
|
| 208 |
[shColorIdentifier retain];
|
208 |
[shColorIdentifier retain];
|
| 209 |
|
209 |
|
| 210 |
c=[Preferences unarchivedObjectForKey:identifierSyntaxColorKey withDefault:nil];
|
- |
|
| 211 |
if (c) shColorIdentifier = c;
|
- |
|
| 212 |
else shColorIdentifier=[NSColor colorWithDeviceRed:0.0 green:0.0 blue:0.0 alpha:1.0];
|
- |
|
| 213 |
[shColorIdentifier retain];
|
- |
|
| 214 |
|
- |
|
| 215 |
c=[Preferences unarchivedObjectForKey:editorSelectionBackgroundColorKey withDefault:nil];
|
210 |
c=[Preferences unarchivedObjectForKey:editorSelectionBackgroundColorKey withDefault:nil];
|
| 216 |
if (!c) c=[NSColor colorWithDeviceRed:0.71f green:0.835f blue:1.0f alpha:1.0f];
|
211 |
if (!c) c=[NSColor colorWithDeviceRed:0.71f green:0.835f blue:1.0f alpha:1.0f];
|
| 217 |
NSMutableDictionary *attr = [NSMutableDictionary dictionary];
|
212 |
NSMutableDictionary *attr = [NSMutableDictionary dictionary];
|
| 218 |
[attr setDictionary:[self selectedTextAttributes]];
|
213 |
[attr setDictionary:[self selectedTextAttributes]];
|
| 219 |
[attr setObject:c forKey:NSBackgroundColorAttributeName];
|
214 |
[attr setObject:c forKey:NSBackgroundColorAttributeName];
|