-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSwift_Dracula_New.xml
More file actions
120 lines (109 loc) · 6.78 KB
/
Swift_Dracula_New.xml
File metadata and controls
120 lines (109 loc) · 6.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<NotepadPlus>
<UserLang name="Swift_Darcula" ext="swift" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<TreatAsSymbol comment="yes" commentLine="yes" />
<!-- no prefix matching – exact words only -->
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" />
</Settings>
<KeywordLists>
<!-- line + block comments -->
<Keywords name="Comments">00// 01/* 02*/</Keywords>
<!-- CORE SWIFT KEYWORDS -->
<Keywords name="Keywords1">
class struct enum protocol extension actor
func init deinit subscript
if else guard let var in as is
while for repeat do switch case default where
break continue fallthrough
return throw throws rethrows try catch
import
public internal private fileprivate open
static mutating nonmutating override final convenience required
associatedtype typealias
true false nil
async await
</Keywords>
<!-- ATTRIBUTES / COMPILER DIRECTIVES -->
<Keywords name="Keywords2">
@escaping @autoclosure @discardableResult
@objc @objcMembers @IBAction @IBOutlet
@MainActor @Sendable
@State @Binding @ObservedObject @StateObject @EnvironmentObject @Environment @Published
#available #if #else #elseif #endif #selector #warning #error
</Keywords>
<!-- TYPES (Swift + UIKit + SwiftUI) -->
<Keywords name="Keywords3">
Void Never Any AnyObject
Bool Int Int8 Int16 Int32 Int64
UInt UInt8 UInt16 UInt32 UInt64
Float Double CGFloat Decimal
String Character
Array Dictionary Set Optional
Date Data URL Error
UIColor UIFont UIImage UIView UIViewController
Color View Text Image Button
VStack HStack ZStack List ForEach
NavigationView NavigationStack NavigationLink
ScrollView LazyVStack LazyHStack
</Keywords>
<!-- spare group (you can extend later if you want) -->
<Keywords name="Keywords4"></Keywords>
<!-- STRINGS: 00=open " 01=close " 02=escape \ -->
<Keywords name="Delimiters">00" 01" 02\\</Keywords>
<!-- numbers lists (unused but kept for completeness) -->
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
<Keywords name="Numbers, extras2"></Keywords>
<Keywords name="Numbers, suffix1"></Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
<!-- OPERATORS (incl. -> and ??) -->
<Keywords name="Operators1">
+ - * / % = == === != !== < <= >= >
&& || ?? ? ! ... ~= ->
</Keywords>
<Keywords name="Operators2"></Keywords>
<!-- folders not used -->
<Keywords name="Folders in code1, open"></Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close"></Keywords>
<Keywords name="Folders in code2, open"></Keywords>
<Keywords name="Folders in code2, middle"></Keywords>
<Keywords name="Folders in code2, close"></Keywords>
<Keywords name="Folders in comment, open"></Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close"></Keywords>
</KeywordLists>
<Styles>
<!-- base text -->
<WordsStyle name="DEFAULT" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<!-- comments -->
<WordsStyle name="COMMENTS" fgColor="808080" bgColor="2B2B2B" fontName="Consolas" fontStyle="2" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="808080" bgColor="2B2B2B" fontName="Consolas" fontStyle="2" nesting="0" />
<!-- numbers -->
<WordsStyle name="NUMBERS" fgColor="6897BB" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<!-- keywords -->
<WordsStyle name="KEYWORDS1" fgColor="CC7832" bgColor="2B2B2B" fontName="Consolas" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="FF79C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="9876AA" bgColor="2B2B2B" fontName="Consolas" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="1" nesting="0" />
<!-- operators -->
<WordsStyle name="OPERATORS" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<!-- strings = Delimiters1 -->
<WordsStyle name="DELIMITERS1" fgColor="F1FA8C" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<!-- other delimiter groups fall back to default -->
<WordsStyle name="DELIMITERS2" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS3" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS4" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<!-- folders (unused, keep default) -->
<WordsStyle name="FOLDER IN CODE1" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>