ver 2009.10.14 → 2009.11.28
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1094 -0
- data/MANIFEST +227 -25
- data/README.textile +185 -0
- data/bin/ver +96 -12
- data/config/detect.rb +73 -21
- data/config/keymap/emacs.rb +66 -0
- data/config/keymap/vim.rb +250 -140
- data/config/preferences/ANTLR.json +10 -0
- data/config/preferences/ASP vb.NET.json +3 -0
- data/config/preferences/ASP.json +15 -0
- data/config/preferences/ActionScript.json +755 -0
- data/config/preferences/Active4D.json +89 -0
- data/config/preferences/Ada.json +23 -0
- data/config/preferences/Ant.json +356 -0
- data/config/preferences/Apache.json +644 -0
- data/config/preferences/AppleScript.json +92 -0
- data/config/preferences/Bison.json +3 -0
- data/config/preferences/Blogging.json +3 -0
- data/config/preferences/C.json +127 -0
- data/config/preferences/CMake.json +41 -0
- data/config/preferences/CSS.json +461 -0
- data/config/preferences/CTags.json +3 -0
- data/config/preferences/CVS.json +3 -0
- data/config/preferences/ColdFusion.json +32 -0
- data/config/preferences/D.json +58 -0
- data/config/preferences/Darcs.json +3 -0
- data/config/preferences/Diff.json +67 -0
- data/config/preferences/DokuWiki.json +19 -0
- data/config/preferences/Doxygen.json +3 -0
- data/config/preferences/Dylan.json +3 -0
- data/config/preferences/Eiffel.json +59 -0
- data/config/preferences/Erlang.json +72 -0
- data/config/preferences/Experimental.json +1356 -0
- data/config/preferences/F-Script.json +87 -0
- data/config/preferences/FXScript.json +78 -0
- data/config/preferences/FileMerge.json +3 -0
- data/config/preferences/Fortran.json +158 -0
- data/config/preferences/GTD2.json +11 -0
- data/config/preferences/GTDAlt.json +20 -0
- data/config/preferences/GetBundle.json +3 -0
- data/config/preferences/Gettext.json +24 -0
- data/config/preferences/Graphviz.json +42 -0
- data/config/preferences/Greasemonkey.json +3 -0
- data/config/preferences/Gri.json +34 -0
- data/config/preferences/HTML.json +492 -0
- data/config/preferences/Haskell.json +72 -0
- data/config/preferences/Hotkey.json +3 -0
- data/config/preferences/ImageBrowser.json +3 -0
- data/config/preferences/Inform.json +3 -0
- data/config/preferences/Ini.json +60 -0
- data/config/preferences/Installer.json +3 -0
- data/config/preferences/Io.json +64 -0
- data/config/preferences/JSON.json +3 -0
- data/config/preferences/Java.json +86 -0
- data/config/preferences/JavaDoc.json +3 -0
- data/config/preferences/JavaScript.json +76 -0
- data/config/preferences/LaTeX.json +267 -0
- data/config/preferences/Lex/Flex.json +3 -0
- data/config/preferences/Lighttpd.json +3 -0
- data/config/preferences/LilyPond.json +77 -0
- data/config/preferences/Lisp.json +63 -0
- data/config/preferences/Logo.json +58 -0
- data/config/preferences/Logtalk.json +236 -0
- data/config/preferences/Lua.json +24 -0
- data/config/preferences/MEL.json +19 -0
- data/config/preferences/MIPS Assembler.json +26 -0
- data/config/preferences/MacPorts.json +3 -0
- data/config/preferences/Mail.json +3 -0
- data/config/preferences/Make.json +16 -0
- data/config/preferences/Markdown.json +102 -0
- data/config/preferences/Math.json +3 -0
- data/config/preferences/Matlab.json +128 -0
- data/config/preferences/Maven.json +308 -0
- data/config/preferences/Mediawiki.json +73 -0
- data/config/preferences/Mercurial.json +3 -0
- data/config/preferences/Modula.json +37 -0
- data/config/preferences/MoinMoin.json +52 -0
- data/config/preferences/Navigation.json +3 -0
- data/config/preferences/Nemerle.json +3 -0
- data/config/preferences/OCaml Code Completion.json +3 -0
- data/config/preferences/OCaml.json +163 -0
- data/config/preferences/ODCompletion.json +3 -0
- data/config/preferences/Objective-C.json +84 -0
- data/config/preferences/OpenGL.json +3331 -0
- data/config/preferences/Outlines.json +3 -0
- data/config/preferences/Pascal.json +60 -0
- data/config/preferences/Perforce.json +3 -0
- data/config/preferences/Perl.json +15 -0
- data/config/preferences/PmWiki.json +27 -0
- data/config/preferences/Postscript.json +15 -0
- data/config/preferences/Processing.json +32 -0
- data/config/preferences/Prolog.json +3 -0
- data/config/preferences/Propel.json +3 -0
- data/config/preferences/Python.json +38 -0
- data/config/preferences/Quake.json +15 -0
- data/config/preferences/R.json +33 -0
- data/config/preferences/Ragel.json +15 -0
- data/config/preferences/Regular Expressions.json +3 -0
- data/config/preferences/Remind.json +15 -0
- data/config/preferences/Rez.json +46 -0
- data/config/preferences/Ruby.json +98 -0
- data/config/preferences/S5 Slide Show.json +20 -0
- data/config/preferences/SCons.json +3 -0
- data/config/preferences/SQL.json +32 -0
- data/config/preferences/SSH Config.json +15 -0
- data/config/preferences/SVK.json +3 -0
- data/config/preferences/SWIG.json +3 -0
- data/config/preferences/SWeave.json +32 -0
- data/config/preferences/Scheme.json +35 -0
- data/config/preferences/Scilab.json +15 -0
- data/config/preferences/Setext.json +3 -0
- data/config/preferences/Shell Script.json +25 -0
- data/config/preferences/Slate.json +113 -0
- data/config/preferences/Source.json +132 -0
- data/config/preferences/Subversion.json +10 -0
- data/config/preferences/TODO.json +3 -0
- data/config/preferences/Tabular.json +3 -0
- data/config/preferences/Tcl.json +82 -0
- data/config/preferences/TerminalMate.json +112 -0
- data/config/preferences/Text.json +89 -0
- data/config/preferences/TextMate.json +38 -0
- data/config/preferences/Textile.json +76 -0
- data/config/preferences/Thrift.json +56 -0
- data/config/preferences/Transmit.json +3 -0
- data/config/preferences/Twiki.json +51 -0
- data/config/preferences/Txt2tags.json +81 -0
- data/config/preferences/Vectorscript.json +1280 -0
- data/config/preferences/XML.json +60 -0
- data/config/preferences/Xcode.json +3 -0
- data/config/preferences/YAML.json +24 -0
- data/config/preferences/iCalendar.json +10 -0
- data/config/preferences/iTerm.json +36 -0
- data/config/preferences/reStructuredText.json +48 -0
- data/config/rc.rb +49 -0
- data/config/syntax/ANTLR.json +5 -5
- data/config/syntax/{ASP VB.net.json → ASP vb.NET.json } +3 -3
- data/config/syntax/ASP.json +1 -1
- data/config/syntax/ActionScript.json +6 -6
- data/config/syntax/Active4D Config.json +86 -0
- data/config/syntax/Active4D Library.json +20 -0
- data/config/syntax/Active4D.json +418 -0
- data/config/syntax/Ada.json +3 -3
- data/config/syntax/Ant.json +196 -0
- data/config/syntax/Apache.json +7 -7
- data/config/syntax/AppleScript.json +3 -3
- data/config/syntax/{Bibtex.json → BibTeX.json} +1 -1
- data/config/syntax/Bison.json +59 -0
- data/config/syntax/{Blog (HTML).json → Blog - HTML.json } +2 -2
- data/config/syntax/{Blog (Markdown).json → Blog - Markdown.json } +2 -2
- data/config/syntax/Blog (Text).json b/data/config/syntax/Blog - → Text.json +0 -0
- data/config/syntax/Blog (Textile).json b/data/config/syntax/Blog - → Textile.json +0 -0
- data/config/syntax/C++.json +3 -3
- data/config/syntax/C.json +13 -13
- data/config/syntax/CMake Listfile.json +171 -0
- data/config/syntax/CSS.json +6 -6
- data/config/syntax/CSV.json +108 -0
- data/config/syntax/ColdFusion.json +204 -0
- data/config/syntax/D.json +560 -0
- data/config/syntax/Diff.json +1 -1
- data/config/syntax/DokuWiki.json +412 -0
- data/config/syntax/Doxygen.json +80 -0
- data/config/syntax/Dylan.json +4 -4
- data/config/syntax/Erlang.json +5 -5
- data/config/syntax/F-Script.json +1 -1
- data/config/syntax/FXScript.json +5 -5
- data/config/syntax/Fortran - Modern.json +221 -0
- data/config/syntax/Fortran - Punchcard.json +468 -0
- data/config/syntax/GTD.json +39 -0
- data/config/syntax/GTDalt.json +233 -0
- data/config/syntax/Gettext.json +118 -0
- data/config/syntax/Go.json +555 -0
- data/config/syntax/{DOT.json → Graphviz (DOT).json } +3 -3
- data/config/syntax/Greasemonkey.json +56 -0
- data/config/syntax/Gri.json +4 -4
- data/config/syntax/{HTML-ASP.json → HTML (ASP).json } +1 -1
- data/config/syntax/{HTML for ASP.net.json → HTML (ASP.net).json } +19 -19
- data/config/syntax/HTML (Active4D).json +540 -0
- data/config/syntax/HTML (Erlang).json +31 -0
- data/config/syntax/HTML (Tcl).json +1 -1
- data/config/syntax/HTML.json +20 -20
- data/config/syntax/Haskell.json +3 -3
- data/config/syntax/Installer Distribution Script.json +135 -0
- data/config/syntax/Io.json +6 -6
- data/config/syntax/JSON.json +151 -0
- data/config/syntax/{JavaProperties.json → Java Properties.json } +2 -2
- data/config/syntax/Java Server Page (JSP).json +163 -0
- data/config/syntax/Java.json +7 -7
- data/config/syntax/JavaDoc.json +435 -0
- data/config/syntax/JavaScript.json +8 -8
- data/config/syntax/LaTeX Log.json +3 -3
- data/config/syntax/LaTeX Memoir.json +101 -0
- data/config/syntax/LaTeX.json +2 -2
- data/config/syntax/Lex-Flex.json +396 -0
- data/config/syntax/LilyPond.json +608 -0
- data/config/syntax/Logo.json +48 -0
- data/config/syntax/Logtalk.json +6 -6
- data/config/syntax/Lua.json +1 -1
- data/config/syntax/{M.json → MATLAB.json} +3 -3
- data/config/syntax/MEL.json +7 -7
- data/config/syntax/MIPS.json b/data/config/syntax/MIPS → Assembler.json +0 -0
- data/config/syntax/MacPorts Portfile.json +298 -0
- data/config/syntax/Mail.json +1 -1
- data/config/syntax/Markdown.json +6 -6
- data/config/syntax/Maven POM.json +774 -0
- data/config/syntax/Mediawiki.json +736 -0
- data/config/syntax/MoinMoin.json +335 -0
- data/config/syntax/MultiMarkdown.json +41 -0
- data/config/syntax/Nemerle.json +128 -0
- data/config/syntax/OCaml.json +4 -4
- data/config/syntax/OCamllex.json +307 -0
- data/config/syntax/OCamlyacc.json +346 -0
- data/config/syntax/Objective-C++.json +2 -2
- data/config/syntax/Objective-C.json +979 -0
- data/config/syntax/Octave.json +417 -0
- data/config/syntax/PHP.json +32 -32
- data/config/syntax/Pascal.json +1 -1
- data/config/syntax/Perl.json +8 -8
- data/config/syntax/{Plain text.json → Plain Text.json } +1 -1
- data/config/syntax/PmWiki.json +241 -0
- data/config/syntax/Postscript.json +206 -0
- data/config/syntax/Processing.json +8 -8
- data/config/syntax/Prolog.json +70 -0
- data/config/syntax/Python.json +1934 -0
- data/config/syntax/{Quake3 Config.json → Quake Style .cfg.json } +1 -1
- data/config/syntax/R.json +2 -2
- data/config/syntax/Ragel.json +362 -0
- data/config/syntax/Rd (R Documentation).json +119 -0
- data/config/syntax/Regular Expressions (Oniguruma).json +186 -0
- data/config/syntax/Regular Expressions (Python).json +188 -0
- data/config/syntax/Release Notes.json +78 -0
- data/config/syntax/Remind.json +461 -0
- data/config/syntax/Rez.json +5 -5
- data/config/syntax/Ruby Sass.json +497 -0
- data/config/syntax/Ruby.json +13 -13
- data/config/syntax/S5 Slide Show.json +85 -0
- data/config/syntax/SQL.json +11 -11
- data/config/syntax/SSH Config.json +55 -0
- data/config/syntax/SWIG.json +2 -2
- data/config/syntax/SWeave.json +139 -0
- data/config/syntax/Scheme.json +8 -8
- data/config/syntax/Scilab.json +69 -0
- data/config/syntax/Setext.json +247 -0
- data/config/syntax/{Shell-Unix-Generic.json → Shell Script (Bash).json } +4 -4
- data/config/syntax/Slate.json +5 -5
- data/config/syntax/Strings File.json +53 -0
- data/config/syntax/TSV.json +83 -0
- data/config/syntax/Tcl.json +1 -1
- data/config/syntax/TeX Math.json +2 -2
- data/config/syntax/TeX.json +2 -2
- data/config/syntax/Textile.json +9 -9
- data/config/syntax/Thrift.json +641 -0
- data/config/syntax/Twiki.json +1 -1
- data/config/syntax/Txt2tags.json +154 -0
- data/config/syntax/XML strict.json +4 -4
- data/config/syntax/XML.json +6 -6
- data/config/syntax/XSL.json +2 -2
- data/config/syntax/camlp4.json +63 -0
- data/config/syntax/mod_perl.json +72 -0
- data/config/syntax/reStructuredText.json +1 -1
- data/config/syntax/{Subversion commit message.json → svn-commit.tmp.json} +0 -0
- data/config/tutorial +23 -19
- data/config/welcome +3 -3
- data/lib/ver.rb +273 -62
- data/lib/ver/entry.rb +142 -26
- data/lib/ver/font.rb +51 -0
- data/lib/ver/help.rb +16 -0
- data/lib/ver/help/describe_key.rb +82 -0
- data/lib/ver/help/help_for_help.rb +39 -0
- data/lib/ver/hover_completion.rb +129 -0
- data/lib/ver/keymap.rb +95 -24
- data/lib/ver/layout.rb +107 -43
- data/lib/ver/methods.rb +24 -8
- data/lib/ver/methods/clipboard.rb +91 -0
- data/lib/ver/methods/completion.rb +146 -71
- data/lib/ver/methods/control.rb +203 -222
- data/lib/ver/methods/ctags.rb +55 -0
- data/lib/ver/methods/delete.rb +30 -0
- data/lib/ver/methods/help.rb +7 -0
- data/lib/ver/methods/insert.rb +233 -1
- data/lib/ver/methods/move.rb +181 -32
- data/lib/ver/methods/open.rb +208 -0
- data/lib/ver/methods/preview.rb +14 -0
- data/lib/ver/methods/save.rb +111 -0
- data/lib/ver/methods/search.rb +57 -7
- data/lib/ver/methods/select.rb +97 -17
- data/lib/ver/methods/shortcuts.rb +21 -0
- data/lib/ver/methods/views.rb +56 -1
- data/lib/ver/mode.rb +60 -14
- data/lib/ver/status.rb +97 -19
- data/lib/ver/syntax.rb +14 -6
- data/lib/ver/syntax/detector.rb +16 -5
- data/lib/ver/syntax/processor.rb +9 -3
- data/lib/ver/text.rb +258 -199
- data/lib/ver/text/index.rb +103 -0
- data/lib/ver/theme.rb +27 -16
- data/lib/ver/tooltip.rb +59 -0
- data/lib/ver/vendor/binary_search.rb +61 -0
- data/lib/ver/vendor/levenshtein.rb +57 -0
- data/lib/ver/{textpow.rb → vendor/textpow.rb} +31 -29
- data/lib/ver/view.rb +65 -41
- data/lib/ver/view/console.rb +171 -0
- data/lib/ver/view/entry.rb +9 -5
- data/lib/ver/view/list.rb +44 -29
- data/lib/ver/view/list/ex.rb +71 -0
- data/lib/ver/view/list/grep.rb +42 -0
- data/lib/ver/view/list/methods.rb +159 -0
- data/lib/ver/view/term.rb +249 -0
- data/tasks/syntax_list.rake +3 -2
- data/ver.gemspec +4 -4
- metadata +230 -28
- data/config/syntax/Bulletin Board.json +0 -428
- data/config/syntax/HTML (Mason).json +0 -207
- data/config/syntax/HTML (Rails).json +0 -52
- data/config/syntax/Movable Type.json +0 -348
- data/config/syntax/Ruby on Rails.json +0 -170
- data/config/syntax/SQL (Rails).json +0 -31
- data/config/syntax/Smarty.json +0 -110
- data/config/syntax/Standard ML.json +0 -322
@@ -4,8 +4,8 @@
|
|
4
4
|
"M",
|
5
5
|
"h"
|
6
6
|
],
|
7
|
-
"foldingStartMarker": "(?x)\n\t\t
|
8
|
-
"foldingStopMarker": "(?<!\\*)
|
7
|
+
"foldingStartMarker": "(?x)\n\t\t /\\*\\*(?!\\*)\n\t\t|^(?![^{]*?//|[^{]*?/\\*(?!.*?\\*/.*?\\{)).*?\\{\\s*($|//|/\\*(?!.*?\\*/.*\\S))\n\t\t|^@(interface|protocol|implementation)\\b\n\t",
|
8
|
+
"foldingStopMarker": "(?<!\\*)\\*\\*/|^\\s*\\}|^@end\\b",
|
9
9
|
"keyEquivalent": "^~O",
|
10
10
|
"name": "Objective-C++",
|
11
11
|
"patterns": [
|
@@ -0,0 +1,979 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"m",
|
4
|
+
"h"
|
5
|
+
],
|
6
|
+
"foldingStartMarker": "(?x)\n\t\t /\\*\\*(?!\\*)\n\t\t|^(?![^{]*?//|[^{]*?/\\*(?!.*?\\*/.*?\\{)).*?\\{\\s*($|//|/\\*(?!.*?\\*/.*\\S))\n\t\t|^@(interface|protocol|implementation)\\b\n\t",
|
7
|
+
"foldingStopMarker": "(?<!\\*)\\*\\*/|^\\s*\\}|^@end\\b",
|
8
|
+
"keyEquivalent": "^~O",
|
9
|
+
"name": "Objective-C",
|
10
|
+
"patterns": [
|
11
|
+
{
|
12
|
+
"begin": "((@)(interface|protocol))(?!.+;)\\s+([A-Za-z_][A-Za-z0-9_]*)\\s*((:)(?:\\s*)([A-Za-z][A-Za-z0-9]*))?(\\s|\\n)?",
|
13
|
+
"captures": {
|
14
|
+
"1": {
|
15
|
+
"name": "storage.type.objc"
|
16
|
+
},
|
17
|
+
"2": {
|
18
|
+
"name": "punctuation.definition.storage.type.objc"
|
19
|
+
},
|
20
|
+
"4": {
|
21
|
+
"name": "entity.name.type.objc"
|
22
|
+
},
|
23
|
+
"6": {
|
24
|
+
"name": "punctuation.definition.entity.other.inherited-class.objc"
|
25
|
+
},
|
26
|
+
"7": {
|
27
|
+
"name": "entity.other.inherited-class.objc"
|
28
|
+
},
|
29
|
+
"8": {
|
30
|
+
"name": "meta.divider.objc"
|
31
|
+
},
|
32
|
+
"9": {
|
33
|
+
"name": "meta.inherited-class.objc"
|
34
|
+
}
|
35
|
+
},
|
36
|
+
"contentName": "meta.scope.interface.objc",
|
37
|
+
"end": "((@)end)\\b",
|
38
|
+
"name": "meta.interface-or-protocol.objc",
|
39
|
+
"patterns": [
|
40
|
+
{
|
41
|
+
"include": "#interface_innards"
|
42
|
+
}
|
43
|
+
]
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"begin": "((@)(implementation))\\s+([A-Za-z_][A-Za-z0-9_]*)\\s*(?::\\s*([A-Za-z][A-Za-z0-9]*))?",
|
47
|
+
"captures": {
|
48
|
+
"1": {
|
49
|
+
"name": "storage.type.objc"
|
50
|
+
},
|
51
|
+
"2": {
|
52
|
+
"name": "punctuation.definition.storage.type.objc"
|
53
|
+
},
|
54
|
+
"4": {
|
55
|
+
"name": "entity.name.type.objc"
|
56
|
+
},
|
57
|
+
"5": {
|
58
|
+
"name": "entity.other.inherited-class.objc"
|
59
|
+
}
|
60
|
+
},
|
61
|
+
"contentName": "meta.scope.implementation.objc",
|
62
|
+
"end": "((@)end)\\b",
|
63
|
+
"name": "meta.implementation.objc",
|
64
|
+
"patterns": [
|
65
|
+
{
|
66
|
+
"include": "#implementation_innards"
|
67
|
+
}
|
68
|
+
]
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"begin": "@\"",
|
72
|
+
"beginCaptures": {
|
73
|
+
"0": {
|
74
|
+
"name": "punctuation.definition.string.begin.objc"
|
75
|
+
}
|
76
|
+
},
|
77
|
+
"end": "\"",
|
78
|
+
"endCaptures": {
|
79
|
+
"0": {
|
80
|
+
"name": "punctuation.definition.string.end.objc"
|
81
|
+
}
|
82
|
+
},
|
83
|
+
"name": "string.quoted.double.objc",
|
84
|
+
"patterns": [
|
85
|
+
{
|
86
|
+
"match": "\\\\(\\\\|[abefnrtv'\"?]|[0-3]\\d{,2}|[4-7]\\d?|x[a-zA-Z0-9]+)",
|
87
|
+
"name": "constant.character.escape.objc"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"match": "\\\\.",
|
91
|
+
"name": "invalid.illegal.unknown-escape.objc"
|
92
|
+
}
|
93
|
+
]
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"begin": "\\b(id)\\s*(?=<)",
|
97
|
+
"beginCaptures": {
|
98
|
+
"1": {
|
99
|
+
"name": "storage.type.objc"
|
100
|
+
}
|
101
|
+
},
|
102
|
+
"end": "(?<=>)",
|
103
|
+
"name": "meta.id-with-protocol.objc",
|
104
|
+
"patterns": [
|
105
|
+
{
|
106
|
+
"include": "#protocol_list"
|
107
|
+
}
|
108
|
+
]
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"match": "\\b(NS_DURING|NS_HANDLER|NS_ENDHANDLER)\\b",
|
112
|
+
"name": "keyword.control.macro.objc"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"captures": {
|
116
|
+
"1": {
|
117
|
+
"name": "punctuation.definition.keyword.objc"
|
118
|
+
}
|
119
|
+
},
|
120
|
+
"match": "(@)(try|catch|finally|throw)\\b",
|
121
|
+
"name": "keyword.control.exception.objc"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"captures": {
|
125
|
+
"1": {
|
126
|
+
"name": "punctuation.definition.keyword.objc"
|
127
|
+
}
|
128
|
+
},
|
129
|
+
"match": "(@)(synchronized)\\b",
|
130
|
+
"name": "keyword.control.synchronize.objc"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"captures": {
|
134
|
+
"1": {
|
135
|
+
"name": "punctuation.definition.keyword.objc"
|
136
|
+
}
|
137
|
+
},
|
138
|
+
"match": "(@)(required|optional)\\b",
|
139
|
+
"name": "keyword.control.protocol-specification.objc"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"captures": {
|
143
|
+
"1": {
|
144
|
+
"name": "punctuation.definition.keyword.objc"
|
145
|
+
}
|
146
|
+
},
|
147
|
+
"match": "(@)(defs|encode)\\b",
|
148
|
+
"name": "keyword.other.objc"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"match": "\\bid\\b(\\s|\\n)?",
|
152
|
+
"name": "storage.type.id.objc"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"match": "\\b(IBOutlet|IBAction|BOOL|SEL|id|unichar|IMP|Class)\\b",
|
156
|
+
"name": "storage.type.objc"
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"captures": {
|
160
|
+
"1": {
|
161
|
+
"name": "punctuation.definition.storage.type.objc"
|
162
|
+
}
|
163
|
+
},
|
164
|
+
"match": "(@)(class|protocol)\\b",
|
165
|
+
"name": "storage.type.objc"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"begin": "((@)selector)\\s*(\\()",
|
169
|
+
"beginCaptures": {
|
170
|
+
"1": {
|
171
|
+
"name": "storage.type.objc"
|
172
|
+
},
|
173
|
+
"2": {
|
174
|
+
"name": "punctuation.definition.storage.type.objc"
|
175
|
+
},
|
176
|
+
"3": {
|
177
|
+
"name": "punctuation.definition.storage.type.objc"
|
178
|
+
}
|
179
|
+
},
|
180
|
+
"contentName": "meta.selector.method-name.objc",
|
181
|
+
"end": "(\\))",
|
182
|
+
"endCaptures": {
|
183
|
+
"1": {
|
184
|
+
"name": "punctuation.definition.storage.type.objc"
|
185
|
+
}
|
186
|
+
},
|
187
|
+
"name": "meta.selector.objc",
|
188
|
+
"patterns": [
|
189
|
+
{
|
190
|
+
"captures": {
|
191
|
+
"1": {
|
192
|
+
"name": "punctuation.separator.arguments.objc"
|
193
|
+
}
|
194
|
+
},
|
195
|
+
"match": "\\b(?:[a-zA-Z_:][\\w]*)+",
|
196
|
+
"name": "support.function.any-method.name-of-parameter.objc"
|
197
|
+
}
|
198
|
+
]
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"captures": {
|
202
|
+
"1": {
|
203
|
+
"name": "punctuation.definition.storage.modifier.objc"
|
204
|
+
}
|
205
|
+
},
|
206
|
+
"match": "(@)(synchronized|public|private|protected)\\b",
|
207
|
+
"name": "storage.modifier.objc"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"match": "\\b(YES|NO|Nil|nil)\\b",
|
211
|
+
"name": "constant.language.objc"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"match": "\\bNSApp\\b",
|
215
|
+
"name": "support.variable.foundation"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"captures": {
|
219
|
+
"1": {
|
220
|
+
"name": "punctuation.whitespace.support.function.cocoa.leopard"
|
221
|
+
},
|
222
|
+
"2": {
|
223
|
+
"name": "support.function.cocoa.leopard"
|
224
|
+
}
|
225
|
+
},
|
226
|
+
"match": "(\\s*)\\b(NS(Rect(ToCGRect|FromCGRect)|MakeCollectable|S(tringFromProtocol|ize(ToCGSize|FromCGSize))|Draw(NinePartImage|ThreePartImage)|P(oint(ToCGPoint|FromCGPoint)|rotocolFromString)|EventMaskFromType|Value))\\b"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"captures": {
|
230
|
+
"1": {
|
231
|
+
"name": "punctuation.whitespace.support.function.leading.cocoa"
|
232
|
+
},
|
233
|
+
"2": {
|
234
|
+
"name": "support.function.cocoa"
|
235
|
+
}
|
236
|
+
},
|
237
|
+
"match": "(\\s*)\\b(NS(R(ound(DownToMultipleOfPageSize|UpToMultipleOfPageSize)|un(CriticalAlertPanel(RelativeToWindow)?|InformationalAlertPanel(RelativeToWindow)?|AlertPanel(RelativeToWindow)?)|e(set(MapTable|HashTable)|c(ycleZone|t(Clip(List)?|F(ill(UsingOperation|List(UsingOperation|With(Grays|Colors(UsingOperation)?))?)?|romString))|ordAllocationEvent)|turnAddress|leaseAlertPanel|a(dPixel|l(MemoryAvailable|locateCollectable))|gisterServicesProvider)|angeFromString)|Get(SizeAndAlignment|CriticalAlertPanel|InformationalAlertPanel|UncaughtExceptionHandler|FileType(s)?|WindowServerMemory|AlertPanel)|M(i(n(X|Y)|d(X|Y))|ouseInRect|a(p(Remove|Get|Member|Insert(IfAbsent|KnownAbsent)?)|ke(R(ect|ange)|Size|Point)|x(Range|X|Y)))|B(itsPer(SampleFromDepth|PixelFromDepth)|e(stDepth|ep|gin(CriticalAlertSheet|InformationalAlertSheet|AlertSheet)))|S(ho(uldRetainWithZone|w(sServicesMenuItem|AnimationEffect))|tringFrom(R(ect|ange)|MapTable|S(ize|elector)|HashTable|Class|Point)|izeFromString|e(t(ShowsServicesMenuItem|ZoneName|UncaughtExceptionHandler|FocusRingStyle)|lectorFromString|archPathForDirectoriesInDomains)|wap(Big(ShortToHost|IntToHost|DoubleToHost|FloatToHost|Long(ToHost|LongToHost))|Short|Host(ShortTo(Big|Little)|IntTo(Big|Little)|DoubleTo(Big|Little)|FloatTo(Big|Little)|Long(To(Big|Little)|LongTo(Big|Little)))|Int|Double|Float|L(ittle(ShortToHost|IntToHost|DoubleToHost|FloatToHost|Long(ToHost|LongToHost))|ong(Long)?)))|H(ighlightRect|o(stByteOrder|meDirectory(ForUser)?)|eight|ash(Remove|Get|Insert(IfAbsent|KnownAbsent)?)|FSType(CodeFromFileType|OfFile))|N(umberOfColorComponents|ext(MapEnumeratorPair|HashEnumeratorItem))|C(o(n(tainsRect|vert(GlyphsToPackedGlyphs|Swapped(DoubleToHost|FloatToHost)|Host(DoubleToSwapped|FloatToSwapped)))|unt(MapTable|HashTable|Frames|Windows(ForContext)?)|py(M(emoryPages|apTableWithZone)|Bits|HashTableWithZone|Object)|lorSpaceFromDepth|mpare(MapTables|HashTables))|lassFromString|reate(MapTable(WithZone)?|HashTable(WithZone)?|Zone|File(namePboardType|ContentsPboardType)))|TemporaryDirectory|I(s(ControllerMarker|EmptyRect|FreedObject)|n(setRect|crementExtraRefCount|te(r(sect(sRect|ionR(ect|ange))|faceStyleForKey)|gralRect)))|Zone(Realloc|Malloc|Name|Calloc|Fr(omPointer|ee))|O(penStepRootDirectory|ffsetRect)|D(i(sableScreenUpdates|videRect)|ottedFrameRect|e(c(imal(Round|Multiply|S(tring|ubtract)|Normalize|Co(py|mpa(ct|re))|IsNotANumber|Divide|Power|Add)|rementExtraRefCountWasZero)|faultMallocZone|allocate(MemoryPages|Object))|raw(Gr(oove|ayBezel)|B(itmap|utton)|ColorTiledRects|TiledRects|DarkBezel|W(hiteBezel|indowBackground)|LightBezel))|U(serName|n(ionR(ect|ange)|registerServicesProvider)|pdateDynamicServices)|Java(Bundle(Setup|Cleanup)|Setup(VirtualMachine)?|Needs(ToLoadClasses|VirtualMachine)|ClassesF(orBundle|romPath)|ObjectNamedInPath|ProvidesClasses)|P(oint(InRect|FromString)|erformService|lanarFromDepth|ageSize)|E(n(d(MapTableEnumeration|HashTableEnumeration)|umerate(MapTable|HashTable)|ableScreenUpdates)|qual(R(ects|anges)|Sizes|Points)|raseRect|xtraRefCount)|F(ileTypeForHFSTypeCode|ullUserName|r(ee(MapTable|HashTable)|ame(Rect(WithWidth(UsingOperation)?)?|Address)))|Wi(ndowList(ForContext)?|dth)|Lo(cationInRange|g(v|PageSize)?)|A(ccessibility(R(oleDescription(ForUIElement)?|aiseBadArgumentException)|Unignored(Children(ForOnlyChild)?|Descendant|Ancestor)|PostNotification|ActionDescription)|pplication(Main|Load)|vailableWindowDepths|ll(MapTable(Values|Keys)|HashTableObjects|ocate(MemoryPages|Collectable|Object)))))\\b"
|
238
|
+
},
|
239
|
+
{
|
240
|
+
"match": "\\bNS(RuleEditor|G(arbageCollector|radient)|MapTable|HashTable|Co(ndition|llectionView(Item)?)|T(oolbarItemGroup|extInputClient|r(eeNode|ackingArea))|InvocationOperation|Operation(Queue)?|D(ictionaryController|ockTile)|P(ointer(Functions|Array)|athC(o(ntrol(Delegate)?|mponentCell)|ell(Delegate)?)|r(intPanelAccessorizing|edicateEditor(RowTemplate)?))|ViewController|FastEnumeration|Animat(ionContext|ablePropertyContainer))\\b",
|
241
|
+
"name": "support.class.cocoa.leopard"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"match": "\\bNS(R(u(nLoop|ler(Marker|View))|e(sponder|cursiveLock|lativeSpecifier)|an(domSpecifier|geSpecifier))|G(etCommand|lyph(Generator|Storage|Info)|raphicsContext)|XML(Node|D(ocument|TD(Node)?)|Parser|Element)|M(iddleSpecifier|ov(ie(View)?|eCommand)|utable(S(tring|et)|C(haracterSet|opying)|IndexSet|D(ictionary|ata)|URLRequest|ParagraphStyle|A(ttributedString|rray))|e(ssagePort(NameServer)?|nu(Item(Cell)?|View)?|t(hodSignature|adata(Item|Query(ResultGroup|AttributeValueTuple)?)))|a(ch(BootstrapServer|Port)|trix))|B(itmapImageRep|ox|u(ndle|tton(Cell)?)|ezierPath|rowser(Cell)?)|S(hadow|c(anner|r(ipt(SuiteRegistry|C(o(ercionHandler|mmand(Description)?)|lassDescription)|ObjectSpecifier|ExecutionContext|WhoseTest)|oll(er|View)|een))|t(epper(Cell)?|atus(Bar|Item)|r(ing|eam))|imple(HorizontalTypesetter|CString)|o(cketPort(NameServer)?|und|rtDescriptor)|p(e(cifierTest|ech(Recognizer|Synthesizer)|ll(Server|Checker))|litView)|e(cureTextField(Cell)?|t(Command)?|archField(Cell)?|rializer|gmentedC(ontrol|ell))|lider(Cell)?|avePanel)|H(ost|TTP(Cookie(Storage)?|URLResponse)|elpManager)|N(ib(Con(nector|trolConnector)|OutletConnector)?|otification(Center|Queue)?|u(ll|mber(Formatter)?)|etService(Browser)?|ameSpecifier)|C(ha(ngeSpelling|racterSet)|o(n(stantString|nection|trol(ler)?|ditionLock)|d(ing|er)|unt(Command|edSet)|pying|lor(Space|P(ick(ing(Custom|Default)|er)|anel)|Well|List)?|m(p(oundPredicate|arisonPredicate)|boBox(Cell)?))|u(stomImageRep|rsor)|IImageRep|ell|l(ipView|o(seCommand|neCommand)|assDescription)|a(ched(ImageRep|URLResponse)|lendar(Date)?)|reateCommand)|T(hread|ypesetter|ime(Zone|r)|o(olbar(Item(Validations)?)?|kenField(Cell)?)|ext(Block|Storage|Container|Tab(le(Block)?)?|Input|View|Field(Cell)?|List|Attachment(Cell)?)?|a(sk|b(le(Header(Cell|View)|Column|View)|View(Item)?))|reeController)|I(n(dex(S(pecifier|et)|Path)|put(Manager|S(tream|erv(iceProvider|er(MouseTracker)?)))|vocation)|gnoreMisspelledWords|mage(Rep|Cell|View)?)|O(ut(putStream|lineView)|pen(GL(Context|Pixel(Buffer|Format)|View)|Panel)|bj(CTypeSerializationCallBack|ect(Controller)?))|D(i(st(antObject(Request)?|ributed(NotificationCenter|Lock))|ctionary|rectoryEnumerator)|ocument(Controller)?|e(serializer|cimalNumber(Behaviors|Handler)?|leteCommand)|at(e(Components|Picker(Cell)?|Formatter)?|a)|ra(wer|ggingInfo))|U(ser(InterfaceValidations|Defaults(Controller)?)|RL(Re(sponse|quest)|Handle(Client)?|C(onnection|ache|redential(Storage)?)|Download(Delegate)?|Prot(ocol(Client)?|ectionSpace)|AuthenticationChallenge(Sender)?)?|n(iqueIDSpecifier|doManager|archiver))|P(ipe|o(sitionalSpecifier|pUpButton(Cell)?|rt(Message|NameServer|Coder)?)|ICTImageRep|ersistentDocument|DFImageRep|a(steboard|nel|ragraphStyle|geLayout)|r(int(Info|er|Operation|Panel)|o(cessInfo|tocolChecker|perty(Specifier|ListSerialization)|gressIndicator|xy)|edicate))|E(numerator|vent|PSImageRep|rror|x(ception|istsCommand|pression))|V(iew(Animation)?|al(idated(ToobarItem|UserInterfaceItem)|ue(Transformer)?))|Keyed(Unarchiver|Archiver)|Qui(ckDrawView|tCommand)|F(ile(Manager|Handle|Wrapper)|o(nt(Manager|Descriptor|Panel)?|rm(Cell|atter)))|W(hoseSpecifier|indow(Controller)?|orkspace)|L(o(c(k(ing)?|ale)|gicalTest)|evelIndicator(Cell)?|ayoutManager)|A(ssertionHandler|nimation|ctionCell|ttributedString|utoreleasePool|TSTypesetter|ppl(ication|e(Script|Event(Manager|Descriptor)))|ffineTransform|lert|r(chiver|ray(Controller)?)))\\b",
|
245
|
+
"name": "support.class.cocoa"
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"match": "\\bNS(R(oundingMode|ule(Editor(RowType|NestingMode)|rOrientation)|e(questUserAttentionType|lativePosition))|G(lyphInscription|radientDrawingOptions)|XML(NodeKind|D(ocumentContentKind|TDNodeKind)|ParserError)|M(ultibyteGlyphPacking|apTableOptions)|B(itmapFormat|oxType|ezierPathElement|ackgroundStyle|rowserDropOperation)|S(tr(ing(CompareOptions|DrawingOptions|EncodingConversionOptions)|eam(Status|Event))|p(eechBoundary|litViewDividerStyle)|e(archPathD(irectory|omainMask)|gmentS(tyle|witchTracking))|liderType|aveOptions)|H(TTPCookieAcceptPolicy|ashTableOptions)|N(otification(SuspensionBehavior|Coalescing)|umberFormatter(RoundingMode|Behavior|Style|PadPosition)|etService(sError|Options))|C(haracterCollection|o(lor(RenderingIntent|SpaceModel|PanelMode)|mp(oundPredicateType|arisonPredicateModifier))|ellStateValue|al(culationError|endarUnit))|T(ypesetterControlCharacterAction|imeZoneNameStyle|e(stComparisonOperation|xt(Block(Dimension|V(erticalAlignment|alueType)|Layer)|TableLayoutAlgorithm|FieldBezelStyle))|ableView(SelectionHighlightStyle|ColumnAutoresizingStyle)|rackingAreaOptions)|I(n(sertionPosition|te(rfaceStyle|ger))|mage(RepLoadStatus|Scaling|CacheMode|FrameStyle|LoadStatus|Alignment))|Ope(nGLPixelFormatAttribute|rationQueuePriority)|Date(Picker(Mode|Style)|Formatter(Behavior|Style))|U(RL(RequestCachePolicy|HandleStatus|C(acheStoragePolicy|redentialPersistence))|Integer)|P(o(stingStyle|int(ingDeviceType|erFunctionsOptions)|pUpArrowPosition)|athStyle|r(int(ing(Orientation|PaginationMode)|erTableStatus|PanelOptions)|opertyList(MutabilityOptions|Format)|edicateOperatorType))|ExpressionType|KeyValue(SetMutationKind|Change)|QTMovieLoopMode|F(indPanel(SubstringMatchType|Action)|o(nt(RenderingMode|FamilyClass)|cusRingPlacement))|W(hoseSubelementIdentifier|ind(ingRule|ow(B(utton|ackingLocation)|SharingType|CollectionBehavior)))|L(ine(MovementDirection|SweepDirection|CapStyle|JoinStyle)|evelIndicatorStyle)|Animation(BlockingMode|Curve))\\b",
|
249
|
+
"name": "support.type.cocoa.leopard"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"match": "\\bC(I(Sampler|Co(ntext|lor)|Image(Accumulator)?|PlugIn(Registration)?|Vector|Kernel|Filter(Generator|Shape)?)|A(Renderer|MediaTiming(Function)?|BasicAnimation|ScrollLayer|Constraint(LayoutManager)?|T(iledLayer|extLayer|rans(ition|action))|OpenGLLayer|PropertyAnimation|KeyframeAnimation|Layer|A(nimation(Group)?|ction)))\\b",
|
253
|
+
"name": "support.class.quartz"
|
254
|
+
},
|
255
|
+
{
|
256
|
+
"match": "\\bC(G(Float|Point|Size|Rect)|IFormat|AConstraintAttribute)\\b",
|
257
|
+
"name": "support.type.quartz"
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"match": "\\bNS(R(ect(Edge)?|ange)|G(lyph(Relation|LayoutMode)?|radientType)|M(odalSession|a(trixMode|p(Table|Enumerator)))|B(itmapImageFileType|orderType|uttonType|ezelStyle|ackingStoreType|rowserColumnResizingType)|S(cr(oll(er(Part|Arrow)|ArrowPosition)|eenAuxiliaryOpaque)|tringEncoding|ize|ocketNativeHandle|election(Granularity|Direction|Affinity)|wapped(Double|Float)|aveOperationType)|Ha(sh(Table|Enumerator)|ndler(2)?)|C(o(ntrol(Size|Tint)|mp(ositingOperation|arisonResult))|ell(State|Type|ImagePosition|Attribute))|T(hreadPrivate|ypesetterGlyphInfo|i(ckMarkPosition|tlePosition|meInterval)|o(ol(TipTag|bar(SizeMode|DisplayMode))|kenStyle)|IFFCompression|ext(TabType|Alignment)|ab(State|leViewDropOperation|ViewType)|rackingRectTag)|ImageInterpolation|Zone|OpenGL(ContextAuxiliary|PixelFormatAuxiliary)|D(ocumentChangeType|atePickerElementFlags|ra(werState|gOperation))|UsableScrollerParts|P(oint|r(intingPageOrder|ogressIndicator(Style|Th(ickness|readInfo))))|EventType|KeyValueObservingOptions|Fo(nt(SymbolicTraits|TraitMask|Action)|cusRingType)|W(indow(OrderingMode|Depth)|orkspace(IconCreationOptions|LaunchOptions)|ritingDirection)|L(ineBreakMode|ayout(Status|Direction))|A(nimation(Progress|Effect)|ppl(ication(TerminateReply|DelegateReply|PrintReply)|eEventManagerSuspensionID)|ffineTransformStruct|lertStyle))\\b",
|
261
|
+
"name": "support.type.cocoa"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"match": "\\bNS(NotFound|Ordered(Ascending|Descending|Same))\\b",
|
265
|
+
"name": "support.constant.cocoa"
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"match": "\\bNS(MenuDidBeginTracking|ViewDidUpdateTrackingAreas)?Notification\\b",
|
269
|
+
"name": "support.constant.notification.cocoa.leopard"
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"match": "\\bNS(Menu(Did(RemoveItem|SendAction|ChangeItem|EndTracking|AddItem)|WillSendAction)|S(ystemColorsDidChange|plitView(DidResizeSubviews|WillResizeSubviews))|C(o(nt(extHelpModeDid(Deactivate|Activate)|rolT(intDidChange|extDid(BeginEditing|Change|EndEditing)))|lor(PanelColorDidChange|ListDidChange)|mboBox(Selection(IsChanging|DidChange)|Will(Dismiss|PopUp)))|lassDescriptionNeededForClass)|T(oolbar(DidRemoveItem|WillAddItem)|ext(Storage(DidProcessEditing|WillProcessEditing)|Did(BeginEditing|Change|EndEditing)|View(DidChange(Selection|TypingAttributes)|WillChangeNotifyingTextView))|ableView(Selection(IsChanging|DidChange)|ColumnDid(Resize|Move)))|ImageRepRegistryDidChange|OutlineView(Selection(IsChanging|DidChange)|ColumnDid(Resize|Move)|Item(Did(Collapse|Expand)|Will(Collapse|Expand)))|Drawer(Did(Close|Open)|Will(Close|Open))|PopUpButton(CellWillPopUp|WillPopUp)|View(GlobalFrameDidChange|BoundsDidChange|F(ocusDidChange|rameDidChange))|FontSetChanged|W(indow(Did(Resi(ze|gn(Main|Key))|M(iniaturize|ove)|Become(Main|Key)|ChangeScreen(|Profile)|Deminiaturize|Update|E(ndSheet|xpose))|Will(M(iniaturize|ove)|BeginSheet|Close))|orkspace(SessionDid(ResignActive|BecomeActive)|Did(Mount|TerminateApplication|Unmount|PerformFileOperation|Wake|LaunchApplication)|Will(Sleep|Unmount|PowerOff|LaunchApplication)))|A(ntialiasThresholdChanged|ppl(ication(Did(ResignActive|BecomeActive|Hide|ChangeScreenParameters|U(nhide|pdate)|FinishLaunching)|Will(ResignActive|BecomeActive|Hide|Terminate|U(nhide|pdate)|FinishLaunching))|eEventManagerWillProcessFirstEvent)))Notification\\b",
|
273
|
+
"name": "support.constant.notification.cocoa"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"match": "\\bNS(RuleEditor(RowType(Simple|Compound)|NestingMode(Si(ngle|mple)|Compound|List))|GradientDraws(BeforeStartingLocation|AfterEndingLocation)|M(inusSetExpressionType|a(chPortDeallocate(ReceiveRight|SendRight|None)|pTable(StrongMemory|CopyIn|ZeroingWeakMemory|ObjectPointerPersonality)))|B(oxCustom|undleExecutableArchitecture(X86|I386|PPC(64)?)|etweenPredicateOperatorType|ackgroundStyle(Raised|Dark|L(ight|owered)))|S(tring(DrawingTruncatesLastVisibleLine|EncodingConversion(ExternalRepresentation|AllowLossy))|ubqueryExpressionType|p(e(ech(SentenceBoundary|ImmediateBoundary|WordBoundary)|llingState(GrammarFlag|SpellingFlag))|litViewDividerStyleThi(n|ck))|e(rvice(RequestTimedOutError|M(iscellaneousError|alformedServiceDictionaryError)|InvalidPasteboardDataError|ErrorM(inimum|aximum)|Application(NotFoundError|LaunchFailedError))|gmentStyle(Round(Rect|ed)|SmallSquare|Capsule|Textured(Rounded|Square)|Automatic)))|H(UDWindowMask|ashTable(StrongMemory|CopyIn|ZeroingWeakMemory|ObjectPointerPersonality))|N(oModeColorPanel|etServiceNoAutoRename)|C(hangeRedone|o(ntainsPredicateOperatorType|l(orRenderingIntent(RelativeColorimetric|Saturation|Default|Perceptual|AbsoluteColorimetric)|lectorDisabledOption))|ellHit(None|ContentArea|TrackableArea|EditableTextArea))|T(imeZoneNameStyle(S(hort(Standard|DaylightSaving)|tandard)|DaylightSaving)|extFieldDatePickerStyle|ableViewSelectionHighlightStyle(Regular|SourceList)|racking(Mouse(Moved|EnteredAndExited)|CursorUpdate|InVisibleRect|EnabledDuringMouseDrag|A(ssumeInside|ctive(In(KeyWindow|ActiveApp)|WhenFirstResponder|Always))))|I(n(tersectSetExpressionType|dexedColorSpaceModel)|mageScale(None|Proportionally(Down|UpOrDown)|AxesIndependently))|Ope(nGLPFAAllowOfflineRenderers|rationQueue(DefaultMaxConcurrentOperationCount|Priority(High|Normal|Very(High|Low)|Low)))|D(iacriticInsensitiveSearch|ownloadsDirectory)|U(nionSetExpressionType|TF(16(BigEndianStringEncoding|StringEncoding|LittleEndianStringEncoding)|32(BigEndianStringEncoding|StringEncoding|LittleEndianStringEncoding)))|P(ointerFunctions(Ma(chVirtualMemory|llocMemory)|Str(ongMemory|uctPersonality)|C(StringPersonality|opyIn)|IntegerPersonality|ZeroingWeakMemory|O(paque(Memory|Personality)|bjectP(ointerPersonality|ersonality)))|at(hStyle(Standard|NavigationBar|PopUp)|ternColorSpaceModel)|rintPanelShows(Scaling|Copies|Orientation|P(a(perSize|ge(Range|SetupAccessory))|review)))|Executable(RuntimeMismatchError|NotLoadableError|ErrorM(inimum|aximum)|L(inkError|oadError)|ArchitectureMismatchError)|KeyValueObservingOption(Initial|Prior)|F(i(ndPanelSubstringMatchType(StartsWith|Contains|EndsWith|FullWord)|leRead(TooLargeError|UnknownStringEncodingError))|orcedOrderingSearch)|Wi(ndow(BackingLocation(MainMemory|Default|VideoMemory)|Sharing(Read(Only|Write)|None)|CollectionBehavior(MoveToActiveSpace|CanJoinAllSpaces|Default))|dthInsensitiveSearch)|AggregateExpressionType)\\b",
|
277
|
+
"name": "support.constant.cocoa.leopard"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"match": "\\bNS(R(GB(ModeColorPanel|ColorSpaceModel)|ight(Mouse(D(own(Mask)?|ragged(Mask)?)|Up(Mask)?)|T(ext(Movement|Alignment)|ab(sBezelBorder|StopType))|ArrowFunctionKey)|ound(RectBezelStyle|Bankers|ed(BezelStyle|TokenStyle|DisclosureBezelStyle)|Down|Up|Plain|Line(CapStyle|JoinStyle))|un(StoppedResponse|ContinuesResponse|AbortedResponse)|e(s(izableWindowMask|et(CursorRectsRunLoopOrdering|FunctionKey))|ce(ssedBezelStyle|iver(sCantHandleCommandScriptError|EvaluationScriptError))|turnTextMovement|doFunctionKey|quiredArgumentsMissingScriptError|l(evancyLevelIndicatorStyle|ative(Before|After))|gular(SquareBezelStyle|ControlSize)|moveTraitFontAction)|a(n(domSubelement|geDateMode)|tingLevelIndicatorStyle|dio(ModeMatrix|Button)))|G(IFFileType|lyph(Below|Inscribe(B(elow|ase)|Over(strike|Below)|Above)|Layout(WithPrevious|A(tAPoint|gainstAPoint))|A(ttribute(BidiLevel|Soft|Inscribe|Elastic)|bove))|r(ooveBorder|eaterThan(Comparison|OrEqualTo(Comparison|PredicateOperatorType)|PredicateOperatorType)|a(y(ModeColorPanel|ColorSpaceModel)|dient(None|Con(cave(Strong|Weak)|vex(Strong|Weak)))|phiteControlTint)))|XML(N(o(tationDeclarationKind|de(CompactEmptyElement|IsCDATA|OptionsNone|Use(SingleQuotes|DoubleQuotes)|Pre(serve(NamespaceOrder|C(haracterReferences|DATA)|DTD|Prefixes|E(ntities|mptyElements)|Quotes|Whitespace|A(ttributeOrder|ll))|ttyPrint)|ExpandEmptyElement))|amespaceKind)|CommentKind|TextKind|InvalidKind|D(ocument(X(MLKind|HTMLKind|Include)|HTMLKind|T(idy(XML|HTML)|extKind)|IncludeContentTypeDeclaration|Validate|Kind)|TDKind)|P(arser(GTRequiredError|XMLDeclNot(StartedError|FinishedError)|Mi(splaced(XMLDeclarationError|CDATAEndStringError)|xedContentDeclNot(StartedError|FinishedError))|S(t(andaloneValueError|ringNot(StartedError|ClosedError))|paceRequiredError|eparatorRequiredError)|N(MTOKENRequiredError|o(t(ationNot(StartedError|FinishedError)|WellBalancedError)|DTDError)|amespaceDeclarationError|AMERequiredError)|C(haracterRef(In(DTDError|PrologError|EpilogError)|AtEOFError)|o(nditionalSectionNot(StartedError|FinishedError)|mment(NotFinishedError|ContainsDoubleHyphenError))|DATANotFinishedError)|TagNameMismatchError|In(ternalError|valid(HexCharacterRefError|C(haracter(RefError|InEntityError|Error)|onditionalSectionError)|DecimalCharacterRefError|URIError|Encoding(NameError|Error)))|OutOfMemoryError|D(ocumentStartError|elegateAbortedParseError|OCTYPEDeclNotFinishedError)|U(RI(RequiredError|FragmentError)|n(declaredEntityError|parsedEntityError|knownEncodingError|finishedTagError))|P(CDATARequiredError|ublicIdentifierRequiredError|arsedEntityRef(MissingSemiError|NoNameError|In(Internal(SubsetError|Error)|PrologError|EpilogError)|AtEOFError)|r(ocessingInstructionNot(StartedError|FinishedError)|ematureDocumentEndError))|E(n(codingNotSupportedError|tity(Ref(In(DTDError|PrologError|EpilogError)|erence(MissingSemiError|WithoutNameError)|LoopError|AtEOFError)|BoundaryError|Not(StartedError|FinishedError)|Is(ParameterError|ExternalError)|ValueRequiredError))|qualExpectedError|lementContentDeclNot(StartedError|FinishedError)|xt(ernalS(tandaloneEntityError|ubsetNotFinishedError)|raContentError)|mptyDocumentError)|L(iteralNot(StartedError|FinishedError)|T(RequiredError|SlashRequiredError)|essThanSymbolInAttributeError)|Attribute(RedefinedError|HasNoValueError|Not(StartedError|FinishedError)|ListNot(StartedError|FinishedError)))|rocessingInstructionKind)|E(ntity(GeneralKind|DeclarationKind|UnparsedKind|P(ar(sedKind|ameterKind)|redefined))|lement(Declaration(MixedKind|UndefinedKind|E(lementKind|mptyKind)|Kind|AnyKind)|Kind))|Attribute(N(MToken(sKind|Kind)|otationKind)|CDATAKind|ID(Ref(sKind|Kind)|Kind)|DeclarationKind|En(tit(yKind|iesKind)|umerationKind)|Kind))|M(i(n(XEdge|iaturizableWindowMask|YEdge|uteCalendarUnit)|terLineJoinStyle|ddleSubelement|xedState)|o(nthCalendarUnit|deSwitchFunctionKey|use(Moved(Mask)?|E(ntered(Mask)?|ventSubtype|xited(Mask)?))|veToBezierPathElement|mentary(ChangeButton|Push(Button|InButton)|Light(Button)?))|enuFunctionKey|a(c(intoshInterfaceStyle|OSRomanStringEncoding)|tchesPredicateOperatorType|ppedRead|x(XEdge|YEdge))|ACHOperatingSystem)|B(MPFileType|o(ttomTabsBezelBorder|ldFontMask|rderlessWindowMask|x(Se(condary|parator)|OldStyle|Primary))|uttLineCapStyle|e(zelBorder|velLineJoinStyle|low(Bottom|Top)|gin(sWith(Comparison|PredicateOperatorType)|FunctionKey))|lueControlTint|ack(spaceCharacter|tabTextMovement|ingStore(Retained|Buffered|Nonretained)|TabCharacter|wardsSearch|groundTab)|r(owser(NoColumnResizing|UserColumnResizing|AutoColumnResizing)|eakFunctionKey))|S(h(ift(JISStringEncoding|KeyMask)|ow(ControlGlyphs|InvisibleGlyphs)|adowlessSquareBezelStyle)|y(s(ReqFunctionKey|tem(D(omainMask|efined(Mask)?)|FunctionKey))|mbolStringEncoding)|c(a(nnedOption|le(None|ToFit|Proportionally))|r(oll(er(NoPart|Increment(Page|Line|Arrow)|Decrement(Page|Line|Arrow)|Knob(Slot)?|Arrows(M(inEnd|axEnd)|None|DefaultSetting))|Wheel(Mask)?|LockFunctionKey)|eenChangedEventType))|t(opFunctionKey|r(ingDrawing(OneShot|DisableScreenFontSubstitution|Uses(DeviceMetrics|FontLeading|LineFragmentOrigin))|eam(Status(Reading|NotOpen|Closed|Open(ing)?|Error|Writing|AtEnd)|Event(Has(BytesAvailable|SpaceAvailable)|None|OpenCompleted|E(ndEncountered|rrorOccurred)))))|i(ngle(DateMode|UnderlineStyle)|ze(DownFontAction|UpFontAction))|olarisOperatingSystem|unOSOperatingSystem|pecialPageOrder|e(condCalendarUnit|lect(By(Character|Paragraph|Word)|i(ng(Next|Previous)|onAffinity(Downstream|Upstream))|edTab|FunctionKey)|gmentSwitchTracking(Momentary|Select(One|Any)))|quareLineCapStyle|witchButton|ave(ToOperation|Op(tions(Yes|No|Ask)|eration)|AsOperation)|mall(SquareBezelStyle|C(ontrolSize|apsFontMask)|IconButtonBezelStyle))|H(ighlightModeMatrix|SBModeColorPanel|o(ur(Minute(SecondDatePickerElementFlag|DatePickerElementFlag)|CalendarUnit)|rizontalRuler|meFunctionKey)|TTPCookieAcceptPolicy(Never|OnlyFromMainDocumentDomain|Always)|e(lp(ButtonBezelStyle|KeyMask|FunctionKey)|avierFontAction)|PUXOperatingSystem)|Year(MonthDa(yDatePickerElementFlag|tePickerElementFlag)|CalendarUnit)|N(o(n(StandardCharacterSetFontMask|ZeroWindingRule|activatingPanelMask|LossyASCIIStringEncoding)|Border|t(ification(SuspensionBehavior(Hold|Coalesce|D(eliverImmediately|rop))|NoCoalescing|CoalescingOn(Sender|Name)|DeliverImmediately|PostToAllSessions)|PredicateType|EqualToPredicateOperatorType)|S(cr(iptError|ollerParts)|ubelement|pecifierError)|CellMask|T(itle|opLevelContainersSpecifierError|abs(BezelBorder|NoBorder|LineBorder))|I(nterfaceStyle|mage)|UnderlineStyle|FontChangeAction)|u(ll(Glyph|CellType)|m(eric(Search|PadKeyMask)|berFormatter(Round(Half(Down|Up|Even)|Ceiling|Down|Up|Floor)|Behavior(10|Default)|S(cientificStyle|pellOutStyle)|NoStyle|CurrencyStyle|DecimalStyle|P(ercentStyle|ad(Before(Suffix|Prefix)|After(Suffix|Prefix))))))|e(t(Services(BadArgumentError|NotFoundError|C(ollisionError|ancelledError)|TimeoutError|InvalidError|UnknownError|ActivityInProgress)|workDomainMask)|wlineCharacter|xt(StepInterfaceStyle|FunctionKey))|EXTSTEPStringEncoding|a(t(iveShortGlyphPacking|uralTextAlignment)|rrowFontMask))|C(hange(ReadOtherContents|GrayCell(Mask)?|BackgroundCell(Mask)?|Cleared|Done|Undone|Autosaved)|MYK(ModeColorPanel|ColorSpaceModel)|ircular(BezelStyle|Slider)|o(n(stantValueExpressionType|t(inuousCapacityLevelIndicatorStyle|entsCellMask|ain(sComparison|erSpecifierError)|rol(Glyph|KeyMask))|densedFontMask)|lor(Panel(RGBModeMask|GrayModeMask|HSBModeMask|C(MYKModeMask|olorListModeMask|ustomPaletteModeMask|rayonModeMask)|WheelModeMask|AllModesMask)|ListModeColorPanel)|reServiceDirectory|m(p(osite(XOR|Source(In|O(ut|ver)|Atop)|Highlight|C(opy|lear)|Destination(In|O(ut|ver)|Atop)|Plus(Darker|Lighter))|ressedFontMask)|mandKeyMask))|u(stom(SelectorPredicateOperatorType|PaletteModeColorPanel)|r(sor(Update(Mask)?|PointingDevice)|veToBezierPathElement))|e(nterT(extAlignment|abStopType)|ll(State|H(ighlighted|as(Image(Horizontal|OnLeftOrBottom)|OverlappingImage))|ChangesContents|Is(Bordered|InsetButton)|Disabled|Editable|LightsBy(Gray|Background|Contents)|AllowsMixedState))|l(ipPagination|o(s(ePathBezierPathElement|ableWindowMask)|ckAndCalendarDatePickerStyle)|ear(ControlTint|DisplayFunctionKey|LineFunctionKey))|a(seInsensitive(Search|PredicateOption)|n(notCreateScriptCommandError|cel(Button|TextMovement))|chesDirectory|lculation(NoError|Overflow|DivideByZero|Underflow|LossOfPrecision)|rriageReturnCharacter)|r(itical(Request|AlertStyle)|ayonModeColorPanel))|T(hick(SquareBezelStyle|erSquareBezelStyle)|ypesetter(Behavior|HorizontalTabAction|ContainerBreakAction|ZeroAdvancementAction|OriginalBehavior|ParagraphBreakAction|WhitespaceAction|L(ineBreakAction|atestBehavior))|i(ckMark(Right|Below|Left|Above)|tledWindowMask|meZoneDatePickerElementFlag)|o(olbarItemVisibilityPriority(Standard|High|User|Low)|pTabsBezelBorder|ggleButton)|IFF(Compression(N(one|EXT)|CCITTFAX(3|4)|OldJPEG|JPEG|PackBits|LZW)|FileType)|e(rminate(Now|Cancel|Later)|xt(Read(InapplicableDocumentTypeError|WriteErrorM(inimum|aximum))|Block(M(i(nimum(Height|Width)|ddleAlignment)|a(rgin|ximum(Height|Width)))|B(o(ttomAlignment|rder)|aselineAlignment)|Height|TopAlignment|P(ercentageValueType|adding)|Width|AbsoluteValueType)|StorageEdited(Characters|Attributes)|CellType|ured(RoundedBezelStyle|BackgroundWindowMask|SquareBezelStyle)|Table(FixedLayoutAlgorithm|AutomaticLayoutAlgorithm)|Field(RoundedBezel|SquareBezel|AndStepperDatePickerStyle)|WriteInapplicableDocumentTypeError|ListPrependEnclosingMarker))|woByteGlyphPacking|ab(Character|TextMovement|le(tP(oint(Mask|EventSubtype)?|roximity(Mask|EventSubtype)?)|Column(NoResizing|UserResizingMask|AutoresizingMask)|View(ReverseSequentialColumnAutoresizingStyle|GridNone|S(olid(HorizontalGridLineMask|VerticalGridLineMask)|equentialColumnAutoresizingStyle)|NoColumnAutoresizing|UniformColumnAutoresizingStyle|FirstColumnOnlyAutoresizingStyle|LastColumnOnlyAutoresizingStyle)))|rackModeMatrix)|I(n(sert(CharFunctionKey|FunctionKey|LineFunctionKey)|t(Type|ernalS(criptError|pecifierError))|dexSubelement|validIndexSpecifierError|formational(Request|AlertStyle)|PredicateOperatorType)|talicFontMask|SO(2022JPStringEncoding|Latin(1StringEncoding|2StringEncoding))|dentityMappingCharacterCollection|llegalTextMovement|mage(R(ight|ep(MatchesDevice|LoadStatus(ReadingHeader|Completed|InvalidData|Un(expectedEOF|knownType)|WillNeedAllData)))|Below|C(ellType|ache(BySize|Never|Default|Always))|Interpolation(High|None|Default|Low)|O(nly|verlaps)|Frame(Gr(oove|ayBezel)|Button|None|Photo)|L(oadStatus(ReadError|C(ompleted|ancelled)|InvalidData|UnexpectedEOF)|eft)|A(lign(Right|Bottom(Right|Left)?|Center|Top(Right|Left)?|Left)|bove)))|O(n(State|eByteGlyphPacking|OffButton|lyScrollerArrows)|ther(Mouse(D(own(Mask)?|ragged(Mask)?)|Up(Mask)?)|TextMovement)|SF1OperatingSystem|pe(n(GL(GO(Re(setLibrary|tainRenderers)|ClearFormatCache|FormatCacheSize)|PFA(R(obust|endererID)|M(inimumPolicy|ulti(sample|Screen)|PSafe|aximumPolicy)|BackingStore|S(creenMask|te(ncilSize|reo)|ingleRenderer|upersample|ample(s|Buffers|Alpha))|NoRecovery|C(o(lor(Size|Float)|mpliant)|losestPolicy)|OffScreen|D(oubleBuffer|epthSize)|PixelBuffer|VirtualScreenCount|FullScreen|Window|A(cc(umSize|elerated)|ux(Buffers|DepthStencil)|l(phaSize|lRenderers))))|StepUnicodeReservedBase)|rationNotSupportedForKeyS(criptError|pecifierError))|ffState|KButton|rPredicateType|bjC(B(itfield|oolType)|S(hortType|tr(ingType|uctType)|electorType)|NoType|CharType|ObjectType|DoubleType|UnionType|PointerType|VoidType|FloatType|Long(Type|longType)|ArrayType))|D(i(s(c(losureBezelStyle|reteCapacityLevelIndicatorStyle)|playWindowRunLoopOrdering)|acriticInsensitivePredicateOption|rect(Selection|PredicateModifier))|o(c(ModalWindowMask|ument(Directory|ationDirectory))|ubleType|wn(TextMovement|ArrowFunctionKey))|e(s(cendingPageOrder|ktopDirectory)|cimalTabStopType|v(ice(NColorSpaceModel|IndependentModifierFlagsMask)|eloper(Directory|ApplicationDirectory))|fault(ControlTint|TokenStyle)|lete(Char(acter|FunctionKey)|FunctionKey|LineFunctionKey)|moApplicationDirectory)|a(yCalendarUnit|teFormatter(MediumStyle|Behavior(10|Default)|ShortStyle|NoStyle|FullStyle|LongStyle))|ra(wer(Clos(ingState|edState)|Open(ingState|State))|gOperation(Generic|Move|None|Copy|Delete|Private|Every|Link|All)))|U(ser(CancelledError|D(irectory|omainMask)|FunctionKey)|RL(Handle(NotLoaded|Load(Succeeded|InProgress|Failed))|CredentialPersistence(None|Permanent|ForSession))|n(scaledWindowMask|cachedRead|i(codeStringEncoding|talicFontMask|fiedTitleAndToolbarWindowMask)|d(o(CloseGroupingRunLoopOrdering|FunctionKey)|e(finedDateComponent|rline(Style(Single|None|Thick|Double)|Pattern(Solid|D(ot|ash(Dot(Dot)?)?)))))|known(ColorSpaceModel|P(ointingDevice|ageOrder)|KeyS(criptError|pecifierError))|boldFontMask)|tilityWindowMask|TF8StringEncoding|p(dateWindowsRunLoopOrdering|TextMovement|ArrowFunctionKey))|J(ustifiedTextAlignment|PEG(2000FileType|FileType)|apaneseEUC(GlyphPacking|StringEncoding))|P(o(s(t(Now|erFontMask|WhenIdle|ASAP)|iti(on(Replace|Be(fore|ginning)|End|After)|ve(IntType|DoubleType|FloatType)))|pUp(NoArrow|ArrowAt(Bottom|Center))|werOffEventType|rtraitOrientation)|NGFileType|ush(InCell(Mask)?|OnPushOffButton)|e(n(TipMask|UpperSideMask|PointingDevice|LowerSideMask)|riodic(Mask)?)|P(S(caleField|tatus(Title|Field)|aveButton)|N(ote(Title|Field)|ame(Title|Field))|CopiesField|TitleField|ImageButton|OptionsButton|P(a(perFeedButton|ge(Range(To|From)|ChoiceMatrix))|reviewButton)|LayoutButton)|lainTextTokenStyle|a(useFunctionKey|ragraphSeparatorCharacter|ge(DownFunctionKey|UpFunctionKey))|r(int(ing(ReplyLater|Success|Cancelled|Failure)|ScreenFunctionKey|erTable(NotFound|OK|Error)|FunctionKey)|o(p(ertyList(XMLFormat|MutableContainers(AndLeaves)?|BinaryFormat|Immutable|OpenStepFormat)|rietaryStringEncoding)|gressIndicator(BarStyle|SpinningStyle|Preferred(SmallThickness|Thickness|LargeThickness|AquaThickness)))|e(ssedTab|vFunctionKey))|L(HeightForm|CancelButton|TitleField|ImageButton|O(KButton|rientationMatrix)|UnitsButton|PaperNameButton|WidthForm))|E(n(terCharacter|d(sWith(Comparison|PredicateOperatorType)|FunctionKey))|v(e(nOddWindingRule|rySubelement)|aluatedObjectExpressionType)|qualTo(Comparison|PredicateOperatorType)|ra(serPointingDevice|CalendarUnit|DatePickerElementFlag)|x(clude(10|QuickDrawElementsIconCreationOption)|pandedFontMask|ecuteFunctionKey))|V(i(ew(M(in(XMargin|YMargin)|ax(XMargin|YMargin))|HeightSizable|NotSizable|WidthSizable)|aPanelFontAction)|erticalRuler|a(lidationErrorM(inimum|aximum)|riableExpressionType))|Key(SpecifierEvaluationScriptError|Down(Mask)?|Up(Mask)?|PathExpressionType|Value(MinusSetMutation|SetSetMutation|Change(Re(placement|moval)|Setting|Insertion)|IntersectSetMutation|ObservingOption(New|Old)|UnionSetMutation|ValidationError))|QTMovie(NormalPlayback|Looping(BackAndForthPlayback|Playback))|F(1(1FunctionKey|7FunctionKey|2FunctionKey|8FunctionKey|3FunctionKey|9FunctionKey|4FunctionKey|5FunctionKey|FunctionKey|0FunctionKey|6FunctionKey)|7FunctionKey|i(nd(PanelAction(Replace(A(ndFind|ll(InSelection)?))?|S(howFindPanel|e(tFindString|lectAll(InSelection)?))|Next|Previous)|FunctionKey)|tPagination|le(Read(No(SuchFileError|PermissionError)|CorruptFileError|In(validFileNameError|applicableStringEncodingError)|Un(supportedSchemeError|knownError))|HandlingPanel(CancelButton|OKButton)|NoSuchFileError|ErrorM(inimum|aximum)|Write(NoPermissionError|In(validFileNameError|applicableStringEncodingError)|OutOfSpaceError|Un(supportedSchemeError|knownError))|LockingError)|xedPitchFontMask)|2(1FunctionKey|7FunctionKey|2FunctionKey|8FunctionKey|3FunctionKey|9FunctionKey|4FunctionKey|5FunctionKey|FunctionKey|0FunctionKey|6FunctionKey)|o(nt(Mo(noSpaceTrait|dernSerifsClass)|BoldTrait|S(ymbolicClass|criptsClass|labSerifsClass|ansSerifClass)|C(o(ndensedTrait|llectionApplicationOnlyMask)|larendonSerifsClass)|TransitionalSerifsClass|I(ntegerAdvancementsRenderingMode|talicTrait)|O(ldStyleSerifsClass|rnamentalsClass)|DefaultRenderingMode|U(nknownClass|IOptimizedTrait)|Panel(S(hadowEffectModeMask|t(andardModesMask|rikethroughEffectModeMask)|izeModeMask)|CollectionModeMask|TextColorEffectModeMask|DocumentColorEffectModeMask|UnderlineEffectModeMask|FaceModeMask|All(ModesMask|EffectsModeMask))|ExpandedTrait|VerticalTrait|F(amilyClassMask|reeformSerifsClass)|Antialiased(RenderingMode|IntegerAdvancementsRenderingMode))|cusRing(Below|Type(None|Default|Exterior)|Only|Above)|urByteGlyphPacking|rm(attingError(M(inimum|aximum))?|FeedCharacter))|8FunctionKey|unction(ExpressionType|KeyMask)|3(1FunctionKey|2FunctionKey|3FunctionKey|4FunctionKey|5FunctionKey|FunctionKey|0FunctionKey)|9FunctionKey|4FunctionKey|P(RevertButton|S(ize(Title|Field)|etButton)|CurrentField|Preview(Button|Field))|l(oat(ingPointSamplesBitmapFormat|Type)|agsChanged(Mask)?)|axButton|5FunctionKey|6FunctionKey)|W(heelModeColorPanel|indow(s(NTOperatingSystem|CP125(1StringEncoding|2StringEncoding|3StringEncoding|4StringEncoding|0StringEncoding)|95(InterfaceStyle|OperatingSystem))|M(iniaturizeButton|ovedEventType)|Below|CloseButton|ToolbarButton|ZoomButton|Out|DocumentIconButton|ExposedEventType|Above)|orkspaceLaunch(NewInstance|InhibitingBackgroundOnly|Default|PreferringClassic|WithoutA(ctivation|ddingToRecents)|A(sync|nd(Hide(Others)?|Print)|llowingClassicStartup))|eek(day(CalendarUnit|OrdinalCalendarUnit)|CalendarUnit)|a(ntsBidiLevels|rningAlertStyle)|r(itingDirection(RightToLeft|Natural|LeftToRight)|apCalendarComponents))|L(i(stModeMatrix|ne(Moves(Right|Down|Up|Left)|B(order|reakBy(C(harWrapping|lipping)|Truncating(Middle|Head|Tail)|WordWrapping))|S(eparatorCharacter|weep(Right|Down|Up|Left))|ToBezierPathElement|DoesntMove|arSlider)|teralSearch|kePredicateOperatorType|ghterFontAction|braryDirectory)|ocalDomainMask|e(ssThan(Comparison|OrEqualTo(Comparison|PredicateOperatorType)|PredicateOperatorType)|ft(Mouse(D(own(Mask)?|ragged(Mask)?)|Up(Mask)?)|T(ext(Movement|Alignment)|ab(sBezelBorder|StopType))|ArrowFunctionKey))|a(yout(RightToLeft|NotDone|CantFit|OutOfGlyphs|Done|LeftToRight)|ndscapeOrientation)|ABColorSpaceModel)|A(sc(iiWithDoubleByteEUCGlyphPacking|endingPageOrder)|n(y(Type|PredicateModifier|EventMask)|choredSearch|imation(Blocking|Nonblocking(Threaded)?|E(ffect(DisappearingItemDefault|Poof)|ase(In(Out)?|Out))|Linear)|dPredicateType)|t(Bottom|tachmentCharacter|omicWrite|Top)|SCIIStringEncoding|d(obe(GB1CharacterCollection|CNS1CharacterCollection|Japan(1CharacterCollection|2CharacterCollection)|Korea1CharacterCollection)|dTraitFontAction|minApplicationDirectory)|uto(saveOperation|Pagination)|pp(lication(SupportDirectory|D(irectory|e(fined(Mask)?|legateReply(Success|Cancel|Failure)|activatedEventType))|ActivatedEventType)|KitDefined(Mask)?)|l(ternateKeyMask|pha(ShiftKeyMask|NonpremultipliedBitmapFormat|FirstBitmapFormat)|ert(SecondButtonReturn|ThirdButtonReturn|OtherReturn|DefaultReturn|ErrorReturn|FirstButtonReturn|AlternateReturn)|l(ScrollerParts|DomainsMask|PredicateModifier|LibrariesDirectory|ApplicationsDirectory))|rgument(sWrongScriptError|EvaluationScriptError)|bove(Bottom|Top)|WTEventType))\\b",
|
281
|
+
"name": "support.constant.cocoa"
|
282
|
+
},
|
283
|
+
{
|
284
|
+
"include": "source.c"
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"include": "#bracketed_content"
|
288
|
+
}
|
289
|
+
],
|
290
|
+
"repository": {
|
291
|
+
"bracketed_content": {
|
292
|
+
"begin": "\\[",
|
293
|
+
"beginCaptures": {
|
294
|
+
"0": {
|
295
|
+
"name": "punctuation.section.scope.begin.objc"
|
296
|
+
}
|
297
|
+
},
|
298
|
+
"end": "\\]",
|
299
|
+
"endCaptures": {
|
300
|
+
"0": {
|
301
|
+
"name": "punctuation.section.scope.end.objc"
|
302
|
+
}
|
303
|
+
},
|
304
|
+
"name": "meta.bracketed.objc",
|
305
|
+
"patterns": [
|
306
|
+
{
|
307
|
+
"begin": "(?=predicateWithFormat:)(?<=NSPredicate )(predicateWithFormat:)",
|
308
|
+
"beginCaptures": {
|
309
|
+
"1": {
|
310
|
+
"name": "support.function.any-method.objc"
|
311
|
+
},
|
312
|
+
"2": {
|
313
|
+
"name": "punctuation.separator.arguments.objc"
|
314
|
+
}
|
315
|
+
},
|
316
|
+
"end": "(?=\\])",
|
317
|
+
"name": "meta.function-call.predicate.objc",
|
318
|
+
"patterns": [
|
319
|
+
{
|
320
|
+
"captures": {
|
321
|
+
"1": {
|
322
|
+
"name": "punctuation.separator.arguments.objc"
|
323
|
+
}
|
324
|
+
},
|
325
|
+
"match": "\\bargument(Array|s)(:)",
|
326
|
+
"name": "support.function.any-method.name-of-parameter.objc"
|
327
|
+
},
|
328
|
+
{
|
329
|
+
"captures": {
|
330
|
+
"1": {
|
331
|
+
"name": "punctuation.separator.arguments.objc"
|
332
|
+
}
|
333
|
+
},
|
334
|
+
"match": "\\b\\w+(:)",
|
335
|
+
"name": "invalid.illegal.unknown-method.objc"
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"begin": "@\"",
|
339
|
+
"beginCaptures": {
|
340
|
+
"0": {
|
341
|
+
"name": "punctuation.definition.string.begin.objc"
|
342
|
+
}
|
343
|
+
},
|
344
|
+
"end": "\"",
|
345
|
+
"endCaptures": {
|
346
|
+
"0": {
|
347
|
+
"name": "punctuation.definition.string.end.objc"
|
348
|
+
}
|
349
|
+
},
|
350
|
+
"name": "string.quoted.double.objc",
|
351
|
+
"patterns": [
|
352
|
+
{
|
353
|
+
"match": "\\b(AND|OR|NOT|IN)\\b",
|
354
|
+
"name": "keyword.operator.logical.predicate.cocoa"
|
355
|
+
},
|
356
|
+
{
|
357
|
+
"match": "\\b(ALL|ANY|SOME|NONE)\\b",
|
358
|
+
"name": "constant.language.predicate.cocoa"
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"match": "\\b(NULL|NIL|SELF|TRUE|YES|FALSE|NO|FIRST|LAST|SIZE)\\b",
|
362
|
+
"name": "constant.language.predicate.cocoa"
|
363
|
+
},
|
364
|
+
{
|
365
|
+
"match": "\\b(MATCHES|CONTAINS|BEGINSWITH|ENDSWITH|BETWEEN)\\b",
|
366
|
+
"name": "keyword.operator.comparison.predicate.cocoa"
|
367
|
+
},
|
368
|
+
{
|
369
|
+
"match": "\\bC(ASEINSENSITIVE|I)\\b",
|
370
|
+
"name": "keyword.other.modifier.predicate.cocoa"
|
371
|
+
},
|
372
|
+
{
|
373
|
+
"match": "\\b(ANYKEY|SUBQUERY|CAST|TRUEPREDICATE|FALSEPREDICATE)\\b",
|
374
|
+
"name": "keyword.other.predicate.cocoa"
|
375
|
+
},
|
376
|
+
{
|
377
|
+
"match": "\\\\(\\\\|[abefnrtv'\"?]|[0-3]\\d{,2}|[4-7]\\d?|x[a-zA-Z0-9]+)",
|
378
|
+
"name": "constant.character.escape.objc"
|
379
|
+
},
|
380
|
+
{
|
381
|
+
"match": "\\\\.",
|
382
|
+
"name": "invalid.illegal.unknown-escape.objc"
|
383
|
+
}
|
384
|
+
]
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"include": "#special_variables"
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"include": "#c_functions"
|
391
|
+
},
|
392
|
+
{
|
393
|
+
"include": "$base"
|
394
|
+
}
|
395
|
+
]
|
396
|
+
},
|
397
|
+
{
|
398
|
+
"begin": "(?=\\w)(?<=[\\w\\])\"] )(\\w+(?:(:)|(?=\\])))",
|
399
|
+
"beginCaptures": {
|
400
|
+
"1": {
|
401
|
+
"name": "support.function.any-method.objc"
|
402
|
+
},
|
403
|
+
"2": {
|
404
|
+
"name": "punctuation.separator.arguments.objc"
|
405
|
+
}
|
406
|
+
},
|
407
|
+
"end": "(?=\\])",
|
408
|
+
"name": "meta.function-call.objc",
|
409
|
+
"patterns": [
|
410
|
+
{
|
411
|
+
"captures": {
|
412
|
+
"1": {
|
413
|
+
"name": "punctuation.separator.arguments.objc"
|
414
|
+
}
|
415
|
+
},
|
416
|
+
"match": "\\b\\w+(:)",
|
417
|
+
"name": "support.function.any-method.name-of-parameter.objc"
|
418
|
+
},
|
419
|
+
{
|
420
|
+
"include": "#special_variables"
|
421
|
+
},
|
422
|
+
{
|
423
|
+
"include": "#c_functions"
|
424
|
+
},
|
425
|
+
{
|
426
|
+
"include": "$base"
|
427
|
+
}
|
428
|
+
]
|
429
|
+
},
|
430
|
+
{
|
431
|
+
"include": "#special_variables"
|
432
|
+
},
|
433
|
+
{
|
434
|
+
"include": "#c_functions"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"include": "$self"
|
438
|
+
}
|
439
|
+
]
|
440
|
+
},
|
441
|
+
"c_functions": {
|
442
|
+
"patterns": [
|
443
|
+
{
|
444
|
+
"captures": {
|
445
|
+
"1": {
|
446
|
+
"name": "punctuation.whitespace.support.function.leading.c"
|
447
|
+
},
|
448
|
+
"2": {
|
449
|
+
"name": "support.function.C99.c"
|
450
|
+
}
|
451
|
+
},
|
452
|
+
"match": "(\\s*)\\b(hypot(f|l)?|s(scanf|ystem|nprintf|ca(nf|lb(n(f|l)?|ln(f|l)?))|i(n(h(f|l)?|f|l)?|gn(al|bit))|tr(s(tr|pn)|nc(py|at|mp)|c(spn|hr|oll|py|at|mp)|to(imax|d|u(l(l)?|max)|k|f|l(d|l)?)|error|pbrk|ftime|len|rchr|xfrm)|printf|et(jmp|vbuf|locale|buf)|qrt(f|l)?|w(scanf|printf)|rand)|n(e(arbyint(f|l)?|xt(toward(f|l)?|after(f|l)?))|an(f|l)?)|c(s(in(h(f|l)?|f|l)?|qrt(f|l)?)|cos(h(f)?|f|l)?|imag(f|l)?|t(ime|an(h(f|l)?|f|l)?)|o(s(h(f|l)?|f|l)?|nj(f|l)?|pysign(f|l)?)|p(ow(f|l)?|roj(f|l)?)|e(il(f|l)?|xp(f|l)?)|l(o(ck|g(f|l)?)|earerr)|a(sin(h(f|l)?|f|l)?|cos(h(f|l)?|f|l)?|tan(h(f|l)?|f|l)?|lloc|rg(f|l)?|bs(f|l)?)|real(f|l)?|brt(f|l)?)|t(ime|o(upper|lower)|an(h(f|l)?|f|l)?|runc(f|l)?|gamma(f|l)?|mp(nam|file))|i(s(space|n(ormal|an)|cntrl|inf|digit|u(nordered|pper)|p(unct|rint)|finite|w(space|c(ntrl|type)|digit|upper|p(unct|rint)|lower|al(num|pha)|graph|xdigit|blank)|l(ower|ess(equal|greater)?)|al(num|pha)|gr(eater(equal)?|aph)|xdigit|blank)|logb(f|l)?|max(div|abs))|di(v|fftime)|_Exit|unget(c|wc)|p(ow(f|l)?|ut(s|c(har)?|wc(har)?)|error|rintf)|e(rf(c(f|l)?|f|l)?|x(it|p(2(f|l)?|f|l|m1(f|l)?)?))|v(s(scanf|nprintf|canf|printf|w(scanf|printf))|printf|f(scanf|printf|w(scanf|printf))|w(scanf|printf)|a_(start|copy|end|arg))|qsort|f(s(canf|e(tpos|ek))|close|tell|open|dim(f|l)?|p(classify|ut(s|c|w(s|c))|rintf)|e(holdexcept|set(e(nv|xceptflag)|round)|clearexcept|testexcept|of|updateenv|r(aiseexcept|ror)|get(e(nv|xceptflag)|round))|flush|w(scanf|ide|printf|rite)|loor(f|l)?|abs(f|l)?|get(s|c|pos|w(s|c))|re(open|e|ad|xp(f|l)?)|m(in(f|l)?|od(f|l)?|a(f|l|x(f|l)?)?))|l(d(iv|exp(f|l)?)|o(ngjmp|cal(time|econv)|g(1(p(f|l)?|0(f|l)?)|2(f|l)?|f|l|b(f|l)?)?)|abs|l(div|abs|r(int(f|l)?|ound(f|l)?))|r(int(f|l)?|ound(f|l)?)|gamma(f|l)?)|w(scanf|c(s(s(tr|pn)|nc(py|at|mp)|c(spn|hr|oll|py|at|mp)|to(imax|d|u(l(l)?|max)|k|f|l(d|l)?|mbs)|pbrk|ftime|len|r(chr|tombs)|xfrm)|to(b|mb)|rtomb)|printf|mem(set|c(hr|py|mp)|move))|a(s(sert|ctime|in(h(f|l)?|f|l)?)|cos(h(f|l)?|f|l)?|t(o(i|f|l(l)?)|exit|an(h(f|l)?|2(f|l)?|f|l)?)|b(s|ort))|g(et(s|c(har)?|env|wc(har)?)|mtime)|r(int(f|l)?|ound(f|l)?|e(name|alloc|wind|m(ove|quo(f|l)?|ainder(f|l)?))|a(nd|ise))|b(search|towc)|m(odf(f|l)?|em(set|c(hr|py|mp)|move)|ktime|alloc|b(s(init|towcs|rtowcs)|towc|len|r(towc|len))))\\b"
|
453
|
+
},
|
454
|
+
{
|
455
|
+
"captures": {
|
456
|
+
"1": {
|
457
|
+
"name": "punctuation.whitespace.function-call.leading.c"
|
458
|
+
},
|
459
|
+
"2": {
|
460
|
+
"name": "support.function.any-method.c"
|
461
|
+
},
|
462
|
+
"3": {
|
463
|
+
"name": "punctuation.definition.parameters.c"
|
464
|
+
}
|
465
|
+
},
|
466
|
+
"match": "(?x) (?: (?= \\s ) (?:(?<=else|new|return) | (?<!\\w)) (\\s+))?\n \t\t\t(\\b \n \t\t\t\t(?!(while|for|do|if|else|switch|catch|enumerate|return|r?iterate)\\s*\\()(?:(?!NS)[A-Za-z_][A-Za-z0-9_]*+\\b | :: )++ # actual name\n \t\t\t)\n \t\t\t \\s*(\\()",
|
467
|
+
"name": "meta.function-call.c"
|
468
|
+
}
|
469
|
+
]
|
470
|
+
},
|
471
|
+
"comment": {
|
472
|
+
"patterns": [
|
473
|
+
{
|
474
|
+
"begin": "/\\*",
|
475
|
+
"captures": {
|
476
|
+
"0": {
|
477
|
+
"name": "punctuation.definition.comment.objc"
|
478
|
+
}
|
479
|
+
},
|
480
|
+
"end": "\\*/",
|
481
|
+
"name": "comment.block.objc"
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"begin": "//",
|
485
|
+
"beginCaptures": {
|
486
|
+
"0": {
|
487
|
+
"name": "punctuation.definition.comment.objc"
|
488
|
+
}
|
489
|
+
},
|
490
|
+
"end": "$\\n?",
|
491
|
+
"name": "comment.line.double-slash.c++",
|
492
|
+
"patterns": [
|
493
|
+
{
|
494
|
+
"match": "(?>\\\\\\s*\\n)",
|
495
|
+
"name": "punctuation.separator.continuation.c++"
|
496
|
+
}
|
497
|
+
]
|
498
|
+
}
|
499
|
+
]
|
500
|
+
},
|
501
|
+
"disabled": {
|
502
|
+
"begin": "^\\s*#\\s*if(n?def)?\\b.*$",
|
503
|
+
"comment": "eat nested preprocessor if(def)s",
|
504
|
+
"end": "^\\s*#\\s*endif\\b.*$",
|
505
|
+
"patterns": [
|
506
|
+
{
|
507
|
+
"include": "#disabled"
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"include": "#pragma-mark"
|
511
|
+
}
|
512
|
+
]
|
513
|
+
},
|
514
|
+
"implementation_innards": {
|
515
|
+
"patterns": [
|
516
|
+
{
|
517
|
+
"include": "#preprocessor-rule-enabled-implementation"
|
518
|
+
},
|
519
|
+
{
|
520
|
+
"include": "#preprocessor-rule-disabled-implementation"
|
521
|
+
},
|
522
|
+
{
|
523
|
+
"include": "#preprocessor-rule-other-implementation"
|
524
|
+
},
|
525
|
+
{
|
526
|
+
"include": "#property_directive"
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"include": "#special_variables"
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"include": "#method_super"
|
533
|
+
},
|
534
|
+
{
|
535
|
+
"include": "$base"
|
536
|
+
}
|
537
|
+
]
|
538
|
+
},
|
539
|
+
"interface_innards": {
|
540
|
+
"patterns": [
|
541
|
+
{
|
542
|
+
"include": "#preprocessor-rule-enabled-interface"
|
543
|
+
},
|
544
|
+
{
|
545
|
+
"include": "#preprocessor-rule-disabled-interface"
|
546
|
+
},
|
547
|
+
{
|
548
|
+
"include": "#preprocessor-rule-other-interface"
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"include": "#properties"
|
552
|
+
},
|
553
|
+
{
|
554
|
+
"include": "#protocol_list"
|
555
|
+
},
|
556
|
+
{
|
557
|
+
"include": "#method"
|
558
|
+
},
|
559
|
+
{
|
560
|
+
"include": "$base"
|
561
|
+
}
|
562
|
+
]
|
563
|
+
},
|
564
|
+
"method": {
|
565
|
+
"begin": "^(-|\\+)\\s*",
|
566
|
+
"end": "(?=\\{|#)|;",
|
567
|
+
"name": "meta.function.objc",
|
568
|
+
"patterns": [
|
569
|
+
{
|
570
|
+
"begin": "(\\()",
|
571
|
+
"captures": {
|
572
|
+
"1": {
|
573
|
+
"name": "punctuation.definition.type.objc"
|
574
|
+
},
|
575
|
+
"2": {
|
576
|
+
"name": "entity.name.function.objc"
|
577
|
+
}
|
578
|
+
},
|
579
|
+
"end": "(\\))\\s*(\\w+\\b)",
|
580
|
+
"name": "meta.return-type.objc",
|
581
|
+
"patterns": [
|
582
|
+
{
|
583
|
+
"include": "#protocol_list"
|
584
|
+
},
|
585
|
+
{
|
586
|
+
"include": "#protocol_type_qualifier"
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"include": "$base"
|
590
|
+
}
|
591
|
+
]
|
592
|
+
},
|
593
|
+
{
|
594
|
+
"match": "\\b\\w+(?=:)",
|
595
|
+
"name": "entity.name.function.name-of-parameter.objc"
|
596
|
+
},
|
597
|
+
{
|
598
|
+
"begin": "((:))\\s*(\\()",
|
599
|
+
"beginCaptures": {
|
600
|
+
"1": {
|
601
|
+
"name": "entity.name.function.name-of-parameter.objc"
|
602
|
+
},
|
603
|
+
"2": {
|
604
|
+
"name": "punctuation.separator.arguments.objc"
|
605
|
+
},
|
606
|
+
"3": {
|
607
|
+
"name": "punctuation.definition.type.objc"
|
608
|
+
}
|
609
|
+
},
|
610
|
+
"end": "(\\))\\s*(\\w+\\b)?",
|
611
|
+
"endCaptures": {
|
612
|
+
"1": {
|
613
|
+
"name": "punctuation.definition.type.objc"
|
614
|
+
},
|
615
|
+
"2": {
|
616
|
+
"name": "variable.parameter.function.objc"
|
617
|
+
}
|
618
|
+
},
|
619
|
+
"name": "meta.argument-type.objc",
|
620
|
+
"patterns": [
|
621
|
+
{
|
622
|
+
"include": "#protocol_list"
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"include": "#protocol_type_qualifier"
|
626
|
+
},
|
627
|
+
{
|
628
|
+
"include": "$base"
|
629
|
+
}
|
630
|
+
]
|
631
|
+
},
|
632
|
+
{
|
633
|
+
"include": "#comment"
|
634
|
+
}
|
635
|
+
]
|
636
|
+
},
|
637
|
+
"method_super": {
|
638
|
+
"begin": "^(?=-|\\+)",
|
639
|
+
"end": "(?<=\\})|(?=#)",
|
640
|
+
"name": "meta.function-with-body.objc",
|
641
|
+
"patterns": [
|
642
|
+
{
|
643
|
+
"include": "#method"
|
644
|
+
},
|
645
|
+
{
|
646
|
+
"include": "$base"
|
647
|
+
}
|
648
|
+
]
|
649
|
+
},
|
650
|
+
"pragma-mark": {
|
651
|
+
"captures": {
|
652
|
+
"1": {
|
653
|
+
"name": "meta.preprocessor.c"
|
654
|
+
},
|
655
|
+
"2": {
|
656
|
+
"name": "keyword.control.import.pragma.c"
|
657
|
+
},
|
658
|
+
"3": {
|
659
|
+
"name": "meta.toc-list.pragma-mark.c"
|
660
|
+
}
|
661
|
+
},
|
662
|
+
"match": "^\\s*(#\\s*(pragma\\s+mark)\\s+(.*))",
|
663
|
+
"name": "meta.section"
|
664
|
+
},
|
665
|
+
"preprocessor-rule-disabled-implementation": {
|
666
|
+
"begin": "^\\s*(#(if)\\s+(0)\\b).*",
|
667
|
+
"captures": {
|
668
|
+
"1": {
|
669
|
+
"name": "meta.preprocessor.c"
|
670
|
+
},
|
671
|
+
"2": {
|
672
|
+
"name": "keyword.control.import.if.c"
|
673
|
+
},
|
674
|
+
"3": {
|
675
|
+
"name": "constant.numeric.preprocessor.c"
|
676
|
+
}
|
677
|
+
},
|
678
|
+
"end": "^\\s*(#\\s*(endif)\\b.*?(?:(?=(?://|/\\*))|$))",
|
679
|
+
"patterns": [
|
680
|
+
{
|
681
|
+
"begin": "^\\s*(#\\s*(else)\\b)",
|
682
|
+
"captures": {
|
683
|
+
"1": {
|
684
|
+
"name": "meta.preprocessor.c"
|
685
|
+
},
|
686
|
+
"2": {
|
687
|
+
"name": "keyword.control.import.else.c"
|
688
|
+
}
|
689
|
+
},
|
690
|
+
"end": "(?=^\\s*#\\s*endif\\b.*?(?:(?=(?://|/\\*))|$))",
|
691
|
+
"patterns": [
|
692
|
+
{
|
693
|
+
"include": "#interface_innards"
|
694
|
+
}
|
695
|
+
]
|
696
|
+
},
|
697
|
+
{
|
698
|
+
"begin": "",
|
699
|
+
"end": "(?=^\\s*#\\s*(else|endif)\\b.*?(?:(?=(?://|/\\*))|$))",
|
700
|
+
"name": "comment.block.preprocessor.if-branch.c",
|
701
|
+
"patterns": [
|
702
|
+
{
|
703
|
+
"include": "#disabled"
|
704
|
+
},
|
705
|
+
{
|
706
|
+
"include": "#pragma-mark"
|
707
|
+
}
|
708
|
+
]
|
709
|
+
}
|
710
|
+
]
|
711
|
+
},
|
712
|
+
"preprocessor-rule-disabled-interface": {
|
713
|
+
"begin": "^\\s*(#(if)\\s+(0)\\b).*",
|
714
|
+
"captures": {
|
715
|
+
"1": {
|
716
|
+
"name": "meta.preprocessor.c"
|
717
|
+
},
|
718
|
+
"2": {
|
719
|
+
"name": "keyword.control.import.if.c"
|
720
|
+
},
|
721
|
+
"3": {
|
722
|
+
"name": "constant.numeric.preprocessor.c"
|
723
|
+
}
|
724
|
+
},
|
725
|
+
"end": "^\\s*(#\\s*(endif)\\b.*?(?:(?=(?://|/\\*))|$))",
|
726
|
+
"patterns": [
|
727
|
+
{
|
728
|
+
"begin": "^\\s*(#\\s*(else)\\b)",
|
729
|
+
"captures": {
|
730
|
+
"1": {
|
731
|
+
"name": "meta.preprocessor.c"
|
732
|
+
},
|
733
|
+
"2": {
|
734
|
+
"name": "keyword.control.import.else.c"
|
735
|
+
}
|
736
|
+
},
|
737
|
+
"end": "(?=^\\s*#\\s*endif\\b.*?(?:(?=(?://|/\\*))|$))",
|
738
|
+
"patterns": [
|
739
|
+
{
|
740
|
+
"include": "#interface_innards"
|
741
|
+
}
|
742
|
+
]
|
743
|
+
},
|
744
|
+
{
|
745
|
+
"begin": "",
|
746
|
+
"end": "(?=^\\s*#\\s*(else|endif)\\b.*?(?:(?=(?://|/\\*))|$))",
|
747
|
+
"name": "comment.block.preprocessor.if-branch.c",
|
748
|
+
"patterns": [
|
749
|
+
{
|
750
|
+
"include": "#disabled"
|
751
|
+
},
|
752
|
+
{
|
753
|
+
"include": "#pragma-mark"
|
754
|
+
}
|
755
|
+
]
|
756
|
+
}
|
757
|
+
]
|
758
|
+
},
|
759
|
+
"preprocessor-rule-enabled-implementation": {
|
760
|
+
"begin": "^\\s*(#(if)\\s+(0*1)\\b)",
|
761
|
+
"captures": {
|
762
|
+
"1": {
|
763
|
+
"name": "meta.preprocessor.c"
|
764
|
+
},
|
765
|
+
"2": {
|
766
|
+
"name": "keyword.control.import.if.c"
|
767
|
+
},
|
768
|
+
"3": {
|
769
|
+
"name": "constant.numeric.preprocessor.c"
|
770
|
+
}
|
771
|
+
},
|
772
|
+
"end": "^\\s*(#\\s*(endif)\\b.*?(?:(?=(?://|/\\*))|$))",
|
773
|
+
"patterns": [
|
774
|
+
{
|
775
|
+
"begin": "^\\s*(#\\s*(else)\\b).*",
|
776
|
+
"captures": {
|
777
|
+
"1": {
|
778
|
+
"name": "meta.preprocessor.c"
|
779
|
+
},
|
780
|
+
"2": {
|
781
|
+
"name": "keyword.control.import.else.c"
|
782
|
+
}
|
783
|
+
},
|
784
|
+
"contentName": "comment.block.preprocessor.else-branch.c",
|
785
|
+
"end": "(?=^\\s*#\\s*endif\\b.*?(?:(?=(?://|/\\*))|$))",
|
786
|
+
"patterns": [
|
787
|
+
{
|
788
|
+
"include": "#disabled"
|
789
|
+
},
|
790
|
+
{
|
791
|
+
"include": "#pragma-mark"
|
792
|
+
}
|
793
|
+
]
|
794
|
+
},
|
795
|
+
{
|
796
|
+
"begin": "",
|
797
|
+
"end": "(?=^\\s*#\\s*(else|endif)\\b.*?(?:(?=(?://|/\\*))|$))",
|
798
|
+
"patterns": [
|
799
|
+
{
|
800
|
+
"include": "#implementation_innards"
|
801
|
+
}
|
802
|
+
]
|
803
|
+
}
|
804
|
+
]
|
805
|
+
},
|
806
|
+
"preprocessor-rule-enabled-interface": {
|
807
|
+
"begin": "^\\s*(#(if)\\s+(0*1)\\b)",
|
808
|
+
"captures": {
|
809
|
+
"1": {
|
810
|
+
"name": "meta.preprocessor.c"
|
811
|
+
},
|
812
|
+
"2": {
|
813
|
+
"name": "keyword.control.import.if.c"
|
814
|
+
},
|
815
|
+
"3": {
|
816
|
+
"name": "constant.numeric.preprocessor.c"
|
817
|
+
}
|
818
|
+
},
|
819
|
+
"end": "^\\s*(#\\s*(endif)\\b.*?(?:(?=(?://|/\\*))|$))",
|
820
|
+
"patterns": [
|
821
|
+
{
|
822
|
+
"begin": "^\\s*(#\\s*(else)\\b).*",
|
823
|
+
"captures": {
|
824
|
+
"1": {
|
825
|
+
"name": "meta.preprocessor.c"
|
826
|
+
},
|
827
|
+
"2": {
|
828
|
+
"name": "keyword.control.import.else.c"
|
829
|
+
}
|
830
|
+
},
|
831
|
+
"contentName": "comment.block.preprocessor.else-branch.c",
|
832
|
+
"end": "(?=^\\s*#\\s*endif\\b.*?(?:(?=(?://|/\\*))|$))",
|
833
|
+
"patterns": [
|
834
|
+
{
|
835
|
+
"include": "#disabled"
|
836
|
+
},
|
837
|
+
{
|
838
|
+
"include": "#pragma-mark"
|
839
|
+
}
|
840
|
+
]
|
841
|
+
},
|
842
|
+
{
|
843
|
+
"begin": "",
|
844
|
+
"end": "(?=^\\s*#\\s*(else|endif)\\b.*?(?:(?=(?://|/\\*))|$))",
|
845
|
+
"patterns": [
|
846
|
+
{
|
847
|
+
"include": "#interface_innards"
|
848
|
+
}
|
849
|
+
]
|
850
|
+
}
|
851
|
+
]
|
852
|
+
},
|
853
|
+
"preprocessor-rule-other-implementation": {
|
854
|
+
"begin": "^\\s*(#\\s*(if(n?def)?)\\b.*?(?:(?=(?://|/\\*))|$))",
|
855
|
+
"captures": {
|
856
|
+
"1": {
|
857
|
+
"name": "meta.preprocessor.c"
|
858
|
+
},
|
859
|
+
"2": {
|
860
|
+
"name": "keyword.control.import.c"
|
861
|
+
}
|
862
|
+
},
|
863
|
+
"end": "^\\s*(#\\s*(endif)\\b).*?(?:(?=(?://|/\\*))|$)",
|
864
|
+
"patterns": [
|
865
|
+
{
|
866
|
+
"include": "#implementation_innards"
|
867
|
+
}
|
868
|
+
]
|
869
|
+
},
|
870
|
+
"preprocessor-rule-other-interface": {
|
871
|
+
"begin": "^\\s*(#\\s*(if(n?def)?)\\b.*?(?:(?=(?://|/\\*))|$))",
|
872
|
+
"captures": {
|
873
|
+
"1": {
|
874
|
+
"name": "meta.preprocessor.c"
|
875
|
+
},
|
876
|
+
"2": {
|
877
|
+
"name": "keyword.control.import.c"
|
878
|
+
}
|
879
|
+
},
|
880
|
+
"end": "^\\s*(#\\s*(endif)\\b).*?(?:(?=(?://|/\\*))|$)",
|
881
|
+
"patterns": [
|
882
|
+
{
|
883
|
+
"include": "#interface_innards"
|
884
|
+
}
|
885
|
+
]
|
886
|
+
},
|
887
|
+
"properties": {
|
888
|
+
"patterns": [
|
889
|
+
{
|
890
|
+
"begin": "((@)property)\\s*(\\()",
|
891
|
+
"beginCaptures": {
|
892
|
+
"1": {
|
893
|
+
"name": "keyword.other.property.objc"
|
894
|
+
},
|
895
|
+
"2": {
|
896
|
+
"name": "punctuation.definition.keyword.objc"
|
897
|
+
},
|
898
|
+
"3": {
|
899
|
+
"name": "punctuation.section.scope.begin.objc"
|
900
|
+
}
|
901
|
+
},
|
902
|
+
"end": "(\\))",
|
903
|
+
"endCaptures": {
|
904
|
+
"1": {
|
905
|
+
"name": "punctuation.section.scope.end.objc"
|
906
|
+
}
|
907
|
+
},
|
908
|
+
"name": "meta.property-with-attributes.objc",
|
909
|
+
"patterns": [
|
910
|
+
{
|
911
|
+
"match": "\\b(getter|setter|readonly|readwrite|assign|retain|copy|nonatomic)\\b",
|
912
|
+
"name": "keyword.other.property.attribute"
|
913
|
+
}
|
914
|
+
]
|
915
|
+
},
|
916
|
+
{
|
917
|
+
"captures": {
|
918
|
+
"1": {
|
919
|
+
"name": "keyword.other.property.objc"
|
920
|
+
},
|
921
|
+
"2": {
|
922
|
+
"name": "punctuation.definition.keyword.objc"
|
923
|
+
}
|
924
|
+
},
|
925
|
+
"match": "((@)property)\\b",
|
926
|
+
"name": "meta.property.objc"
|
927
|
+
}
|
928
|
+
]
|
929
|
+
},
|
930
|
+
"property_directive": {
|
931
|
+
"captures": {
|
932
|
+
"1": {
|
933
|
+
"name": "punctuation.definition.keyword.objc"
|
934
|
+
}
|
935
|
+
},
|
936
|
+
"match": "(@)(dynamic|synthesize)\\b",
|
937
|
+
"name": "keyword.other.property.directive.objc"
|
938
|
+
},
|
939
|
+
"protocol_list": {
|
940
|
+
"begin": "(<)",
|
941
|
+
"beginCaptures": {
|
942
|
+
"1": {
|
943
|
+
"name": "punctuation.section.scope.begin.objc"
|
944
|
+
}
|
945
|
+
},
|
946
|
+
"end": "(>)",
|
947
|
+
"endCaptures": {
|
948
|
+
"1": {
|
949
|
+
"name": "punctuation.section.scope.end.objc"
|
950
|
+
}
|
951
|
+
},
|
952
|
+
"name": "meta.protocol-list.objc",
|
953
|
+
"patterns": [
|
954
|
+
{
|
955
|
+
"match": "\\bNS(GlyphStorage|M(utableCopying|enuItem)|C(hangeSpelling|o(ding|pying|lorPicking(Custom|Default)))|T(oolbarItemValidations|ext(Input|AttachmentCell))|I(nputServ(iceProvider|erMouseTracker)|gnoreMisspelledWords)|Obj(CTypeSerializationCallBack|ect)|D(ecimalNumberBehaviors|raggingInfo)|U(serInterfaceValidations|RL(HandleClient|DownloadDelegate|ProtocolClient|AuthenticationChallengeSender))|Validated(ToobarItem|UserInterfaceItem)|Locking)\\b",
|
956
|
+
"name": "support.other.protocol.objc"
|
957
|
+
}
|
958
|
+
]
|
959
|
+
},
|
960
|
+
"protocol_type_qualifier": {
|
961
|
+
"match": "\\b(in|out|inout|oneway|bycopy|byref)\\b",
|
962
|
+
"name": "storage.modifier.protocol.objc"
|
963
|
+
},
|
964
|
+
"special_variables": {
|
965
|
+
"patterns": [
|
966
|
+
{
|
967
|
+
"match": "\\b_cmd\\b",
|
968
|
+
"name": "variable.other.selector.objc"
|
969
|
+
},
|
970
|
+
{
|
971
|
+
"match": "\\b(self|super)\\b",
|
972
|
+
"name": "variable.language.objc"
|
973
|
+
}
|
974
|
+
]
|
975
|
+
}
|
976
|
+
},
|
977
|
+
"scopeName": "source.objc",
|
978
|
+
"uuid": "F85CC716-6B1C-11D9-9A20-000D93589AF6"
|
979
|
+
}
|