Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 98 lines (82 sloc) 4.295 kB
cd0fea7 @mugginsoft add project files
authored
1 /*
2 * MGSFragariaPreferences.h
3 * Fragaria
4 *
5 * Created by Jonathan on 06/05/2010.
6 * Copyright 2010 mugginsoft.com. All rights reserved.
7 *
8 */
9
10 // Fragraria preference keys by type
11
12 // color data
13 // [NSArchiver archivedDataWithRootObject:[NSColor whiteColor]]
89fb7fa @mugginsoft Prefixed all preference keys with Fragaria to prevent namespace colli…
authored
14 extern NSString * const MGSFragariaPrefsCommandsColourWell;
15 extern NSString * const MGSFragariaPrefsCommentsColourWell;
16 extern NSString * const MGSFragariaPrefsInstructionsColourWell;
17 extern NSString * const MGSFragariaPrefsKeywordsColourWell;
18 extern NSString * const MGSFragariaPrefsAutocompleteColourWell;
19 extern NSString * const MGSFragariaPrefsVariablesColourWell;
20 extern NSString * const MGSFragariaPrefsStringsColourWell;
21 extern NSString * const MGSFragariaPrefsAttributesColourWell;
22 extern NSString * const MGSFragariaPrefsBackgroundColourWell;
23 extern NSString * const MGSFragariaPrefsTextColourWell;
24 extern NSString * const MGSFragariaPrefsGutterTextColourWell;
25 extern NSString * const MGSFragariaPrefsInvisibleCharactersColourWell;
26 extern NSString * const MGSFragariaPrefsHighlightLineColourWell;
cd0fea7 @mugginsoft add project files
authored
27
28 // bool
89fb7fa @mugginsoft Prefixed all preference keys with Fragaria to prevent namespace colli…
authored
29 extern NSString * const MGSFragariaPrefsColourCommands;
30 extern NSString * const MGSFragariaPrefsColourComments;
31 extern NSString * const MGSFragariaPrefsColourInstructions;
32 extern NSString * const MGSFragariaPrefsColourKeywords;
33 extern NSString * const MGSFragariaPrefsColourAutocomplete;
34 extern NSString * const MGSFragariaPrefsColourVariables;
35 extern NSString * const MGSFragariaPrefsColourStrings;
36 extern NSString * const MGSFragariaPrefsColourAttributes;
37 extern NSString * const MGSFragariaPrefsShowFullPathInWindowTitle;
38 extern NSString * const MGSFragariaPrefsShowLineNumberGutter;
39 extern NSString * const MGSFragariaPrefsSyntaxColourNewDocuments;
40 extern NSString * const MGSFragariaPrefsLineWrapNewDocuments;
41 extern NSString * const MGSFragariaPrefsIndentNewLinesAutomatically;
42 extern NSString * const MGSFragariaPrefsOnlyColourTillTheEndOfLine;
43 extern NSString * const MGSFragariaPrefsShowMatchingBraces;
44 extern NSString * const MGSFragariaPrefsShowInvisibleCharacters;
45 extern NSString * const MGSFragariaPrefsIndentWithSpaces;
46 extern NSString * const MGSFragariaPrefsColourMultiLineStrings;
47 extern NSString * const MGSFragariaPrefsAutocompleteSuggestAutomatically;
48 extern NSString * const MGSFragariaPrefsAutocompleteIncludeStandardWords;
49 extern NSString * const MGSFragariaPrefsAutoSpellCheck;
50 extern NSString * const MGSFragariaPrefsAutoGrammarCheck;
51 extern NSString * const MGSFragariaPrefsSmartInsertDelete;
52 extern NSString * const MGSFragariaPrefsAutomaticLinkDetection;
53 extern NSString * const MGSFragariaPrefsAutomaticQuoteSubstitution;
54 extern NSString * const MGSFragariaPrefsUseTabStops;
55 extern NSString * const MGSFragariaPrefsHighlightCurrentLine;
56 extern NSString * const MGSFragariaPrefsAutomaticallyIndentBraces;
57 extern NSString * const MGSFragariaPrefsAutoInsertAClosingParenthesis;
58 extern NSString * const MGSFragariaPrefsAutoInsertAClosingBrace;
84c4749 @mugginsoft Added preference controller and views.
authored
59 extern NSString * const MGSFragariaPrefsShowPageGuide;
cd0fea7 @mugginsoft add project files
authored
60
61 // integer
89fb7fa @mugginsoft Prefixed all preference keys with Fragaria to prevent namespace colli…
authored
62 extern NSString * const MGSFragariaPrefsGutterWidth;
63 extern NSString * const MGSFragariaPrefsTabWidth;
64 extern NSString * const MGSFragariaPrefsIndentWidth;
65 extern NSString * const MGSFragariaPrefsShowPageGuideAtColumn;
66 extern NSString * const MGSFragariaPrefsSpacesPerTabEntabDetab;
cd0fea7 @mugginsoft add project files
authored
67
68 // float
89fb7fa @mugginsoft Prefixed all preference keys with Fragaria to prevent namespace colli…
authored
69 extern NSString * const MGSFragariaPrefsAutocompleteAfterDelay;
cd0fea7 @mugginsoft add project files
authored
70
71 // font data
72 // [NSArchiver archivedDataWithRootObject:[NSFont fontWithName:@"Menlo" size:11]]
89fb7fa @mugginsoft Prefixed all preference keys with Fragaria to prevent namespace colli…
authored
73 extern NSString * const MGSFragariaPrefsTextFont;
cd0fea7 @mugginsoft add project files
authored
74
75 // string
89fb7fa @mugginsoft Prefixed all preference keys with Fragaria to prevent namespace colli…
authored
76 extern NSString * const MGSFragariaPrefsSyntaxColouringPopUpString;
cd0fea7 @mugginsoft add project files
authored
77
84c4749 @mugginsoft Added preference controller and views.
authored
78 #import "MGSFragariaFontsAndColoursPrefsViewController.h"
79 #import "MGSFragariaTextEditingPrefsViewController.h"
80
81 @interface MGSFragariaPreferences : NSObject {
82
83 MGSFragariaFontsAndColoursPrefsViewController *fontsAndColoursPrefsViewController;
84 MGSFragariaTextEditingPrefsViewController *textEditingPrefsViewController;
85 }
86 + (void)initializeValues;
87 + (MGSFragariaPreferences *)sharedInstance;
88 - (void)changeFont:(id)sender;
89 - (void)revertToStandardSettings:(id)sender;
90
91 @property (readonly) MGSFragariaFontsAndColoursPrefsViewController *fontsAndColoursPrefsViewController;
92 @property (readonly) MGSFragariaTextEditingPrefsViewController *textEditingPrefsViewController;
93
94 @end
95
96
97
Something went wrong with that request. Please try again.