The R Project SVN R-packages

Rev

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

Rev 6093 Rev 6128
Line 38... Line 38...
38
#import "PreferenceKeys.h"
38
#import "PreferenceKeys.h"
39
#import "RegexKitLite.h"
39
#import "RegexKitLite.h"
40
#import "NoodleLineNumberView.h"
40
#import "NoodleLineNumberView.h"
41
#import "REditorToolbar.h"
41
#import "REditorToolbar.h"
42
#import "RdEditorToolbar.h"
42
#import "RdEditorToolbar.h"
-
 
43
#import "RScriptEditorTextStorage.h"
-
 
44
 
43
 
45
 
44
#define R_TEXT_SIZE_TRIGGER_FOR_PARSING_PARTLY 10000
46
#define R_TEXT_SIZE_TRIGGER_FOR_PARSING_PARTLY 10000
45
 
47
 
46
@interface RScriptEditorTextView : RTextView <PreferencesDependent, NSTextStorageDelegate>
48
@interface RScriptEditorTextView : RTextView <PreferencesDependent, NSTextStorageDelegate>
47
{
49
{
Line 67... Line 69...
67
	NSColor *shColorCursor;
69
	NSColor *shColorCursor;
68
	NSColor *shColorBackground;
70
	NSColor *shColorBackground;
69
	NSColor *shColorCurrentLine;
71
	NSColor *shColorCurrentLine;
70
 
72
 
71
	id editorToolbar;
73
	id editorToolbar;
72
	NoodleLineNumberView *theRulerView;
-
 
73
 
74
 
74
	BOOL lineNumberingEnabled;
75
	BOOL lineNumberingEnabled;
75
	BOOL syntaxHighlightingEnabled;
76
	BOOL syntaxHighlightingEnabled;
76
	BOOL argsHints;
77
	BOOL argsHints;
77
	BOOL lineWrappingEnabled;
78
	BOOL lineWrappingEnabled;
Line 80... Line 81...
80
	BOOL isSyntaxHighlighting;
81
	BOOL isSyntaxHighlighting;
81
 
82
 
82
	int currentHighlight;
83
	int currentHighlight;
83
	double braceHighlightInterval; // interval to flash brace highlighting for
84
	double braceHighlightInterval; // interval to flash brace highlighting for
84
 
85
 
-
 
86
	// RScriptEditorTextStorage *theTextStorage;
85
	NSTextStorage *theTextStorage;
87
	NSTextStorage *theTextStorage;
86
 
88
 
87
	NSDictionary *highlightColorAttr;
89
	NSDictionary *highlightColorAttr;
88
 
90
 
89
}
91
}
90
 
92
 
-
 
93
- (IBAction)foldSelectedLines:(id)sender;
-
 
94
 
91
- (void)setTabStops;
95
- (void)setTabStops;
92
 
96
 
93
- (void)setDeleteBackward:(BOOL)delBack;
97
- (void)setDeleteBackward:(BOOL)delBack;
94
- (void)doSyntaxHighlighting;
98
- (void)doSyntaxHighlighting;
95
- (void)highlightCharacter:(NSNumber*)loc;
99
- (void)highlightCharacter:(NSNumber*)loc;
96
- (void)resetHighlights;
100
- (void)resetHighlights;
97
- (void)resetBackgroundColor:(id)sender;
101
- (void)resetBackgroundColor:(id)sender;
98
- (void)updateLineWrappingMode;
102
- (void)updateLineWrappingMode;
99
- (BOOL)lineNumberingEnabled;
103
- (BOOL)lineNumberingEnabled;
100
 
104
 
-
 
105
- (BOOL)unfoldLinesContainingCharacterAtIndex:(NSUInteger)charIndex;
-
 
106
 
101
- (void)updatePreferences;
107
- (void)updatePreferences;
102
 
108
 
103
@end
109
@end