mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-11 08:21:00 +00:00
actually store the preference color in textColor ivar
This commit is contained in:
parent
bedce090f9
commit
bae62a963b
1 changed files with 3 additions and 1 deletions
|
@ -319,9 +319,11 @@
|
|||
textBackground = readOnlyColor;
|
||||
}
|
||||
|
||||
textColor = [prefs colorForKey:EditorForegroundColor defaultValue:textColor];
|
||||
|
||||
[attributes setObject:font forKey:NSFontAttributeName];
|
||||
[attributes setObject:textBackground forKey:NSBackgroundColorAttributeName];
|
||||
[attributes setObject:[prefs colorForKey:EditorForegroundColor defaultValue:textColor] forKey:NSForegroundColorAttributeName];
|
||||
[attributes setObject:textColor forKey:NSForegroundColorAttributeName];
|
||||
[attributes setObject:[NSNumber numberWithInt: 0] // disable ligatures
|
||||
forKey:NSLigatureAttributeName];
|
||||
|
||||
|
|
Loading…
Reference in a new issue