ultraviolet 0.10.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. data/.gitmodules +3 -0
  2. data/Gemfile +10 -0
  3. data/Gemfile.lock +28 -0
  4. data/Rakefile +18 -47
  5. data/Readme.md +89 -0
  6. data/bin/theme2latexrender +0 -0
  7. data/bin/theme2xhtmlrender +0 -0
  8. data/bin/uv +0 -0
  9. data/lib/uv.rb +78 -75
  10. data/lib/uv/render_processor.rb +128 -119
  11. data/lib/uv/utility.rb +62 -62
  12. data/lib/uv/version.rb +3 -0
  13. data/spec/spec_helper.rb +2 -0
  14. data/spec/ultraviolet_spec.rb +13 -0
  15. data/ultraviolet.gemspec +15 -0
  16. metadata +123 -271
  17. data/History.txt +0 -25
  18. data/Manifest.txt +0 -233
  19. data/README.txt +0 -52
  20. data/syntax/actionscript.syntax +0 -97
  21. data/syntax/active4d.syntax +0 -276
  22. data/syntax/active4d_html.syntax +0 -311
  23. data/syntax/active4d_ini.syntax +0 -50
  24. data/syntax/active4d_library.syntax +0 -21
  25. data/syntax/ada.syntax +0 -33
  26. data/syntax/antlr.syntax +0 -151
  27. data/syntax/apache.syntax +0 -191
  28. data/syntax/applescript.syntax +0 -384
  29. data/syntax/asp.syntax +0 -70
  30. data/syntax/asp_vb.net.syntax +0 -129
  31. data/syntax/bibtex.syntax +0 -151
  32. data/syntax/blog_html.syntax +0 -41
  33. data/syntax/blog_markdown.syntax +0 -42
  34. data/syntax/blog_text.syntax +0 -27
  35. data/syntax/blog_textile.syntax +0 -27
  36. data/syntax/build.syntax +0 -53
  37. data/syntax/bulletin_board.syntax +0 -287
  38. data/syntax/c++.syntax +0 -109
  39. data/syntax/c.syntax +0 -326
  40. data/syntax/cake.syntax +0 -55
  41. data/syntax/camlp4.syntax +0 -36
  42. data/syntax/cm.syntax +0 -32
  43. data/syntax/coldfusion.syntax +0 -119
  44. data/syntax/context_free.syntax +0 -176
  45. data/syntax/cs.syntax +0 -59
  46. data/syntax/css.syntax +0 -195
  47. data/syntax/css_experimental.syntax +0 -1925
  48. data/syntax/csv.syntax +0 -68
  49. data/syntax/d.syntax +0 -142
  50. data/syntax/diff.syntax +0 -81
  51. data/syntax/dokuwiki.syntax +0 -204
  52. data/syntax/dot.syntax +0 -47
  53. data/syntax/doxygen.syntax +0 -43
  54. data/syntax/dylan.syntax +0 -62
  55. data/syntax/eiffel.syntax +0 -78
  56. data/syntax/erlang.syntax +0 -922
  57. data/syntax/f-script.syntax +0 -80
  58. data/syntax/fortran.syntax +0 -141
  59. data/syntax/fxscript.syntax +0 -142
  60. data/syntax/greasemonkey.syntax +0 -34
  61. data/syntax/gri.syntax +0 -83
  62. data/syntax/groovy.syntax +0 -191
  63. data/syntax/gtd.syntax +0 -22
  64. data/syntax/gtdalt.syntax +0 -143
  65. data/syntax/haml.syntax +0 -88
  66. data/syntax/haskell.syntax +0 -88
  67. data/syntax/html-asp.syntax +0 -27
  68. data/syntax/html.syntax +0 -362
  69. data/syntax/html_django.syntax +0 -36
  70. data/syntax/html_for_asp.net.syntax +0 -424
  71. data/syntax/html_mason.syntax +0 -119
  72. data/syntax/html_rails.syntax +0 -40
  73. data/syntax/html_tcl.syntax +0 -26
  74. data/syntax/icalendar.syntax +0 -32
  75. data/syntax/inform.syntax +0 -48
  76. data/syntax/ini.syntax +0 -55
  77. data/syntax/installer_distribution_script.syntax +0 -77
  78. data/syntax/io.syntax +0 -81
  79. data/syntax/java.syntax +0 -211
  80. data/syntax/javaproperties.syntax +0 -20
  81. data/syntax/javascript.syntax +0 -256
  82. data/syntax/javascript_+_prototype.syntax +0 -72
  83. data/syntax/javascript_+_prototype_bracketed.syntax +0 -140
  84. data/syntax/jquery_javascript.syntax +0 -114
  85. data/syntax/json.syntax +0 -136
  86. data/syntax/languagedefinition.syntax +0 -708
  87. data/syntax/latex.syntax +0 -566
  88. data/syntax/latex_beamer.syntax +0 -41
  89. data/syntax/latex_log.syntax +0 -50
  90. data/syntax/latex_memoir.syntax +0 -64
  91. data/syntax/lexflex.syntax +0 -219
  92. data/syntax/lighttpd.syntax +0 -54
  93. data/syntax/lilypond.syntax +0 -492
  94. data/syntax/lisp.syntax +0 -61
  95. data/syntax/literate_haskell.syntax +0 -24
  96. data/syntax/logo.syntax +0 -29
  97. data/syntax/logtalk.syntax +0 -152
  98. data/syntax/lua.syntax +0 -86
  99. data/syntax/m.syntax +0 -142
  100. data/syntax/macports_portfile.syntax +0 -163
  101. data/syntax/mail.syntax +0 -118
  102. data/syntax/makefile.syntax +0 -36
  103. data/syntax/man.syntax +0 -17
  104. data/syntax/markdown.syntax +0 -543
  105. data/syntax/mediawiki.syntax +0 -567
  106. data/syntax/mel.syntax +0 -92
  107. data/syntax/mips.syntax +0 -66
  108. data/syntax/mod_perl.syntax +0 -50
  109. data/syntax/modula-3.syntax +0 -47
  110. data/syntax/moinmoin.syntax +0 -189
  111. data/syntax/mootools.syntax +0 -572
  112. data/syntax/movable_type.syntax +0 -162
  113. data/syntax/multimarkdown.syntax +0 -39
  114. data/syntax/objective-c++.syntax +0 -18
  115. data/syntax/objective-c.syntax +0 -233
  116. data/syntax/ocaml.syntax +0 -764
  117. data/syntax/ocamllex.syntax +0 -167
  118. data/syntax/ocamlyacc.syntax +0 -184
  119. data/syntax/opengl.syntax +0 -14
  120. data/syntax/pascal.syntax +0 -77
  121. data/syntax/perl.syntax +0 -1115
  122. data/syntax/php.syntax +0 -1253
  123. data/syntax/plain_text.syntax +0 -32
  124. data/syntax/pmwiki.syntax +0 -113
  125. data/syntax/postscript.syntax +0 -114
  126. data/syntax/processing.syntax +0 -106
  127. data/syntax/prolog.syntax +0 -40
  128. data/syntax/property_list.syntax +0 -635
  129. data/syntax/python.syntax +0 -868
  130. data/syntax/python_django.syntax +0 -21
  131. data/syntax/qmake_project.syntax +0 -114
  132. data/syntax/qt_c++.syntax +0 -26
  133. data/syntax/quake3_config.syntax +0 -32
  134. data/syntax/r.syntax +0 -81
  135. data/syntax/r_console.syntax +0 -16
  136. data/syntax/ragel.syntax +0 -201
  137. data/syntax/rd_r_documentation.syntax +0 -91
  138. data/syntax/regexp.syntax +0 -50
  139. data/syntax/regular_expressions_oniguruma.syntax +0 -107
  140. data/syntax/regular_expressions_python.syntax +0 -109
  141. data/syntax/release_notes.syntax +0 -46
  142. data/syntax/remind.syntax +0 -253
  143. data/syntax/restructuredtext.syntax +0 -250
  144. data/syntax/rez.syntax +0 -80
  145. data/syntax/ruby.syntax +0 -1035
  146. data/syntax/ruby_experimental.syntax +0 -145
  147. data/syntax/ruby_on_rails.syntax +0 -88
  148. data/syntax/s5.syntax +0 -69
  149. data/syntax/scheme.syntax +0 -347
  150. data/syntax/scilab.syntax +0 -41
  151. data/syntax/setext.syntax +0 -147
  152. data/syntax/shell-unix-generic.syntax +0 -384
  153. data/syntax/slate.syntax +0 -149
  154. data/syntax/smarty.syntax +0 -63
  155. data/syntax/sql.syntax +0 -237
  156. data/syntax/sql_rails.syntax +0 -18
  157. data/syntax/ssh-config.syntax +0 -33
  158. data/syntax/standard_ml.syntax +0 -121
  159. data/syntax/strings_file.syntax +0 -39
  160. data/syntax/subversion_commit_message.syntax +0 -36
  161. data/syntax/sweave.syntax +0 -84
  162. data/syntax/swig.syntax +0 -57
  163. data/syntax/tcl.syntax +0 -152
  164. data/syntax/template_toolkit.syntax +0 -121
  165. data/syntax/tex.syntax +0 -86
  166. data/syntax/tex_math.syntax +0 -49
  167. data/syntax/textile.syntax +0 -215
  168. data/syntax/tsv.syntax +0 -50
  169. data/syntax/twiki.syntax +0 -241
  170. data/syntax/txt2tags.syntax +0 -79
  171. data/syntax/vectorscript.syntax +0 -57
  172. data/syntax/xhtml_1.0.syntax +0 -4027
  173. data/syntax/xml.syntax +0 -180
  174. data/syntax/xml_strict.syntax +0 -92
  175. data/syntax/xsl.syntax +0 -60
  176. data/syntax/yaml.syntax +0 -160
  177. data/syntax/yui_javascript.syntax +0 -176
  178. data/test/test_uv.rb +0 -0
@@ -1,21 +0,0 @@
1
- ---
2
- name: Python (Django)
3
- fileTypes: []
4
-
5
- scopeName: source.python.django
6
- uuid: 5326D56C-6F76-4758-8DB7-D818527919AC
7
- foldingStartMarker: ^\s*(def|class)\s+([.a-zA-Z0-9_ b]+)\s*(\((.*)\))?\s*:|\{\s*$|\(\s*$|\[\s*$
8
- patterns:
9
- - name: support.type.django.model
10
- match: (meta|models)\.(ForeignKey|Admin|AutoField|BooleanField|CharField|CommaSeparatedIntegerField|DateField|DateTimeField|EmailField|FileField|FilePathField|FloatField|ImageField|IntegerField|IPAddressField|ManyToManyField|NullBooleanField|OneToOneField|PhoneNumberField|PositiveIntegerField|PositiveSmallIntegerField|SlugField|SmallIntegerField|TextField|TimeField|URLField|USStateField|XMLField)
11
- - name: support.other.django.module
12
- match: "django(\\.[a-z]+){1,} "
13
- - name: variable.other.django.settings
14
- match: (ABSOLUTE_URL_OVERRIDES|ADMIN_FOR|ADMIN_MEDIA_PREFIX|ADMINS|ALLOWED_INCLUDE_ROOTS|APPEND_SLASH|CACHE_BACKEND|CACHE_MIDDLEWARE_KEY_PREFIX|CACHE_MIDDLEWARE_SECONDS|DATABASE_ENGINE|DATABASE_HOST|DATABASE_NAME|DATABASE_PASSWORD|DATABASE_PORT|DATABASE_USER|DATE_FORMAT|DATETIME_FORMAT|DEBUG|DEFAULT_CHARSET|DEFAULT_CONTENT_TYPE|DEFAULT_FROM_EMAIL|DISALLOWED_USER_AGENTS|EMAIL_HOST|EMAIL_SUBJECT_PREFIX|IGNORABLE_404_ENDS|IGNORABLE_404_STARTS|INSTALLED_APPS|INTERNAL_IPS|JING_PATH|LANGUAGE_CODE|LANGUAGES|MANAGERS|MEDIA_ROOT|MEDIA_URL|MIDDLEWARE_CLASSES|PREPEND_WWW|ROOT_URLCONF|SECRET_KEY|SEND_BROKEN_LINK_EMAILS|SERVER_EMAIL|SESSION_COOKIE_AGE|SESSION_COOKIE_DOMAIN|SESSION_COOKIE_NAME|SESSION_SAVE_EVERY_REQUEST|SITE_ID|TEMPLATE_DEBUG|TEMPLATE_DIRS|TEMPLATE_FILE_EXTENSION|TEMPLATE_LOADERS|TIME_FORMAT|TIME_ZONE|USE_ETAGS)
15
- - name: support.function.django.view
16
- match: (get_list_or_404|get_object_or_404|load_and_render|loader|render_to_response)
17
- - name: support.function.django.model
18
- match: "[a-z_]+\\.get_(object|list|iterator|count|values|values_iterator|in_bulk)"
19
- - include: source.python
20
- foldingStopMarker: ^\s*$|^\s*\}|^\s*\]|^\s*\)
21
- keyEquivalent: ^~P
@@ -1,114 +0,0 @@
1
- ---
2
- name: qmake Project file
3
- fileTypes:
4
- - pro
5
- - pri
6
- scopeName: source.qmake
7
- uuid: 3D54A8F9-17CA-422A-A1D6-DE5F98B9DEF4
8
- patterns:
9
- - name: markup.other.template.qmake
10
- captures:
11
- "1":
12
- name: variable.language.qmake
13
- "2":
14
- name: punctuation.separator.key-value.qmake
15
- begin: (TEMPLATE)\s*(=)
16
- end: $\n?
17
- patterns:
18
- - name: keyword.other.qmake
19
- match: \b(app|lib|subdirs|vcapp|vclib)\b
20
- - name: markup.other.config.qmake
21
- captures:
22
- "1":
23
- name: variable.language.qmake
24
- "3":
25
- name: punctuation.separator.key-value.qmake
26
- begin: (CONFIG)\s*(\+|\-)?(=)
27
- end: $\n?
28
- patterns:
29
- - name: keyword.other.qmake
30
- match: \b(release|debug|warn_(on|off)|qt|opengl|thread|x11|windows|console|dll|staticlib|plugin|designer|uic3|no_lflags_merge|exceptions|rtti|stl|flat|app_bundle|no_batch|qtestlib|ppc|x86)\b
31
- - name: markup.other.qt.qmake
32
- captures:
33
- "1":
34
- name: variable.language.qmake
35
- "3":
36
- name: punctuation.separator.key-value.qmake
37
- begin: (QT)\s*(\+|\-)?(=)
38
- end: $\n?
39
- patterns:
40
- - name: keyword.other.qmake
41
- match: \b(core|gui|network|opengl|sql|svg|xml|qt3support)\b
42
- - name: variable.language.qmake
43
- match: \b(R(C(C_DIR|_FILE)|E(S_FILE|QUIRES))|M(OC_DIR|AKE(_MAKEFILE|FILE(_GENERATOR)?))|S(RCMOC|OURCES|UBDIRS)|HEADERS|YACC(SOURCES|IMPLS|OBJECTS)|CONFIG|T(RANSLATIONS|ARGET(_(EXT|\d+(\.\d+\.\d+)?))?)|INCLUDEPATH|OBJ(MOC|ECTS(_DIR)?)|D(SP_TEMPLATE|ISTFILES|E(STDIR(_TARGET)?|PENDPATH|F(_FILE|INES))|LLDESTDIR)|UI(C(IMPLS|OBJECTS)|_(SOURCES_DIR|HEADERS_DIR|DIR))|P(RE(COMPILED_HEADER|_TARGETDEPS)|OST_TARGETDEPS)|V(PATH|ER(SION|_(M(IN|AJ)|PAT)))|Q(MAKE(SPEC|_(RUN_C(XX(_IMP)?|C(_IMP)?)|MOC_SRC|C(XXFLAGS_(RELEASE|MT(_D(BG|LL(DBG)?))?|SHLIB|THREAD|DEBUG|WARN_O(N|FF))|FLAGS_(RELEASE|MT(_D(BG|LL(DBG)?))?|SHLIB|THREAD|DEBUG|WARN_O(N|FF))|LEAN)|TARGET|IN(CDIR(_(X|THREAD|OPENGL|QT))?|FO_PLIST)|UIC|P(RE_LINK|OST_LINK)|EXT(_(MOC|H|CPP|YACC|OBJ|UI|PRL|LEX)|ENSION_SHLIB)|Q(MAKE|T_DLL)|F(ILETAGS|AILED_REQUIREMENTS)|L(N_SHLIB|I(B(S(_(RT(MT)?|X|CONSOLE|THREAD|OPENGL(_QT)?|QT(_(OPENGL|DLL))?|WINDOWS))?|_FLAG|DIR(_(X|OPENGL|QT|FLAGS))?)|NK_SHLIB_CMD)|FLAGS(_(RELEASE|S(H(LIB|APP)|ONAME)|CONSOLE(_DLL)?|THREAD|DEBUG|PLUGIN|QT_DLL|WINDOWS(_DLL)?))?)|A(R_CMD|PP_(OR_DLL|FLAG))))?|T_THREAD)|FORMS|L(IBS|EX(SOURCES|IMPLS|OBJECTS)))\b
44
- - name: markup.other.assignment.qmake
45
- captures:
46
- "1":
47
- name: variable.other.qmake
48
- "4":
49
- name: punctuation.separator.key-value.qmake
50
- begin: (\b([\w\d_]+\.[\w\d_]+|[A-Z_]+))?\s*(\+|\-)?(=)
51
- end: $\n?
52
- patterns:
53
- - name: variable.other.qmake
54
- captures:
55
- "1":
56
- name: punctuation.definition.variable.qmake
57
- match: (\$\$)([A-Z_]+|[\w\d_]+\.[\w\d_]+)|\$\([\w\d_]+\)
58
- - name: constant.other.filename.qmake
59
- match: "[\\w\\d\\/_\\-\\.\\:]+"
60
- - name: string.quoted.double.qmake
61
- endCaptures:
62
- "0":
63
- name: punctuation.definition.string.end.qmake
64
- begin: "\""
65
- beginCaptures:
66
- "0":
67
- name: punctuation.definition.string.begin.qmake
68
- end: "\""
69
- - name: string.interpolated.qmake
70
- endCaptures:
71
- "0":
72
- name: punctuation.definition.string.end.qmake
73
- begin: `
74
- beginCaptures:
75
- "0":
76
- name: punctuation.definition.string.begin.qmake
77
- end: `
78
- - name: markup.other.assignment.continuation.qmake
79
- captures:
80
- "1":
81
- name: string.regexp.qmake
82
- begin: (\\)
83
- end: ^[^#]
84
- patterns:
85
- - name: comment.line.number-sign.qmake
86
- captures:
87
- "1":
88
- name: punctuation.definition.comment.qmake
89
- match: (#).*$\n?
90
- - name: comment.line.number-sign.qmake
91
- captures:
92
- "1":
93
- name: punctuation.definition.comment.qmake
94
- match: (#).*$\n?
95
- - endCaptures:
96
- "1":
97
- name: punctuation.definition.parameters.qmake
98
- begin: \b(basename|CONFIG|contains|count|dirname|error|exists|find|for|include|infile|isEmpty|join|member|message|prompt|quote|sprintf|system|unique|warning)\s*(\()
99
- contentName: variable.parameter.qmake
100
- beginCaptures:
101
- "1":
102
- name: entity.name.function.qmake
103
- "2":
104
- name: punctuation.definition.parameters.qmake
105
- end: (\))
106
- comment: entity.name.function.qmake
107
- - name: keyword.other.scope.qmake
108
- match: \b(unix|win32|mac|debug|release)\b
109
- - name: comment.line.number-sign.qmake
110
- captures:
111
- "1":
112
- name: punctuation.definition.comment.qmake
113
- match: (#).*$\n?
114
- keyEquivalent: ^~Q
@@ -1,26 +0,0 @@
1
- ---
2
- name: Qt C++
3
- fileTypes:
4
- - cpp
5
- - h
6
- firstLineMatch: -\*- C\+\+ -\*-
7
- scopeName: source.c++.qt
8
- uuid: C0D24A46-0534-11DB-8949-0011242E4184
9
- foldingStartMarker: "(?x)\n\
10
- \t\t /\\*\\*(?!\\*)\n\
11
- \t\t|^(?![^{]*?//|[^{]*?/\\*(?!.*?\\*/.*?\\{)).*?\\{\\s*($|//|/\\*(?!.*?\\*/.*\\S))\n\
12
- \t"
13
- patterns:
14
- - name: support.other.macro.qt
15
- match: \bQ_(CLASSINFO|ENUMS|FLAGS|INTERFACES|OBJECT|PROPERTY)\b
16
- - name: support.function.qt
17
- match: \b((dis)?connect|emit|fore(ach|ver)|tr(Utf8)?|qobject_cast)\b
18
- - name: support.class.qt
19
- match: \bQ(Abstract(Button|EventDispatcher|Extension(Factory|Manager)|FileEngine(Handler)?|FormBuilder|GraphicsShapeItem|Item(Delegate|Model|View)|ListModel|PrintDialog|ProxyModel|ScrollArea|Slider|Socket|SpinBox|TableModel|TextDocumentLayout)|Accessible(Bridge|BridgePlugin|Event|Interface|Object|Plugin|Widget)?|Action(Event|Group)?|(Core)?Application|AssistantClient|Ax(Aggregated|Base|Bindable|Factory|Object|Script|ScriptEngine|ScriptManager|Widget)|BasicTimer|Bit(Array|map)|BoxLayout|Brush|Buffer|ButtonGroup|ByteArray(Matcher)?|(CDE|Windows(XP)?|Cleanlooks|Common|Mac|Plastique|Motif)Style|Cache|CalendarWidget|Char|CheckBox|ChildEvent|Clipboard|CloseEvent|Color(Dialog|map)?|ComboBox|Completer|ConicalGradient|ContextMenuEvent|CopChannel|Cursor|CustomRasterPaintDevice|DBus(AbstractAdaptor|AbstractInterface|Argument|Connection(Interface)?|Error|Interface|Message|ObjectPath|Reply|Server|Signature|Variant)|Data(Stream|WidgetMapper)|Date((Time)?(Edit)?)|Decoration(Factory|Plugin)?|Designer(ActionEditorInterface|ContainerExtension|CustomWidgetCollectionInterface|CustomWidgetInterface|FormEditorInterface|FormWindowCursorInterface|FormWindowInterface|FormWindowManagerInterface|MemberSheetExtension|ObjectInspectorInterface|PropertyEditorInterface|PropertySheetExtension|TaskMenuExtension|WidgetBoxInterface)|Desktop(Services|Widget)|Dial(og|ogButtonBox)?|Dir(Model|ectPainter)?|DockWidget|Dom(Attr|CDATASection|CharacterData|Comment|Document|DocumentFragment|DocumentType|Element|Entity|EntityReference|Implementation|NamedNodeMap|Node|NodeList|Notation|ProcessingInstruction|Text)|Double(SpinBox|Validator)|Drag((Enter|Leave|Move)Event)?|(Drop|DynamicPropertyChange)Event|ErrorMessage|Event(Loop)?|Extension(Factory|Manager)|FSFileEngine|File(Dialog|IconProvider|Info|OpenEvent|SystemWatcher)?|Flags?|Focus(Event|Frame)|Font(ComboBox|Database|Dialog|Info|MetricsF?)?|FormBuilder|Frame|Ftp|GL(Colormap|Context|Format|FramebufferObject|PixelBuffer|Widget)|Generic(Return)?Argument|Gradient|Graphics(EllipseItem|Item|ItemAnimation|ItemGroup|LineItem|PathItem|PixmapItem|PolygonItem|RectItem|Scene((ContextMenu|Hover|Mouse|Wheel)?Event)?|SimpleTextItem|SvgItem|TextItem|View)|GridLayout|GroupBox|HBoxLayout|Hash(Iterator)?|HeaderView|(Help|Hide|Hover)Event|Host(Address|Info)|Http((Response|Request)?Header)?|IODevice|Icon(DragEvent|Engine(Plugin)?)?|Image(IO(Handler|Plugin)|Reader|Writer)?|Input(Context(Factory|Plugin)?|Dialog|Event|MethodEvent)|IntValidator|Item(Delegate|Editor(CreatorBase|Factory)|Selection(Model|Range)?)|KbdDriver(Factory|Plugin)|Key(Event|Sequence)|LCDNumber|Label|Latin1(Char|String)|Layout(Item)?|Library(Info)?|Line(Edit|F)?|LinearGradient|LinkedList(Iterator)?|LinuxFbScreen|List(View|Iterator|Widget(Item)?)?|Locale|MacPasteboardMime|MainWindow|Map(Iterator)?|Matrix|Menu(Bar)?|MessageBox|Meta(ClassInfo|Enum|Method|Object|Property|Type)|Mime(Data|Source)|ModelIndex|MouseDriver(Factory|Plugin)|(Move|Mouse)Event|Movie|Multi(Hash|Map)|Mutable(Hash|(Linked)?List|Map|Set|Vector)Iterator|Mutex(Locker)?|Network(AddressEntry|Interface|Proxy)|Object(CleanupHandler)?|PageSetupDialog|Paint(Device|Engine(State)?|Event|er(Path(Stroker)?)?)|Pair|Palette|Pen|PersistentModelIndex|Picture(FormatPlugin|IO)?|Pixmap(Cache)?|PluginLoader|PointF?|Pointer|PolygonF?|Print(Dialog|Engine|er)|Process|Progress(Bar|Dialog)|ProxyModel|PushButton|Queue|RadialGradient|RadioButton|RasterPaintEngine|ReadLocker|ReadWriteLock|RectF?|RegExp(Validator)?|Region|ResizeEvent|Resource|RubberBand|Screen(Cursor|Driver(Factory|Plugin))?|Scroll(Area|Bar)|Semaphore|SessionManager|Set(Iterator)?|Settings|SharedData(Pointer)?|Shortcut(Event)?|ShowEvent|Signal(Mapper|Spy)|Size(Grip|Policy|F)?|Slider|SocketNotifier|SortFilterProxyModel|Sound|SpacerItem|SpinBox|SplashScreen|Splitter(Handle)?|Sql(Database|Driver(Creator(Base)?|Plugin)?|Error|Field|Index|Query(Model)?|Record|Relation|Relational(Delegate|TableModel)|Result|TableModel)|Stack(ed(Layout|Widget))?|StandardItem(EditorCreator|Model)?|Status(Bar|TipEvent)|String(List(Model)?|Matcher)?|Style(Factory|HintReturn(Mask)?|Option(Button|ComboBox|Complex|DockWidget|FocusRect|Frame(V2)?|GraphicsItem|GroupBox|Header|MenuItem|ProgressBar(V2)?|Q3(DockWindow|ListView|ListViewItem)|RubberBand|SizeGrip|Slider|SpinBox|Tab(BarBase|V2|WidgetFrame)?|TitleBar|Tool(Bar|Box|Button)|ViewItem(V2)?)?|Painter|Plugin)?|Svg(Renderer|Widget)|SyntaxHighlighter|SysInfo|System(Locale|TrayIcon)|Tab(Bar|Widget)|Table(Widget(Item|SelectionRange)?|View)|TabletEvent|Tcp(Server|Socket)|TemporaryFile|TestEventList|Text(Block(Format|Group|UserData)?|Browser|CharFormat|Codec(Plugin)?|Cursor|(De|En)coder|Document(Fragment)?|Edit|Fragment|Frame(Format)?|(Image)?Format|InlineObject|Layout|Length|Line|List(Format)?|Object|Option|Stream|Table(Cell|Format)?)|Thread(Storage)?|Time(Edit|Line)?|Timer(Event)?|Tool(Bar|Box|Button|Tip)|TransformedScreen|Translator|Tree(Widget(Item(Iterator)?)?|View)|UdpSocket|UiLoader|Undo(Command|Group|Stack|View)|Url(Info)?|Uuid|VBoxLayout|(VNC|VFb)Screen|Validator|VarLengthArray|Variant|Vector(Iterator)?|WS(Client|EmbedWidget|Event|InputMethod|(Keyboard|(Tslib|Calibrated)?Mouse)Handler|PointerCalibrationData|ScreenSaver|Server|Window(Surface)?)|WaitCondition|WhatsThis(ClickedEvent)?|WheelEvent|Widget(Action|Item)?|Window(StateChangeEvent|sMime)|Workspace|WriteLocker|X11Embed(Container|Widget)|X11Info|Xml(Attributes|(Content|DTD|Decl|Default|Error|Lexical)Handler|EntityResolver|InputSource|Locator|NamespaceSupport|ParseException|Reader|SimpleReader))\b
20
- - name: storage.type.qt
21
- match: \b(q(int8|int16|int32|int64|longlong|real|uint8|uint16|uint32|uint64|ulonglong)|u(char|int|long|short))\b
22
- - name: storage.modifier.qt
23
- match: \b(slots|signals)\b
24
- - include: source.c++
25
- foldingStopMarker: (?<!\*)\*\*/|^\s*\}
26
- keyEquivalent: ^~Q
@@ -1,32 +0,0 @@
1
- ---
2
- name: Quake Style .cfg
3
- fileTypes:
4
- - cfg
5
- scopeName: source.quake-config
6
- uuid: AAB8717E-6E5C-11D9-9BE0-0011242E4184
7
- patterns:
8
- - name: keyword.other.quake3
9
- match: \b(set(a|u|s)?|bind|undbind|unbindall|vstr|exec|kill|say|say_team|quit|echo)(\s+\d)?\b
10
- comment: the 2nd part of the regex is just to capture binds to number-keys and prevent them from getting highlighted as values.
11
- - name: constant.numeric.quake3
12
- match: \b\d+(\.\d+)?\b
13
- - name: string.quoted.double.quake3
14
- endCaptures:
15
- "0":
16
- name: punctuation.definition.string.end.quake3
17
- begin: "\""
18
- beginCaptures:
19
- "0":
20
- name: punctuation.definition.string.begin.quake3
21
- end: "\""
22
- patterns:
23
- - name: constant.character.escape.quake3
24
- match: \\.
25
- - name: keyword.other.string-embedded.quake3
26
- match: \b(set(a|u|s)?|bind|unbindall|vstr|exec|kill|say|say_team|quit|echo)\b
27
- - name: comment.line.double-slash.quake3
28
- captures:
29
- "1":
30
- name: punctuation.definition.comment.quake3
31
- match: (//).*$\n?
32
- keyEquivalent: ^~Q
@@ -1,81 +0,0 @@
1
- ---
2
- name: R
3
- fileTypes:
4
- - R
5
- - r
6
- - s
7
- - S
8
- - Rprofile
9
- scopeName: source.r
10
- uuid: B2E6B78D-6E70-11D9-A369-000D93B3A10E
11
- foldingStartMarker: (\(\s*$|\{\s*$)
12
- patterns:
13
- - name: comment.line.number-sign.r
14
- captures:
15
- "1":
16
- name: punctuation.definition.comment.r
17
- match: (#).*$\n?
18
- - name: storage.type.r
19
- match: \b(logical|numeric|character|complex|matrix|array|data\.frame|list|factor)(?=\s*\()
20
- - name: keyword.control.r
21
- match: \b(function|if|break|next|repeat|else|for|return|switch|while|in|invisible)\b
22
- - name: constant.numeric.r
23
- match: \b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\b
24
- - name: constant.language.r
25
- match: \b(TRUE|FALSE|NULL|NA|Inf|NaN)\b
26
- - name: support.constant.misc.r
27
- match: \b(pi|letters|LETTERS|month\.abb|month\.name)\b
28
- - name: keyword.operator.arithmetic.r
29
- match: (\-|\+|\*|\/|%\/%|%%|%\*%|%in%|%o%|%x%|\^)
30
- - name: keyword.operator.assignment.r
31
- match: (=|<-|<<-|->|->>)
32
- - name: keyword.operator.comparison.r
33
- match: (==|!=|<>|<|>|<=|>=)
34
- - name: keyword.operator.logical.r
35
- match: (!|&{1,2}|[|]{1,2})
36
- - name: keyword.other.r
37
- match: (\.\.\.|\$|:|\~)
38
- - name: string.quoted.double.r
39
- endCaptures:
40
- "0":
41
- name: punctuation.definition.string.end.r
42
- begin: "\""
43
- beginCaptures:
44
- "0":
45
- name: punctuation.definition.string.begin.r
46
- end: "\""
47
- patterns:
48
- - name: constant.character.escape.r
49
- match: \\.
50
- - name: string.quoted.single.r
51
- endCaptures:
52
- "0":
53
- name: punctuation.definition.string.end.r
54
- begin: "'"
55
- beginCaptures:
56
- "0":
57
- name: punctuation.definition.string.begin.r
58
- end: "'"
59
- patterns:
60
- - name: constant.character.escape.r
61
- match: \\.
62
- - name: meta.function.r
63
- captures:
64
- "1":
65
- name: entity.name.function.r
66
- "2":
67
- name: keyword.operator.assignment.r
68
- "3":
69
- name: keyword.control.r
70
- match: ([a-zA-Z._][a-zA-Z0-9._]*)\s*(<-)\s*(function)
71
- - match: ([a-zA-Z._][a-zA-Z0-9._]*)\s*\(
72
- - captures:
73
- "1":
74
- name: variable.parameter.r
75
- "2":
76
- name: keyword.operator.assignment.r
77
- match: ([a-zA-Z._][a-zA-Z0-9._]*)\s*(=)(?=[^=])
78
- - name: variable.other.r
79
- match: \b([a-zA-Z._][a-zA-Z0-9._]*)\b
80
- foldingStopMarker: (^\s*\)|^\s*\})
81
- keyEquivalent: ^~R
@@ -1,16 +0,0 @@
1
- ---
2
- name: R Console
3
- fileTypes: []
4
-
5
- scopeName: source.r-console
6
- uuid: F629C7F3-823B-4A4C-8EEE-9971490C5710
7
- patterns:
8
- - name: source.r.embedded.r-console
9
- begin: "^> "
10
- beginCaptures:
11
- "0":
12
- name: punctuation.section.embedded.r-console
13
- end: \n|\z
14
- patterns:
15
- - include: source.r
16
- keyEquivalent: ^~R
@@ -1,201 +0,0 @@
1
- ---
2
- name: Ragel
3
- fileTypes:
4
- - rl
5
- - ragel
6
- scopeName: source.c.ragel
7
- repository:
8
- regexp:
9
- patterns:
10
- - name: string.regexp.character-class.ragel
11
- endCaptures:
12
- "0":
13
- name: punctuation.definition.string.end.ragel
14
- begin: \[
15
- beginCaptures:
16
- "0":
17
- name: punctuation.definition.string.begin.ragel
18
- end: \]\s*[*?]?
19
- - name: string.regexp.classic.ragel
20
- endCaptures:
21
- "0":
22
- name: punctuation.definition.string.end.ragel
23
- begin: \/
24
- beginCaptures:
25
- "0":
26
- name: punctuation.definition.string.begin.ragel
27
- end: \/\s*[*?]?
28
- embedded_code:
29
- patterns:
30
- - name: source.c
31
- begin: \{
32
- beginCaptures:
33
- "0":
34
- name: punctuation.section.embedded.c
35
- end: \}
36
- patterns:
37
- - include: source.c
38
- comments:
39
- patterns:
40
- - name: comment.line.ragel
41
- begin: "#"
42
- beginCaptures:
43
- "0":
44
- name: punctuation.definition.comment.ragel
45
- end: $\n?
46
- action_name:
47
- patterns:
48
- - name: entity.name.type.action-reference.ragel
49
- captures:
50
- "1":
51
- name: punctuation.definition.entity.ragel
52
- match: ([@$>%])\s*([\w\d]+)
53
- string_escaped_char:
54
- patterns:
55
- - name: constant.character.escape.ragel
56
- match: \\(\\|[abefnprtv'"?]|[0-3]\d{,2}|[4-7]\d?|x[a-fA-F0-9]{,2})
57
- - name: invalid.illegal.unknown-escape.ragel
58
- match: \\.
59
- operators:
60
- patterns:
61
- - name: keyword.operator.contatenation.ragel
62
- match: (\:\>\>?|\<\:)
63
- source_ragel:
64
- patterns:
65
- - include: "#keywords"
66
- - include: "#regexp"
67
- - include: "#string"
68
- - include: "#comments"
69
- - include: "#embedded_code"
70
- - name: meta.function.action.ragel
71
- endCaptures:
72
- "1":
73
- name: punctuation.section.function.ragel
74
- begin: (action)\s+([\w\d]+)\s+({)
75
- beginCaptures:
76
- "1":
77
- name: keyword.other.action.ragel
78
- "2":
79
- name: entity.name.type.action.ragel
80
- "3":
81
- name: punctuation.section.function.ragel
82
- end: (})
83
- patterns:
84
- - include: source.c
85
- - name: meta.machine-definition.ragel
86
- endCaptures:
87
- "1":
88
- name: punctuation.terminator.machine-definition.ragel
89
- begin: ([\w\d]+)\s*(=)
90
- beginCaptures:
91
- "1":
92
- name: entity.name.type.machine-definition.ragel
93
- "2":
94
- name: punctuation.separator.key-value.ragel
95
- end: (;)
96
- patterns:
97
- - include: "#regexp"
98
- - include: "#string"
99
- - include: "#action_name"
100
- - include: "#embedded_code"
101
- - include: "#operators"
102
- - include: "#comments"
103
- - name: meta.machine-instantiation.ragel
104
- endCaptures:
105
- "1":
106
- name: punctuation.terminator.machine-instantiation.ragel
107
- begin: ([\w\d]+)\s*(:=)
108
- beginCaptures:
109
- "1":
110
- name: entity.name.type.machine-instantiation.ragel
111
- "2":
112
- name: punctuation.separator.key-value.ragel
113
- end: ;
114
- patterns:
115
- - include: "#regexp"
116
- - include: "#string"
117
- - include: "#action_name"
118
- - include: "#embedded_code"
119
- - include: "#operators"
120
- - include: "#comments"
121
- - name: meta.ragel.longest-match
122
- begin: \|\*
123
- end: \*\|
124
- patterns:
125
- - include: "#source_ragel"
126
- string_placeholder:
127
- patterns:
128
- - name: constant.other.placeholder.ragel
129
- match: "(?x)%\n\
130
- \t\t\t\t\t\t(\\d+\\$)? # field (argument #)\n\
131
- \t\t\t\t\t\t[#0\\- +']* # flags\n\
132
- \t\t\t\t\t\t[,;:_]? # separator character (AltiVec)\n\
133
- \t\t\t\t\t\t((-?\\d+)|\\*(-?\\d+\\$)?)? # minimum field width\n\
134
- \t\t\t\t\t\t(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)? # precision\n\
135
- \t\t\t\t\t\t(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)? # length modifier\n\
136
- \t\t\t\t\t\t[diouxXDOUeEfFgGaACcSspn%] # conversion type\n\
137
- \t\t\t\t\t"
138
- - name: invalid.illegal.placeholder.ragel
139
- match: "%"
140
- string:
141
- patterns:
142
- - name: string.quoted.double.ragel
143
- endCaptures:
144
- "0":
145
- name: punctuation.definition.string.end.ragel
146
- begin: "\""
147
- beginCaptures:
148
- "0":
149
- name: punctuation.definition.string.begin.ragel
150
- end: "\""
151
- patterns:
152
- - include: "#string_escaped_char"
153
- - include: "#string_placeholder"
154
- - name: string.quoted.single.ragel
155
- endCaptures:
156
- "0":
157
- name: punctuation.definition.string.end.ragel
158
- begin: "'"
159
- beginCaptures:
160
- "0":
161
- name: punctuation.definition.string.begin.ragel
162
- end: "'"
163
- patterns:
164
- - include: "#string_escaped_char"
165
- keywords:
166
- patterns:
167
- - name: keyword.other.ragel
168
- match: \b(machine|action|context|include|variable|access|write|contained)\b
169
- uuid: F1172666-F07C-4F6A-B07D-E1AD08DE2070
170
- foldingStartMarker: "(?x)\n\
171
- \t\t /\\*\\*(?!\\*)\n\
172
- \t\t|^(?![^{]*?//|[^{]*?/\\*(?!.*?\\*/.*?\\{)).*?\\{\\s*($|//|/\\*(?!.*?\\*/.*\\S))\n\
173
- \t"
174
- patterns:
175
- - name: source.ragel
176
- captures:
177
- "0":
178
- name: punctuation.section.embedded.ragel
179
- begin: "%%{"
180
- end: "}%%"
181
- patterns:
182
- - include: "#source_ragel"
183
- - name: source.ragel
184
- begin: "%%$"
185
- beginCaptures:
186
- "0":
187
- name: punctuation.section.embedded.ragel
188
- end: $
189
- patterns:
190
- - include: "#source_ragel"
191
- - name: support.function.ragel
192
- begin: "%%"
193
- beginCaptures:
194
- "0":
195
- name: punctuation.section.embedded.ragel
196
- end: $
197
- patterns:
198
- - include: "#keywords"
199
- - include: source.c
200
- foldingStopMarker: (?<!\*)\*\*/|^\s*\}
201
- keyEquivalent: ^~R