The R Project SVN R-packages

Rev

Rev 1459 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1459 Rev 4638
Line 40... Line 40...
40
	NSLog(@"RConsoleControlelr created");
40
	NSLog(@"RConsoleControlelr created");
41
	self = [super init];
41
	self = [super init];
42
	if (self) {
42
	if (self) {
43
		consoleColorsKeys = [[NSArray alloc] initWithObjects:
43
		consoleColorsKeys = [[NSArray alloc] initWithObjects:
44
			backgColorKey, inputColorKey, outputColorKey, promptColorKey,
44
			backgColorKey, inputColorKey, outputColorKey, promptColorKey,
45
			stderrColorKey, stdoutColorKey, rootColorKey];
45
			stderrColorKey, stdoutColorKey, rootColorKey, nil];
46
		defaultConsoleColors = [[NSArray alloc] initWithObjects: // default colors
46
		defaultConsoleColors = [[NSArray alloc] initWithObjects: // default colors
47
			[NSColor whiteColor], [NSColor blueColor], [NSColor blackColor], [NSColor purpleColor],
47
			[NSColor whiteColor], [NSColor blueColor], [NSColor blackColor], [NSColor purpleColor],
48
			[NSColor redColor], [NSColor grayColor], [NSColor purpleColor]];
48
			[NSColor redColor], [NSColor grayColor], [NSColor purpleColor], nil];
49
		consoleColors = [defaultConsoleColors mutableCopy];		
49
		consoleColors = [defaultConsoleColors mutableCopy];		
50
	}
50
	}
51
	return self;
51
	return self;
52
}
52
}
53
 
53