The R Project SVN R-packages

Rev

Rev 5973 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5973 Rev 6063
Line 27... Line 27...
27
	
27
	
28
	editorPrefPane = [[[EditorPrefPane alloc] initWithIdentifier:@"Editor" label:NLSC(@"PrefP-Editor",@"Editor preference pane") category:NLSC(@"PrefG-Editor",@"Editor preference group")] autorelease];
28
	editorPrefPane = [[[EditorPrefPane alloc] initWithIdentifier:@"Editor" label:NLSC(@"PrefP-Editor",@"Editor preference pane") category:NLSC(@"PrefG-Editor",@"Editor preference group")] autorelease];
29
	[self addPane:editorPrefPane withIdentifier:[editorPrefPane identifier]];
29
	[self addPane:editorPrefPane withIdentifier:[editorPrefPane identifier]];
30
 
30
 
31
	[[NSUserDefaults standardUserDefaults] addObserver:self forKeyPath:RScriptEditorDefaultFont options:NSKeyValueObservingOptionNew context:NULL];
31
	[[NSUserDefaults standardUserDefaults] addObserver:self forKeyPath:RScriptEditorDefaultFont options:NSKeyValueObservingOptionNew context:NULL];
-
 
32
	[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationWillTerminate:) name:NSApplicationWillTerminateNotification object:NSApp];
32
 
33
 
33
	// set up some configuration options
34
	// set up some configuration options
34
	[self setUsesConfigurationPane:YES];
35
	[self setUsesConfigurationPane:YES];
35
	[self setSortByCategory:YES];
36
	[self setSortByCategory:YES];
36
	// select prefs pane for display
37
	// select prefs pane for display