Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 84 lines (70 sloc) 2.714 kb
cd0fea7f »
2010-06-02 add project files
1 /*
2 * MGSFragaria.h
3 * Fragaria
4 *
5 * Created by Jonathan on 30/04/2010.
6 * Copyright 2010 mugginsoft.com. All rights reserved.
7 *
8 */
9
10 // valid keys for
11 // - (void)setObject:(id)object forKey:(id)key;
12 // - (id)objectForKey:(id)key;
13
14 // BOOL
15 extern NSString * const MGSFOIsSyntaxColoured;
16 extern NSString * const MGSFOShowLineNumberGutter;
17 extern NSString * const MGSFOIsEdited;
18
19 // string
20 extern NSString * const MGSFOSyntaxDefinitionName;
21 extern NSString * const MGSFODocumentName;
22
23 // integer
24 extern NSString * const MGSFOGutterWidth;
25
26 // NSView *
27 extern NSString * const ro_MGSFOTextView; // readonly
28 extern NSString * const ro_MGSFOScrollView; // readonly
29 extern NSString * const ro_MGSFOGutterScrollView; // readonly
30
31 // NSObject
32 extern NSString * const MGSFODelegate;
33 extern NSString * const ro_MGSFOLineNumbers; // readonly
34 extern NSString * const ro_MGSFOSyntaxColouring; // readonly
35
50bffa03 »
2010-11-23 Edit menu enhanced. Functions include selection shift left+right, got…
36 @class MGSTextMenuController;
37 @class MGSExtraInterfaceController;
38
cd0fea7f »
2010-06-02 add project files
39 #import "MGSFragariaPreferences.h"
40
41 @interface MGSFragaria : NSObject
42 {
43 @private
44 id _docSpec;
50bffa03 »
2010-11-23 Edit menu enhanced. Functions include selection shift left+right, got…
45 MGSExtraInterfaceController *extraInterfaceController;
cd0fea7f »
2010-06-02 add project files
46 }
47
690c1cdd »
2011-07-30 Fixed static anlyser warnings with regard to RC memory management.
48 @property (nonatomic, readonly, assign) MGSExtraInterfaceController *extraInterfaceController;
50bffa03 »
2010-11-23 Edit menu enhanced. Functions include selection shift left+right, got…
49
50 + (id)currentInstance;
51 + (void)setCurrentInstance:(MGSFragaria *)anInstance;
52
cd0fea7f »
2010-06-02 add project files
53 + (void)initializeFramework;
54 + (id)createDocSpec;
55 + (void)docSpec:(id)docSpec setString:(NSString *)string;
6578dc75 »
2011-01-24 Added setString:options: to support passing of additional parameters.
56 + (void)docSpec:(id)docSpec setString:(NSString *)string options:(NSDictionary *)options;
f045d61f »
2012-09-13 Added additional attributed string methods
57 + (void)docSpec:(id)docSpec setAttributedString:(NSAttributedString *)string;
b3fd0f1a »
2012-09-13 Added SetAttributedString method
58 + (void)docSpec:(id)docSpec setAttributedString:(NSAttributedString *)string options:(NSDictionary *)options;
f045d61f »
2012-09-13 Added additional attributed string methods
59
cd0fea7f »
2010-06-02 add project files
60 + (NSString *)stringForDocSpec:(id)docSpec;
61 + (NSAttributedString *)attributedStringForDocSpec:(id)docSpec;
b1203c58 »
2011-01-28 Added a NSLayoutManager based method that allows the colour highlight…
62 + (NSAttributedString *)attributedStringWithTemporaryAttributesAppliedForDocSpec:(id)docSpec;
cd0fea7f »
2010-06-02 add project files
63 + (NSString *)stringForDocSpec:(id)docSpec;
64
65 - (id)initWithObject:(id)object;
66 - (void)setObject:(id)object forKey:(id)key;
67 - (id)objectForKey:(id)key;
68 - (void)embedInView:(NSView *)view;
69 - (void)setString:(NSString *)aString;
6578dc75 »
2011-01-24 Added setString:options: to support passing of additional parameters.
70 - (void)setString:(NSString *)aString options:(NSDictionary *)options;
f045d61f »
2012-09-13 Added additional attributed string methods
71 - (void)setAttributedString:(NSAttributedString *)aString;
72 - (void)setAttributedString:(NSAttributedString *)aString options:(NSDictionary *)options;
cd0fea7f »
2010-06-02 add project files
73 - (NSAttributedString *)attributedString;
b1203c58 »
2011-01-28 Added a NSLayoutManager based method that allows the colour highlight…
74 - (NSAttributedString *)attributedStringWithTemporaryAttributesApplied;
cd0fea7f »
2010-06-02 add project files
75 - (NSString *)string;
50bffa03 »
2010-11-23 Edit menu enhanced. Functions include selection shift left+right, got…
76 - (id)docSpec;
77 - (NSTextView *)textView;
78 - (MGSTextMenuController *)textMenuController;
f0f8a494 »
2012-09-12 Added syntax colouring toggle method.
79 - (void)setSyntaxColoured:(BOOL)value;
80 - (BOOL)isSyntaxColoured;
84c4749c »
2012-09-21 Added preference controller and views.
81 - (void)setShowsLineNumbers:(BOOL)value;
82 - (BOOL)showsLineNumbers;
f0f8a494 »
2012-09-12 Added syntax colouring toggle method.
83 - (void)reloadString;
cd0fea7f »
2010-06-02 add project files
84 @end
Something went wrong with that request. Please try again.