make defaults more sensible, since otherwise with syntax highlighting where the foreground can't be changed (yet) text was unreadable

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38941 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2015-08-28 21:32:25 +00:00
parent 17c636f2f7
commit 35f05690ed

View file

@ -187,10 +187,10 @@
[editorColumnsField setStringValue:val];
// Colors
currentForegroundColor = [prefs colorForKey:EditorForegroundColor defaultValue:[NSColor whiteColor]];
currentForegroundColor = [prefs colorForKey:EditorForegroundColor defaultValue:[NSColor blackColor]];
[foregroundColorWell setColor:currentForegroundColor];
currentBackgroundColor = [prefs colorForKey:EditorBackgroundColor defaultValue:[NSColor blackColor]];
currentBackgroundColor = [prefs colorForKey:EditorBackgroundColor defaultValue:[NSColor colorWithCalibratedWhite:0.9 alpha:0]];
[backgroundColorWell setColor:currentBackgroundColor];
currentSelectionColor = [prefs colorForKey:EditorSelectionColor defaultValue:[NSColor darkGrayColor]];