rmthemegen 0.0.38 → 0.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.project +18 -0
- data/bin/geanyfy.rb +4 -41
- data/lib/rmthemegen/basis_theme.tmTheme +971 -0
- data/lib/rmthemegen/geany.filetypes.all +2945 -0
- data/lib/rmthemegen/plist.html +246 -0
- data/lib/rmthemegen/plist_to_tokenlist.rb +242 -0
- data/lib/rmthemegen/rmtg_rubymine.rb +196 -0
- data/lib/rmthemegen/rmtg_textmate.rb +262 -0
- data/lib/rmthemegen/rmthemegen_187.rb +32 -233
- data/lib/rmthemegen/rmthemegen_parent.rb +235 -0
- data/lib/rmthemegen/rmthemegen_to_css.rb +1 -0
- data/lib/rmthemegen/syntaxes/Apache.plist +544 -0
- data/lib/rmthemegen/syntaxes/Bibtex.plist +406 -0
- data/lib/rmthemegen/syntaxes/Blog___HTML__.plist +88 -0
- data/lib/rmthemegen/syntaxes/Blog___Markdown__.plist +89 -0
- data/lib/rmthemegen/syntaxes/Blog___Text__.plist +74 -0
- data/lib/rmthemegen/syntaxes/Blog___Textile__.plist +74 -0
- data/lib/rmthemegen/syntaxes/C.plist +1126 -0
- data/lib/rmthemegen/syntaxes/CSS.plist +543 -0
- data/lib/rmthemegen/syntaxes/C____.plist +521 -0
- data/lib/rmthemegen/syntaxes/ClojureRepl.plist +40 -0
- data/lib/rmthemegen/syntaxes/Diff.plist +229 -0
- data/lib/rmthemegen/syntaxes/GroovyRepl.plist +40 -0
- data/lib/rmthemegen/syntaxes/HTML.plist +960 -0
- data/lib/rmthemegen/syntaxes/HTML___Rails__.plist +92 -0
- data/lib/rmthemegen/syntaxes/Haskell.plist +646 -0
- data/lib/rmthemegen/syntaxes/Io.plist +225 -0
- data/lib/rmthemegen/syntaxes/Java.plist +1156 -0
- data/lib/rmthemegen/syntaxes/JavaProperties.plist +70 -0
- data/lib/rmthemegen/syntaxes/JavaScript.plist +712 -0
- data/lib/rmthemegen/syntaxes/LaTeX.plist +1601 -0
- data/lib/rmthemegen/syntaxes/LaTeX_Beamer.plist +106 -0
- data/lib/rmthemegen/syntaxes/LaTeX_Log.plist +141 -0
- data/lib/rmthemegen/syntaxes/Lisp.plist +160 -0
- data/lib/rmthemegen/syntaxes/Literate_Haskell.plist +90 -0
- data/lib/rmthemegen/syntaxes/Makefile.plist +103 -0
- data/lib/rmthemegen/syntaxes/Markdown.plist +1192 -0
- data/lib/rmthemegen/syntaxes/Mirah.plist +22 -0
- data/lib/rmthemegen/syntaxes/PHP.plist +3481 -0
- data/lib/rmthemegen/syntaxes/PHP.xml +3481 -0
- data/lib/rmthemegen/syntaxes/Perl.plist +3209 -0
- data/lib/rmthemegen/syntaxes/Plain_text.plist +83 -0
- data/lib/rmthemegen/syntaxes/Processing.plist +296 -0
- data/lib/rmthemegen/syntaxes/Rez.plist +219 -0
- data/lib/rmthemegen/syntaxes/Ruby.plist +2891 -0
- data/lib/rmthemegen/syntaxes/RubyRepl.plist +40 -0
- data/lib/rmthemegen/syntaxes/Ruby_on_Rails.plist +288 -0
- data/lib/rmthemegen/syntaxes/SQL.plist +705 -0
- data/lib/rmthemegen/syntaxes/SQL___Rails__.plist +51 -0
- data/lib/rmthemegen/syntaxes/Shell__Unix__Generic.plist +1855 -0
- data/lib/rmthemegen/syntaxes/TeX.plist +246 -0
- data/lib/rmthemegen/syntaxes/TeX_Math.plist +132 -0
- data/lib/rmthemegen/syntaxes/Textile.plist +490 -0
- data/lib/rmthemegen/syntaxes/Vala.plist +285 -0
- data/lib/rmthemegen/syntaxes/XML.plist +576 -0
- data/lib/rmthemegen/syntaxes/XSL.plist +157 -0
- data/lib/rmthemegen/syntaxes/YAML.plist +467 -0
- data/lib/rmthemegen/textmate_themes/Active4D.tmTheme +407 -0
- data/lib/rmthemegen/textmate_themes/All Hallow's Eve Custom.tmTheme +273 -0
- data/lib/rmthemegen/textmate_themes/All Hallow's Eve.tmTheme +277 -0
- data/lib/rmthemegen/textmate_themes/Amy.tmTheme +557 -0
- data/lib/rmthemegen/textmate_themes/BBEdit.tmTheme +437 -0
- data/lib/rmthemegen/textmate_themes/Black Pearl II.tmTheme +496 -0
- data/lib/rmthemegen/textmate_themes/Black Pearl.tmTheme +400 -0
- data/lib/rmthemegen/textmate_themes/Blackboard Black.tmTheme +350 -0
- data/lib/rmthemegen/textmate_themes/Blackboard.tmTheme +350 -0
- data/lib/rmthemegen/textmate_themes/Bongzilla.tmTheme +223 -0
- data/lib/rmthemegen/textmate_themes/Brilliance Black.tmTheme +2619 -0
- data/lib/rmthemegen/textmate_themes/Brilliance Dull.tmTheme +2243 -0
- data/lib/rmthemegen/textmate_themes/CSSEdit.tmTheme +203 -0
- data/lib/rmthemegen/textmate_themes/Clouds Midnight.tmTheme +361 -0
- data/lib/rmthemegen/textmate_themes/Clouds.tmTheme +348 -0
- data/lib/rmthemegen/textmate_themes/Cobalt.tmTheme +559 -0
- data/lib/rmthemegen/textmate_themes/Coda.tmTheme +313 -0
- data/lib/rmthemegen/textmate_themes/Cool Glow.tmTheme +350 -0
- data/lib/rmthemegen/textmate_themes/Dawn.tmTheme +437 -0
- data/lib/rmthemegen/textmate_themes/Django (Smoothy).tmTheme +453 -0
- data/lib/rmthemegen/textmate_themes/Django.tmTheme +436 -0
- data/lib/rmthemegen/textmate_themes/Eiffel.tmTheme +439 -0
- data/lib/rmthemegen/textmate_themes/Emacs Strict.tmTheme +241 -0
- data/lib/rmthemegen/textmate_themes/Espresso Libre.tmTheme +402 -0
- data/lib/rmthemegen/textmate_themes/Espresso Tutti.tmTheme +392 -0
- data/lib/rmthemegen/textmate_themes/Espresso.tmTheme +329 -0
- data/lib/rmthemegen/textmate_themes/Fade to Grey.tmTheme +308 -0
- data/lib/rmthemegen/textmate_themes/Fluidvision.tmTheme +443 -0
- data/lib/rmthemegen/textmate_themes/ForLaTeX.tmTheme +214 -0
- data/lib/rmthemegen/textmate_themes/Freckle.tmTheme +279 -0
- data/lib/rmthemegen/textmate_themes/Friendship Bracelet.tmTheme +303 -0
- data/lib/rmthemegen/textmate_themes/GitHub.tmTheme +653 -0
- data/lib/rmthemegen/textmate_themes/GlitterBomb.tmTheme +387 -0
- data/lib/rmthemegen/textmate_themes/Happy happy joy joy 2.tmTheme +841 -0
- data/lib/rmthemegen/textmate_themes/IDLE.tmTheme +235 -0
- data/lib/rmthemegen/textmate_themes/IR_Black.tmTheme +810 -0
- data/lib/rmthemegen/textmate_themes/IR_White.tmTheme +792 -0
- data/lib/rmthemegen/textmate_themes/LAZY.tmTheme +291 -0
- data/lib/rmthemegen/textmate_themes/Lowlight.tmTheme +605 -0
- data/lib/rmthemegen/textmate_themes/Mac Classic.tmTheme +450 -0
- data/lib/rmthemegen/textmate_themes/Made of Code.tmTheme +695 -0
- data/lib/rmthemegen/textmate_themes/MagicWB (Amiga).tmTheme +376 -0
- data/lib/rmthemegen/textmate_themes/Merbivore Soft.tmTheme +285 -0
- data/lib/rmthemegen/textmate_themes/Merbivore.tmTheme +285 -0
- data/lib/rmthemegen/textmate_themes/Monokai.tmTheme +289 -0
- data/lib/rmthemegen/textmate_themes/MultiMarkdown.tmTheme +183 -0
- data/lib/rmthemegen/textmate_themes/Pastels on Dark.tmTheme +701 -0
- data/lib/rmthemegen/textmate_themes/Pastie.tmTheme +321 -0
- data/lib/rmthemegen/textmate_themes/Putty.tmTheme +275 -0
- data/lib/rmthemegen/textmate_themes/RDark.tmTheme +235 -0
- data/lib/rmthemegen/textmate_themes/Rails Envy.tmTheme +299 -0
- data/lib/rmthemegen/textmate_themes/Railscasts.tmTheme +278 -0
- data/lib/rmthemegen/textmate_themes/Ryan Light.tmTheme +232 -0
- data/lib/rmthemegen/textmate_themes/Slush & Poppies.tmTheme +336 -0
- data/lib/rmthemegen/textmate_themes/Smoothy.tmTheme +623 -0
- data/lib/rmthemegen/textmate_themes/SpaceCadet.tmTheme +212 -0
- data/lib/rmthemegen/textmate_themes/Spectacular.tmTheme +436 -0
- data/lib/rmthemegen/textmate_themes/Starlight.tmTheme +111 -0
- data/lib/rmthemegen/textmate_themes/Summer Camp Mod.tmTheme +229 -0
- data/lib/rmthemegen/textmate_themes/Summer Camp.tmTheme +229 -0
- data/lib/rmthemegen/textmate_themes/Sunburst.tmTheme +665 -0
- data/lib/rmthemegen/textmate_themes/Swyphs II.tmTheme +306 -0
- data/lib/rmthemegen/textmate_themes/Tango.tmTheme +450 -0
- data/lib/rmthemegen/textmate_themes/Text Ex Machina.tmTheme +295 -0
- data/lib/rmthemegen/textmate_themes/Tubster.tmTheme +280 -0
- data/lib/rmthemegen/textmate_themes/Twilight.tmTheme +518 -0
- data/lib/rmthemegen/textmate_themes/Vibrant Fin.tmTheme +447 -0
- data/lib/rmthemegen/textmate_themes/Vibrant Ink.tmTheme +447 -0
- data/lib/rmthemegen/textmate_themes/Vibrant Tango.tmTheme +438 -0
- data/lib/rmthemegen/textmate_themes/WhysPoignant.tmTheme +191 -0
- data/lib/rmthemegen/textmate_themes/Zenburnesque.tmTheme +343 -0
- data/lib/rmthemegen/textmate_themes/[ Argonaut ].tmTheme +387 -0
- data/lib/rmthemegen/textmate_themes/choco.tmTheme +542 -0
- data/lib/rmthemegen/textmate_themes/fake.tmTheme +669 -0
- data/lib/rmthemegen/textmate_themes/iLife 05.tmTheme +619 -0
- data/lib/rmthemegen/textmate_themes/iPlastic.tmTheme +286 -0
- data/lib/rmthemegen/textmate_themes/idleFingers.tmTheme +380 -0
- data/lib/rmthemegen/textmate_themes/krTheme.tmTheme +551 -0
- data/lib/rmthemegen/textmate_themes/monoindustrial.tmTheme +451 -0
- data/lib/rmthemegen/token_list.rb +171 -101
- data/lib/rmthemegen/uv_addons.rb +176 -0
- data/rmthemegen.gemspec +4 -1
- data/spec/rmthemegen/plist_to_tokenlist_spec.rb +0 -0
- data/test/choco.css +138 -0
- data/test/choco.render +136 -0
- data/test/get_tm_scopes.rb +79 -0
- data/test/get_tm_tokens.rb +0 -3
- data/test/newtheme.sh +6 -0
- data/test/output +14 -0
- data/test/rexml.element.methods +100 -0
- data/test/scopes_harvested +61 -0
- data/test/scopes_harvested.rb +15 -0
- data/test/test_generate_themes.rb +75 -38
- metadata +198 -13
- data/lib/rmthemegen/index.html +0 -2
- data/lib/rmthemegen/rmthemegen_187_textmate.rb +0 -155
- data/test/rmt_beautiful_quality.tmTheme +0 -399
- data/test/rmt_beautiful_quality.xml +0 -2089
data/test/choco.css
ADDED
@@ -0,0 +1,138 @@
|
|
1
|
+
pre.choco .CssPropertyValue {
|
2
|
+
color: #D3CBA1;
|
3
|
+
}
|
4
|
+
pre.choco .String {
|
5
|
+
color: #7CA563;
|
6
|
+
}
|
7
|
+
pre.choco .Constant {
|
8
|
+
color: #DA5659;
|
9
|
+
}
|
10
|
+
pre.choco .line-numbers {
|
11
|
+
background-color: #DDF0FF;
|
12
|
+
color: #000000;
|
13
|
+
}
|
14
|
+
pre.choco .EmbeddedSource {
|
15
|
+
background-color: #C09760;
|
16
|
+
}
|
17
|
+
pre.choco .Variable {
|
18
|
+
color: #7989A6;
|
19
|
+
}
|
20
|
+
pre.choco .Support {
|
21
|
+
color: #A8799C;
|
22
|
+
}
|
23
|
+
pre.choco .MarkupList {
|
24
|
+
color: #F9EE98;
|
25
|
+
}
|
26
|
+
pre.choco .DiffInserted {
|
27
|
+
background-color: #253B22;
|
28
|
+
color: #F8F8F8;
|
29
|
+
}
|
30
|
+
pre.choco .DiffHeader {
|
31
|
+
background-color: #0E2231;
|
32
|
+
color: #F8F8F8;
|
33
|
+
font-style: italic;
|
34
|
+
}
|
35
|
+
pre.choco .CssConstructorArgument {
|
36
|
+
color: #8F9D6A;
|
37
|
+
}
|
38
|
+
pre.choco .CCCPreprocessorDirective {
|
39
|
+
color: #AFC4DB;
|
40
|
+
}
|
41
|
+
pre.choco .Storage {
|
42
|
+
color: #F1E694;
|
43
|
+
}
|
44
|
+
pre.choco .DiffChanged {
|
45
|
+
background-color: #4A410D;
|
46
|
+
color: #F8F8F8;
|
47
|
+
}
|
48
|
+
pre.choco .StringConstant {
|
49
|
+
color: #DDF2A4;
|
50
|
+
}
|
51
|
+
pre.choco .CssAtRule {
|
52
|
+
color: #8693A5;
|
53
|
+
}
|
54
|
+
pre.choco .InvalidIllegal {
|
55
|
+
background-color: #29161E;
|
56
|
+
color: #F8F8F8;
|
57
|
+
}
|
58
|
+
pre.choco {
|
59
|
+
background-color: #1A0F0B;
|
60
|
+
color: #C3BE98;
|
61
|
+
}
|
62
|
+
pre.choco .MarkupHeading {
|
63
|
+
color: #CF6A4C;
|
64
|
+
}
|
65
|
+
pre.choco .CssClass {
|
66
|
+
color: #79A660;
|
67
|
+
}
|
68
|
+
pre.choco .SupportConstant {
|
69
|
+
color: #D77261;
|
70
|
+
}
|
71
|
+
pre.choco .MetaTagInline {
|
72
|
+
color: #C8A573;
|
73
|
+
}
|
74
|
+
pre.choco .CCCPreprocessorLine {
|
75
|
+
color: #8996A8;
|
76
|
+
}
|
77
|
+
pre.choco .StringEmbeddedSource {
|
78
|
+
color: #DAEFA3;
|
79
|
+
}
|
80
|
+
pre.choco .CssPseudoClass {
|
81
|
+
color: #999D63;
|
82
|
+
}
|
83
|
+
pre.choco .CssTagName {
|
84
|
+
color: #B48F62;
|
85
|
+
}
|
86
|
+
pre.choco .SupportFunction {
|
87
|
+
color: #C29863;
|
88
|
+
}
|
89
|
+
pre.choco .Keyword {
|
90
|
+
color: #B3935C;
|
91
|
+
}
|
92
|
+
pre.choco .DiffDeleted {
|
93
|
+
background-color: #420E09;
|
94
|
+
color: #F8F8F8;
|
95
|
+
}
|
96
|
+
pre.choco .CssAdditionalConstants {
|
97
|
+
color: #C9584F;
|
98
|
+
}
|
99
|
+
pre.choco .MetaTagAll {
|
100
|
+
color: #9F785B;
|
101
|
+
}
|
102
|
+
pre.choco .DoctypeXmlProcessing {
|
103
|
+
color: #494949;
|
104
|
+
}
|
105
|
+
pre.choco .StringRegexpSpecial {
|
106
|
+
color: #CF7D34;
|
107
|
+
}
|
108
|
+
pre.choco .StringRegexp {
|
109
|
+
color: #E9C062;
|
110
|
+
}
|
111
|
+
pre.choco .EntityInheritedClass {
|
112
|
+
color: #9B5C2E;
|
113
|
+
font-style: italic;
|
114
|
+
}
|
115
|
+
pre.choco .EmbeddedSourceBright {
|
116
|
+
background-color: #A5896A;
|
117
|
+
}
|
118
|
+
pre.choco .CssId {
|
119
|
+
color: #7690A4;
|
120
|
+
}
|
121
|
+
pre.choco .StringVariable {
|
122
|
+
color: #5E828D;
|
123
|
+
}
|
124
|
+
pre.choco .CssPropertyName {
|
125
|
+
color: #AF977B;
|
126
|
+
}
|
127
|
+
pre.choco .InvalidDeprecated {
|
128
|
+
color: #D2A8A1;
|
129
|
+
font-style: italic;
|
130
|
+
}
|
131
|
+
pre.choco .Entity {
|
132
|
+
color: #6D4C2F;
|
133
|
+
}
|
134
|
+
pre.choco .Comment {
|
135
|
+
background-color: #172013;
|
136
|
+
color: #679D47;
|
137
|
+
font-style: italic;
|
138
|
+
}
|
data/test/choco.render
ADDED
@@ -0,0 +1,136 @@
|
|
1
|
+
---
|
2
|
+
name: choco
|
3
|
+
line:
|
4
|
+
begin: ""
|
5
|
+
end: ""
|
6
|
+
filter: CGI.escapeHTML( @escaped )
|
7
|
+
document:
|
8
|
+
begin: " <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n <html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en\">\n\n <head>\n <meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\n <meta http-equiv=\"cache-control\" content=\"no-cache\" />\n <meta http-equiv=\"expires\" content=\"3600\" />\n <meta name=\"revisit-after\" content=\"2 days\" />\n <meta name=\"robots\" content=\"index,follow\" />\n <meta name=\"publisher\" content=\"Dichodaemon\" />\n <meta name=\"copyright\" content=\"Dichodaemon\" />\n\n <meta name=\"author\" content=\"Dichodaemon\" />\n <meta name=\"distribution\" content=\"global\" />\n <meta name=\"description\" content=\"Ocatarinetabellachithchix\" />\n <meta name=\"keywords\" content=\"arzaversperia flexilimosos toves\" />\n <link rel=\"stylesheet\" type=\"text/css\" media=\"screen,projection,print\" href=\"css/choco.css\" />\n <title>choco</title>\n\n </head>\n\n <body>\n"
|
9
|
+
end: " <p>\n <a href=\"http://validator.w3.org/check?uri=referer\">\n <img style=\"border:0\"\n src=\"http://www.w3.org/Icons/valid-xhtml10\"\n alt=\"Valid XHTML 1.0 Strict\" height=\"31\" width=\"88\" />\n </a>\n <a href=\"http://jigsaw.w3.org/css-validator/check?uri=referer\">\n <img style=\"border:0;width:88px;height:31px\"\n src=\"http://jigsaw.w3.org/css-validator/images/vcss\" \n alt=\"Valid CSS!\" />\n </a>\n </p>\n </body>\n </html>\n"
|
10
|
+
tags:
|
11
|
+
- begin: <span class="Comment">
|
12
|
+
end: </span>
|
13
|
+
selector: comment
|
14
|
+
- begin: <span class="Constant">
|
15
|
+
end: </span>
|
16
|
+
selector: constant
|
17
|
+
- begin: <span class="Entity">
|
18
|
+
end: </span>
|
19
|
+
selector: entity
|
20
|
+
- begin: <span class="Keyword">
|
21
|
+
end: </span>
|
22
|
+
selector: keyword
|
23
|
+
- begin: <span class="Storage">
|
24
|
+
end: </span>
|
25
|
+
selector: storage
|
26
|
+
- begin: <span class="String">
|
27
|
+
end: </span>
|
28
|
+
selector: string
|
29
|
+
- begin: <span class="Support">
|
30
|
+
end: </span>
|
31
|
+
selector: support
|
32
|
+
- begin: <span class="Variable">
|
33
|
+
end: </span>
|
34
|
+
selector: variable
|
35
|
+
- begin: <span class="InvalidDeprecated">
|
36
|
+
end: </span>
|
37
|
+
selector: invalid.deprecated
|
38
|
+
- begin: <span class="InvalidIllegal">
|
39
|
+
end: </span>
|
40
|
+
selector: invalid.illegal
|
41
|
+
- begin: <span class="EmbeddedSource">
|
42
|
+
end: </span>
|
43
|
+
selector: text source
|
44
|
+
- begin: <span class="EmbeddedSourceBright">
|
45
|
+
end: </span>
|
46
|
+
selector: text.html.ruby source
|
47
|
+
- begin: <span class="EntityInheritedClass">
|
48
|
+
end: </span>
|
49
|
+
selector: entity.other.inherited-class
|
50
|
+
- begin: <span class="StringEmbeddedSource">
|
51
|
+
end: </span>
|
52
|
+
selector: string source
|
53
|
+
- begin: <span class="StringConstant">
|
54
|
+
end: </span>
|
55
|
+
selector: string constant
|
56
|
+
- begin: <span class="StringRegexp">
|
57
|
+
end: </span>
|
58
|
+
selector: string.regexp
|
59
|
+
- begin: <span class="StringRegexpSpecial">
|
60
|
+
end: </span>
|
61
|
+
selector: string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition
|
62
|
+
- begin: <span class="StringVariable">
|
63
|
+
end: </span>
|
64
|
+
selector: string variable
|
65
|
+
- begin: <span class="SupportFunction">
|
66
|
+
end: </span>
|
67
|
+
selector: support.function
|
68
|
+
- begin: <span class="SupportConstant">
|
69
|
+
end: </span>
|
70
|
+
selector: support.constant
|
71
|
+
- begin: <span class="CCCPreprocessorLine">
|
72
|
+
end: </span>
|
73
|
+
selector: meta.preprocessor.c
|
74
|
+
- begin: <span class="CCCPreprocessorDirective">
|
75
|
+
end: </span>
|
76
|
+
selector: meta.preprocessor.c keyword
|
77
|
+
- begin: <span class="DoctypeXmlProcessing">
|
78
|
+
end: </span>
|
79
|
+
selector: meta.tag.sgml.doctype, meta.tag.sgml.doctype entity, meta.tag.sgml.doctype string, meta.tag.preprocessor.xml, meta.tag.preprocessor.xml entity, meta.tag.preprocessor.xml string
|
80
|
+
- begin: <span class="MetaTagAll">
|
81
|
+
end: </span>
|
82
|
+
selector: declaration.tag, declaration.tag entity, meta.tag, meta.tag entity
|
83
|
+
- begin: <span class="MetaTagInline">
|
84
|
+
end: </span>
|
85
|
+
selector: declaration.tag.inline, declaration.tag.inline entity, source entity.name.tag, source entity.other.attribute-name, meta.tag.inline, meta.tag.inline entity
|
86
|
+
- begin: <span class="CssTagName">
|
87
|
+
end: </span>
|
88
|
+
selector: meta.selector.css entity.name.tag
|
89
|
+
- begin: <span class="CssPseudoClass">
|
90
|
+
end: </span>
|
91
|
+
selector: meta.selector.css entity.other.attribute-name.tag.pseudo-class
|
92
|
+
- begin: <span class="CssId">
|
93
|
+
end: </span>
|
94
|
+
selector: meta.selector.css entity.other.attribute-name.id
|
95
|
+
- begin: <span class="CssClass">
|
96
|
+
end: </span>
|
97
|
+
selector: meta.selector.css entity.other.attribute-name.class
|
98
|
+
- begin: <span class="CssPropertyName">
|
99
|
+
end: </span>
|
100
|
+
selector: support.type.property-name.css
|
101
|
+
- begin: <span class="CssPropertyValue">
|
102
|
+
end: </span>
|
103
|
+
selector: meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css
|
104
|
+
- begin: <span class="CssAtRule">
|
105
|
+
end: </span>
|
106
|
+
selector: meta.preprocessor.at-rule keyword.control.at-rule
|
107
|
+
- begin: <span class="CssAdditionalConstants">
|
108
|
+
end: </span>
|
109
|
+
selector: meta.property-value support.constant.named-color.css, meta.property-value constant
|
110
|
+
- begin: <span class="CssConstructorArgument">
|
111
|
+
end: </span>
|
112
|
+
selector: meta.constructor.argument.css
|
113
|
+
- begin: <span class="DiffHeader">
|
114
|
+
end: </span>
|
115
|
+
selector: meta.diff, meta.diff.header, meta.separator
|
116
|
+
- begin: <span class="DiffDeleted">
|
117
|
+
end: </span>
|
118
|
+
selector: markup.deleted
|
119
|
+
- begin: <span class="DiffChanged">
|
120
|
+
end: </span>
|
121
|
+
selector: markup.changed
|
122
|
+
- begin: <span class="DiffInserted">
|
123
|
+
end: </span>
|
124
|
+
selector: markup.inserted
|
125
|
+
- begin: <span class="MarkupList">
|
126
|
+
end: </span>
|
127
|
+
selector: markup.list
|
128
|
+
- begin: <span class="MarkupHeading">
|
129
|
+
end: </span>
|
130
|
+
selector: markup.heading
|
131
|
+
listing:
|
132
|
+
begin: <pre class="choco">
|
133
|
+
end: </pre>
|
134
|
+
line-numbers:
|
135
|
+
begin: <span class="line-numbers">
|
136
|
+
end: </span>
|
@@ -0,0 +1,79 @@
|
|
1
|
+
#**********************************************************************
|
2
|
+
#* *
|
3
|
+
#* RmThemeGen - a ruby script to create random, usable themes for *
|
4
|
+
#* text editors. Currently supports RubyMine 3.X.X *
|
5
|
+
#* *
|
6
|
+
#* By David Heitzman, 2011 *
|
7
|
+
#* *
|
8
|
+
#**********************************************************************
|
9
|
+
|
10
|
+
#get_tm_scopes is a utility script to grab all the scope lines out of the tmthemes stored
|
11
|
+
# in the subdirectory under test
|
12
|
+
|
13
|
+
#this is a version of the software that should work with ruby 1.8.7
|
14
|
+
#originally it was written and tested for ruby 1.9.2
|
15
|
+
|
16
|
+
require 'rubygems'
|
17
|
+
#require 'color'
|
18
|
+
#require 'xmlsimple'
|
19
|
+
require 'rexml/document'
|
20
|
+
#require File.dirname(__FILE__)+"/token_list"
|
21
|
+
#require File.dirname(__FILE__)+'/rgb_contrast_methods'
|
22
|
+
#require File.dirname(__FILE__)+'/rmthemegen_to_css'
|
23
|
+
|
24
|
+
|
25
|
+
class ScopeEater
|
26
|
+
def get_scopes_from_themefiles
|
27
|
+
@scopes = {}
|
28
|
+
@files_look_in = Dir[File.dirname(__FILE__)+"/textmate_themes/*.tmTheme"]
|
29
|
+
# files_look_in = Dir[File.dirname(__FILE__)+"/syntaxes/Ruby.plist"]
|
30
|
+
puts @files_look_in.inspect
|
31
|
+
|
32
|
+
@files_look_in.each do |f|
|
33
|
+
puts "opening file "+f.to_s
|
34
|
+
syntax_file = File.open(f,"r")
|
35
|
+
indoc = REXML::Document.new( syntax_file )
|
36
|
+
|
37
|
+
|
38
|
+
visit_all_nodes(indoc.root) { |k|
|
39
|
+
begin
|
40
|
+
if (k.respond_to?(:local_name) )
|
41
|
+
if (k.parent.name=='dict' && (k.previous_element.respond_to?(:local_name) ) )
|
42
|
+
if ( k.previous_element.local_name=='key' && k.previous_element.text=="scope" )
|
43
|
+
@scopes[k.text.to_s]=''
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
rescue => e
|
48
|
+
puts "an exception in process_plists(): "+e.to_s
|
49
|
+
end
|
50
|
+
}
|
51
|
+
|
52
|
+
syntax_file.close
|
53
|
+
end #files_look_in.each
|
54
|
+
outf=File.new("scopes_harvested","w")
|
55
|
+
@scopes.each do |s|
|
56
|
+
outf.puts s
|
57
|
+
end
|
58
|
+
outf.close
|
59
|
+
puts "harvested #{@scopes.size} scopes from #{@files_look_in.size} files."
|
60
|
+
|
61
|
+
end #process_plists
|
62
|
+
|
63
|
+
def visit_all_nodes(element, &block)
|
64
|
+
if element.is_a?(REXML::Element)
|
65
|
+
if element.has_elements? then
|
66
|
+
element.each do |kkid|
|
67
|
+
visit_all_nodes( kkid, &block)
|
68
|
+
end
|
69
|
+
else
|
70
|
+
yield element
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end #visit_all_nodes
|
74
|
+
end #class ScopeEater
|
75
|
+
|
76
|
+
e=ScopeEater.new
|
77
|
+
e.get_scopes_from_themefiles
|
78
|
+
|
79
|
+
|
data/test/get_tm_tokens.rb
CHANGED
@@ -88,11 +88,8 @@ Kernel.exit
|
|
88
88
|
l = RMThemeGen::ThemeGenerator.new
|
89
89
|
|
90
90
|
1.times do
|
91
|
-
# puts l.make_theme_file(:outputdir => ENV["PWD"],:bg_color_style => 0 )
|
92
|
-
# puts l.make_theme_file(ENV["PWD"],0,[{:r=>0.0,:g=>0.0},{:r=>1.0,:g=>0.0,:b=>0.0}])
|
93
91
|
puts l.make_theme_file(ENV["PWD"],0,nil)
|
94
92
|
puts l.to_textmate
|
95
|
-
# puts l.make_theme_file(:outputdir => ENV["PWD"],:bg_color_style => 2 )
|
96
93
|
end
|
97
94
|
puts "testing to_css"
|
98
95
|
puts l.to_css
|
data/test/newtheme.sh
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
rm rmt_*
|
4
|
+
ruby test_generate_themes.rb 1
|
5
|
+
rm /home/gruen/.rvm/gems/ruby-1.8.7-p352/gems/redcar-0.11/plugins/textmate/vendor/redcar-bundles/Themes/rmt_*
|
6
|
+
cp rmt*.tmTheme /home/gruen/.rvm/gems/ruby-1.8.7-p352/gems/redcar-0.11/plugins/textmate/vendor/redcar-bundles/Themes/
|
data/test/output
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
TEST TEST TEST
|
2
|
+
|
3
|
+
Mac: Copy xml files to ~/Library/Preferences/RubyMine/color. You must restart RubyMine on the Mac, then look for new color schemes.
|
4
|
+
|
5
|
+
/home/apache/ruby_scripts/rmtg/test/rmt_quickest_French.xml
|
6
|
+
/home/apache/ruby_scripts/rmtg/test/rmt_quickest_French.tmTheme
|
7
|
+
testing to_css
|
8
|
+
<style type="text/css"> #quickest_French { background-color: #0a0a0a; } #quickest_French .RUBY_ATTR_ACCESSOR_CALL {color: #cae4c8;} #quickest_French .RUBY_ATTR_READER_CALL {color: #b0f1ef;font-weight:bold;} #quickest_French .RUBY_ATTR_WRITER_CALL {color: #c5c500;font-weight:bold;} #quickest_French .RUBY_BACK_REF {color: #d195ff;} #quickest_French .RUBY_BAD_CHARACTER {color: #abc1ff;} #quickest_French .RUBY_BRACKETS {color: #ffd9ec;} #quickest_French .RUBY_COMMA {color: #6dbc45;} #quickest_French .RUBY_COMMENT {color: #019a00;} #quickest_French .RUBY_CONSTANT {color: #fa8b00;} #quickest_French .RUBY_CONSTANT_DEF_ID {color: #c3cfff;font-weight:bold;} #quickest_French .RUBY_CVAR {color: #c5ffff;} #quickest_French .RUBY_ESCAPE_SEQUENCE {color: #de26d1;} #quickest_French .RUBY_EXPR_IN_STRING {color: #f2f7f4;} #quickest_French .RUBY_GVAR {color: #a89eff;} #quickest_French .RUBY_HASH_ASSOC {color: #bdffe6;} #quickest_French .RUBY_HEREDOC_CONTENT {color: #bec530;} #quickest_French .RUBY_HEREDOC_ID {color: #20c433;} #quickest_French .RUBY_IDENTIFIER {color: #ffecff;font-weight:bold;} #quickest_French .RUBY_IMPORT_CALL {color: #e6b0c9;} #quickest_French .RUBY_INVALID_ESCAPE_SEQUENCE {color: #d6ffdd;} #quickest_French .RUBY_IVAR {color: #f9e4d7;} #quickest_French .RUBY_KEYWORD {color: #d4ffff;} #quickest_French .RUBY_LINE_CONTINUATION {color: #eaf2ff;} #quickest_French .RUBY_LOCAL_VAR_ID {color: #d4ffc0;} #quickest_French .RUBY_METHOD_NAME {color: #93e100;} #quickest_French .RUBY_NTH_REF {color: #53dbff;} #quickest_French .RUBY_NUMBER {color: #ddce00;} #quickest_French .RUBY_OPERATION_SIGN {color: #72c500;} #quickest_French .RUBY_PARAMDEF_CALL {color: #59bc17;} #quickest_French .RUBY_PARAMETER_ID {color: #cde8e2;} #quickest_French .RUBY_PRIVATE_CALL {color: #5ebee3;} #quickest_French .RUBY_PROTECTED_CALL {color: #c8fff9;} #quickest_French .RUBY_PUBLIC_CALL {color: #3ce70d;} #quickest_French .RUBY_REGEXP {color: #a5f5f4;} #quickest_French .RUBY_REQUIRE_ARG_CALL {color: #d2efeb;} #quickest_French .RUBY_REQUIRE_CALL {color: #dfd6e7;} #quickest_French .RUBY_SEMICOLON {color: #d4b200;} #quickest_French .RUBY_SPECIFIC_CALL {color: #ffffd4;} #quickest_French .RUBY_STRING {color: #f58f08;font-style:italic;} #quickest_French .RUBY_SYMBOL {color: #b8c000;} #quickest_French .RUBY_WORDS {color: #d4f6f3;} #quickest_French .CARET_ROW_COLOR {background-color: #350d17;} #quickest_French .SELECTION_BACKGROUND {background-color: #db3d09;} </style>
|
9
|
+
testing themename
|
10
|
+
quickest_French
|
11
|
+
|
12
|
+
testing plist_to_tokenlist.rb
|
13
|
+
{"support.function.php_apache.php"=>"", "support.function.pgsql.php"=>"", "entity.name.type.class.php"=>"", "support.function.ncurses_functions.php"=>"", "keyword.other.new.php"=>"", "support.function.filestat.php"=>"", "support.function.string_extend.php"=>"", "string.quoted.double.unclosed.sql"=>"", "meta.function-call.object.php"=>"", "keyword.operator.error-control.php"=>"", "support.function.ldap.php"=>"", "support.function.versioning.php"=>"", "support.function.sysvsem.php"=>"", "support.function.php_functions.php"=>"", "storage.modifier.extends.php"=>"", "string.quoted.double.sql"=>"", "keyword.operator.key.php"=>"", "punctuation.definition.array.begin.php"=>"", "support.function.url.php"=>"", "keyword.operator.heredoc.php"=>"", "storage.modifier.php"=>"", "punctuation.definition.parameters.begin.php"=>"", "support.function.libxml.php"=>"", "support.function.document.php"=>"", "string.quoted.single.sql"=>"", "string.regexp.arbitrary-repitition.php"=>"", "string.quoted.single.sql.php"=>"", "constant.language.php"=>"", "support.function.cyr_convert.php"=>"", "support.function.recode.php"=>"", "support.function.com_variant.php"=>"", "constant.numeric.octal.php"=>"", "support.function.xpath.php"=>"", "support.function.php_fbsql.php"=>"", "keyword.operator.index-start.php"=>"", "support.function.ibase_query.php"=>"", "constant.character.escape.regex.php"=>"", "support.function.crypt.php"=>"", "keyword.control.import.include.php"=>"", "support.function.construct.php"=>"", "support.function.domimplementationlist.php"=>"", "support.function.mbstring.php"=>"", "support.function.node.php"=>"", "string.unquoted.index.php"=>"", "markup.underline.link.php"=>"", "punctuation.definition.array.end.php"=>"", "support.class.implements.php"=>"", "string.quoted.other.backtick.unclosed.sql"=>"", "support.function.dns.php"=>"", "support.function.namednodemap.php"=>"", "support.function.ibase_blobs.php"=>"", "support.function.ming.php"=>"", "support.function.shmop.php"=>"", "support.function.iptc.php"=>"", "support.function.assert.php"=>"", "support.function.link.php"=>"", "support.function.lcg.php"=>"", "invalid.illegal.missing-asterisk.phpdoc.php"=>"", "support.function.oci8_interface.php"=>"", "support.function.userspace.php"=>"", "keyword.operator.regexp.php"=>"", "entity.other.inherited-class.php"=>"", "constant.other.php"=>"", "keyword.operator.arithmetic.php"=>"", "support.function.syslog.php"=>"", "support.function.spl_iterators.php"=>"", "support.function.filter.php"=>"", "support.class.php"=>"", "string.quoted.double.sql.php"=>"", "meta.embedded.html"=>"", "meta.function.argument.array.php"=>"", "support.function.fsock.php"=>"", "support.function.php_spl.php"=>"", "support.function.multi.php"=>"", "support.function.gmp.php"=>"", "keyword.control.exception.php"=>"", "support.function.snmp.php"=>"", "string.unquoted.heredoc.php"=>"", "support.function.domconfiguration.php"=>"", "source.php.embedded.line.html"=>"", "support.function.json.php"=>"", "support.function.pdo.php"=>"", "support.function.text.php"=>"", "support.function.interface.php"=>"", "support.function.pageinfo.php"=>"", "support.function.datetime.php"=>"", "support.function.mail.php"=>"", "punctuation.definition.string.begin.php"=>"", "punctuation.whitespace.embedded.leading.php"=>"", "support.function.levenshtein.php"=>"", "support.function.dba.php"=>"", "support.function.dir.php"=>"", "keyword.operator.bitwise.php"=>"", "support.function.dl.php"=>"", "PHP"=>"", "support.function.pdo_dbh.php"=>"", "punctuation.section.embedded.end.php"=>"", "support.function.file.php"=>"", "support.function.php_mysql.php"=>"", "string.regexp.single-quoted.php"=>"", "punctuation.terminator.expression.php"=>"", "support.function.php_sybase_db.php"=>"", "support.function.mysqli_api.php"=>"", "support.function.calendar.php"=>"", "support.function.php_milter.php"=>"", "meta.function-call.static.php"=>"", "support.function.mysqli_nonapi.php"=>"", "keyword.operator.class.php"=>"", "support.function.soundex.php"=>"", "support.function.sysvmsg.php"=>"", "support.function.rand.php"=>"", "support.function.php_mssql.php"=>"", "variable.other.index.php"=>"", "support.function.domimplementation.php"=>"", "support.function.domstringlist.php"=>"", "keyword.operator.comparison.php"=>"", "source.php.embedded.block.html"=>"", "variable.other.property.php"=>"", "support.function.microtime.php"=>"", "meta.embedded.css"=>"", "support.function.mysqli_embedded.php"=>"", "support.function.mime_magic.php"=>"", "support.function.mhash.php"=>"", "keyword.operator.logical.php"=>"", "keyword.operator.type.php"=>"", "support.function.sqlite.php"=>"", "support.function.php_msql.php"=>"", "support.function.image.php"=>"", "entity.name.type.interface.php"=>"", "support.function.wddx.php"=>"", "support.function.simplexml.php"=>"", "storage.type.function.php"=>"", "punctuation.definition.parameters.end.php"=>"", "support.function.namelist.php"=>"", "meta.function.argument.no-default.php"=>"", "support.function.ibase_service.php"=>"", "comment.line.number-sign.php"=>"", "storage.modifier.implements.php"=>"", "support.function.posix.php"=>"", "support.function.php_pcre.php"=>"", "string.interpolated.php"=>"", "support.function.formatted_print.php"=>"", "entity.name.function.php"=>"", "support.function.ctype.php"=>"", "support.function.php_odbc.php"=>"", "support.function.php_date.php"=>"", "punctuation.section.embedded.begin.php"=>"", "support.function.exec.php"=>"", "support.function.gettext.php"=>"", "support.function.iconv.php"=>"", "support.function.type.php"=>"", "support.function.sysvshm.php"=>"", "support.function.session.php"=>"", "support.function.nsapi.php"=>"", "punctuation.definition.variable.php"=>"", "constant.character.escape.php"=>"", "support.function.pspell.php"=>"", "storage.modifier.reference.php"=>"", "support.function.array.php"=>"", "support.function.attr.php"=>"", "string.regexp.character-class.php"=>"", "support.function.md5.php"=>"", "meta.function.argument.typehinted.php"=>"", "support.function.builtin_functions.php"=>"", "support.function.pcntl.php"=>"", "comment.block.php"=>"", "support.function.quot_print.php"=>"", "punctuation.whitespace.embedded.trailing.php"=>"", "invalid.illegal.wrong-access-type.phpdoc.php"=>"", "support.function.openssl.php"=>"", "variable.other.global.safer.php"=>"", "support.function.uniqid.php"=>"", "meta.embedded.sql"=>"", "comment.line.number-sign.sql"=>"", "punctuation.definition.string.php"=>"", "support.function.birdstep.php"=>"", "source.php"=>"", "support.function.proc_open.php"=>"", "meta.function-call.php"=>"", "meta.embedded.js"=>"", "support.function.php_ftp.php"=>"", "constant.numeric.index.php"=>"", "meta.embedded.xml"=>"", "keyword.other.phpdoc.php"=>"", "support.function.main.php"=>"", "meta.interface.php"=>"", "support.function.dbase.php"=>"", "support.function.xsltprocessor.php"=>"", "support.function.php_dom.php"=>"", "support.function.magic.php"=>"", "meta.function.php"=>"", "keyword.operator.increment-decrement.php"=>"", "support.function.mysqli_repl.php"=>"", "support.function.head.php"=>"", "support.function.uuencode.php"=>"", "support.constant.core.php"=>"", "support.function.basic_functions.php"=>"", "support.function.gd.php"=>"", "support.function.html.php"=>"", "support.function.readline.php"=>"", "support.function.php_xmlwriter.php"=>"", "support.function.php_sybase_ct.php"=>"", "punctuation.definition.comment.php"=>"", "keyword.operator.php"=>"", "keyword.operator.assignment.php"=>"", "support.function.base64.php"=>"", "invalid.illegal.invalid-simple-array-index.php"=>"", "variable.other.class.php"=>"", "support.function.com_com.php"=>"", "support.function.sockets.php"=>"", "support.function.php_imap.php"=>"", "constant.numeric.php"=>"", "support.function.info.php"=>"", "keyword.operator.string.php"=>"", "meta.tag.inline.phpdoc.php"=>"", "punctuation.definition.string.end.php"=>"", "support.function.cal_unix.php"=>"", "support.function.http.php"=>"", "support.function.characterdata.php"=>"", "support.function.interbase.php"=>"", "storage.modifier.abstract.php"=>"", "comment.line.double-slash.php"=>"", "support.function.crc32.php"=>"", "string.quoted.single.unclosed.sql"=>"", "support.function.streamsfuncs.php"=>"", "support.function.reg.php"=>"", "comment.block.documentation.phpdoc.php"=>"", "support.function.hash.php"=>"", "support.function.mysqli_report.php"=>"", "invalid.illegal.php"=>"", "string.quoted.other.backtick.sql"=>"", "support.function.var.php"=>"", "storage.type.php"=>"", "string.quoted.double.php"=>"", "support.function.domerrorhandler.php"=>"", "string.regexp.double-quoted.php"=>"", "support.function.math.php"=>"", "punctuation.definition.character-class.php"=>"", "support.function.pack.php"=>"", "support.constant.std.php"=>"", "constant.numeric.hex.php"=>"", "support.function.alias.php"=>"", "support.function.php_mbregex.php"=>"", "meta.array.php"=>"", "string.quoted.single.php"=>"", "meta.consecutive-tags.php"=>"", "support.function.output.php"=>"", "punctuation.definition.arbitrary-repitition.php"=>"", "variable.other.global.php"=>"", "support.class.builtin.php"=>"", "support.function.xmlrpc-epi-php.php"=>"", "meta.function.argument.default.php"=>"", "variable.other.php"=>"", "support.function.domimplementationsource.php"=>"", "support.function.ftok.php"=>"", "support.function.element.php"=>"", "support.function.ibase_events.php"=>"", "support.function.zlib.php"=>"", "support.function.metaphone.php"=>"", "support.function.exif.php"=>"", "support.function.nodelist.php"=>"", "support.function.hash_md.php"=>"", "storage.type.interface.php"=>"", "support.function.tokenizer.php"=>"", "support.function.string.php"=>"", "comment.line.double-dash.sql"=>"", "support.function.php_zip.php"=>"", "keyword.control.php"=>"", "support.function.xml.php"=>"", "support.function.tidy.php"=>"", "support.function.skeleton.php"=>"", "meta.class.php"=>"", "support.function.userdatahandler.php"=>"", "support.function.user_filters.php"=>"", "support.function.mcrypt.php"=>"", "support.function.hash_sha.php"=>"", "storage.type.class.php"=>"", "support.function.sha1.php"=>"", "support.function.easter.php"=>"", "invalid.illegal.non-null-typehinted.php"=>"", "support.function.browscap.php"=>"", "support.function.bcmath.php"=>"", "support.function.fdf.php"=>"", "source.php.embedded.line.empty.html"=>"", "meta.include.php"=>"", "keyword.operator.index-end.php"=>"", "constant.other.class.php"=>"", "support.function.bz2.php"=>"", "meta.catch.php"=>""}
|
14
|
+
|
@@ -0,0 +1,100 @@
|
|
1
|
+
TEST TEST TEST
|
2
|
+
|
3
|
+
Mac: Copy xml files to ~/Library/Preferences/RubyMine/color. You must restart RubyMine on the Mac, then look for new color schemes.
|
4
|
+
|
5
|
+
/home/apache/ruby_scripts/rmtg/test/rmt_respective_waitress.xml
|
6
|
+
/home/apache/ruby_scripts/rmtg/test/rmt_respective_waitress.tmTheme
|
7
|
+
testing to_css
|
8
|
+
<style type="text/css"> #respective_waitress { background-color: #060606; } #respective_waitress .RUBY_ATTR_ACCESSOR_CALL {color: #8bea66;} #respective_waitress .RUBY_ATTR_READER_CALL {color: #ceba37;} #respective_waitress .RUBY_ATTR_WRITER_CALL {color: #e395c1;font-weight:bold;} #respective_waitress .RUBY_BACK_REF {color: #9f3859;} #respective_waitress .RUBY_BAD_CHARACTER {color: #d5b9eb;} #respective_waitress .RUBY_BRACKETS {color: #19c287;} #respective_waitress .RUBY_COMMA {color: #ddabe4;} #respective_waitress .RUBY_COMMENT {color: #a51165;} #respective_waitress .RUBY_CONSTANT {color: #a04cf7;} #respective_waitress .RUBY_CONSTANT_DEF_ID {color: #627e5a;font-weight:bold;} #respective_waitress .RUBY_CVAR {color: #369b52;} #respective_waitress .RUBY_ESCAPE_SEQUENCE {color: #1eac0d;} #respective_waitress .RUBY_EXPR_IN_STRING {color: #886a3c;} #respective_waitress .RUBY_GVAR {color: #84776d;} #respective_waitress .RUBY_HASH_ASSOC {color: #65d31b;} #respective_waitress .RUBY_HEREDOC_CONTENT {color: #674bde;} #respective_waitress .RUBY_HEREDOC_ID {color: #2f39ee;} #respective_waitress .RUBY_IDENTIFIER {color: #a05ec1;font-weight:bold;} #respective_waitress .RUBY_IMPORT_CALL {color: #dedc34;} #respective_waitress .RUBY_INVALID_ESCAPE_SEQUENCE {color: #8590f6;} #respective_waitress .RUBY_IVAR {color: #3a64c6;} #respective_waitress .RUBY_KEYWORD {color: #6fa0ce;} #respective_waitress .RUBY_LINE_CONTINUATION {color: #997fd4;} #respective_waitress .RUBY_LOCAL_VAR_ID {color: #15cd69;} #respective_waitress .RUBY_METHOD_NAME {color: #0ba530;} #respective_waitress .RUBY_NTH_REF {color: #7e8edf;} #respective_waitress .RUBY_NUMBER {color: #e27cdd;} #respective_waitress .RUBY_OPERATION_SIGN {color: #f67c84;} #respective_waitress .RUBY_PARAMDEF_CALL {color: #95f76b;} #respective_waitress .RUBY_PARAMETER_ID {color: #347863;} #respective_waitress .RUBY_PRIVATE_CALL {color: #9f13a2;} #respective_waitress .RUBY_PROTECTED_CALL {color: #2ed10d;} #respective_waitress .RUBY_PUBLIC_CALL {color: #0c6bc8;} #respective_waitress .RUBY_REGEXP {color: #e9b191;} #respective_waitress .RUBY_REQUIRE_ARG_CALL {color: #21e00a;} #respective_waitress .RUBY_REQUIRE_CALL {color: #7183d9;} #respective_waitress .RUBY_SEMICOLON {color: #e9b085;} #respective_waitress .RUBY_SPECIFIC_CALL {color: #73622f;} #respective_waitress .RUBY_STRING {color: #9a8070;} #respective_waitress .RUBY_SYMBOL {color: #15baf2;} #respective_waitress .RUBY_WORDS {color: #811bc7;} #respective_waitress .CARET_ROW_COLOR {background-color: #0e034c;} #respective_waitress .SELECTION_BACKGROUND {background-color: #7b5763;} </style>
|
9
|
+
testing themename
|
10
|
+
respective_waitress
|
11
|
+
|
12
|
+
testing plist_to_tokenlist.rb
|
13
|
+
indoc, as just read in
|
14
|
+
seeing if I can traverse all the kids
|
15
|
+
seeing if I can traverse all the kids
|
16
|
+
seeing if I can traverse all the kids
|
17
|
+
seeing if I can traverse all the kids
|
18
|
+
seeing if I can traverse all the kids
|
19
|
+
seeing if I can traverse all the kids
|
20
|
+
inspect
|
21
|
+
<<
|
22
|
+
tap
|
23
|
+
clone
|
24
|
+
value
|
25
|
+
wrap
|
26
|
+
public_methods
|
27
|
+
__send__
|
28
|
+
object_id
|
29
|
+
instance_variable_defined?
|
30
|
+
indent
|
31
|
+
equal?
|
32
|
+
freeze
|
33
|
+
value=
|
34
|
+
extend
|
35
|
+
send
|
36
|
+
methods
|
37
|
+
hash
|
38
|
+
dup
|
39
|
+
each_recursive
|
40
|
+
node_type
|
41
|
+
bytes
|
42
|
+
to_enum
|
43
|
+
instance_variables
|
44
|
+
eql?
|
45
|
+
instance_eval
|
46
|
+
id
|
47
|
+
next_sibling_node
|
48
|
+
singleton_methods
|
49
|
+
next_sibling
|
50
|
+
empty?
|
51
|
+
taint
|
52
|
+
find_first_recursive
|
53
|
+
enum_for
|
54
|
+
frozen?
|
55
|
+
instance_variable_get
|
56
|
+
next_sibling=
|
57
|
+
replace_with
|
58
|
+
document
|
59
|
+
raw
|
60
|
+
instance_of?
|
61
|
+
display
|
62
|
+
to_a
|
63
|
+
method
|
64
|
+
dclone
|
65
|
+
type
|
66
|
+
previous_sibling_node
|
67
|
+
raw=
|
68
|
+
parent
|
69
|
+
instance_exec
|
70
|
+
<
|
71
|
+
protected_methods
|
72
|
+
<=>
|
73
|
+
between?
|
74
|
+
==
|
75
|
+
>
|
76
|
+
===
|
77
|
+
index_in_parent
|
78
|
+
parent=
|
79
|
+
remove
|
80
|
+
write_with_substitution
|
81
|
+
instance_variable_set
|
82
|
+
write
|
83
|
+
respond_to?
|
84
|
+
kind_of?
|
85
|
+
>=
|
86
|
+
xpath
|
87
|
+
to_s
|
88
|
+
<=
|
89
|
+
indent_text
|
90
|
+
class
|
91
|
+
private_methods
|
92
|
+
=~
|
93
|
+
tainted?
|
94
|
+
__id__
|
95
|
+
previous_sibling
|
96
|
+
untaint
|
97
|
+
nil?
|
98
|
+
parent?
|
99
|
+
previous_sibling=
|
100
|
+
is_a?
|
@@ -0,0 +1,61 @@
|
|
1
|
+
['comment',
|
2
|
+
'entity',
|
3
|
+
'keyword',
|
4
|
+
'keyword.control',
|
5
|
+
'keyword.operator',
|
6
|
+
'entity.name.type',
|
7
|
+
'support',
|
8
|
+
'storage',
|
9
|
+
'storage.modifier',
|
10
|
+
'constant',
|
11
|
+
'string',
|
12
|
+
'constant.numeric',
|
13
|
+
'punctuation',
|
14
|
+
'variable',
|
15
|
+
'invalid.deprecated',
|
16
|
+
'invalid.illegal',
|
17
|
+
'text source',
|
18
|
+
'entity.other.inherited-class',
|
19
|
+
'source string source',
|
20
|
+
'source string source punctuation.section.embedded',
|
21
|
+
'string constant',
|
22
|
+
'string.regexp',
|
23
|
+
'string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition',
|
24
|
+
'string.regexp.group',
|
25
|
+
'string.regexp.character-class',
|
26
|
+
'string variable',
|
27
|
+
'support.function',
|
28
|
+
'support.constant',
|
29
|
+
'meta.preprocessor.c',
|
30
|
+
'meta.preprocessor.c keyword',
|
31
|
+
'meta.cast',
|
32
|
+
'meta.sgml.html meta.doctype, meta.sgml.html meta.doctype entity, meta.sgml.html meta.doctype string, meta.xml-processing, meta.xml-processing entity, meta.xml-processing string',
|
33
|
+
'meta.tag, meta.tag entity',
|
34
|
+
'source entity.name.tag, source entity.other.attribute-name, meta.tag.inline, meta.tag.inline entity',
|
35
|
+
'entity.other.attribute-name',
|
36
|
+
'entity.name.tag.namespace, entity.other.attribute-name.namespace',
|
37
|
+
'meta.selector.css entity.name.tag',
|
38
|
+
'meta.selector.css entity.other.attribute-name.tag.pseudo-class',
|
39
|
+
'meta.selector.css entity.other.attribute-name.id',
|
40
|
+
'meta.selector.css entity.other.attribute-name.class',
|
41
|
+
'support.type.property-name.css',
|
42
|
+
'meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css',
|
43
|
+
'meta.preprocessor.at-rule keyword.control.at-rule',
|
44
|
+
'meta.property-value support.constant.named-color.css, meta.property-value constant',
|
45
|
+
'meta.constructor.argument.css',
|
46
|
+
'meta.diff, meta.diff.header',
|
47
|
+
'markup.deleted',
|
48
|
+
'markup.changed',
|
49
|
+
'markup.inserted',
|
50
|
+
'markup.italic',
|
51
|
+
'markup.bold',
|
52
|
+
'markup.underline',
|
53
|
+
'markup.quote',
|
54
|
+
'markup.heading, markup.heading entity',
|
55
|
+
'markup.list',
|
56
|
+
'markup.raw',
|
57
|
+
'markup comment',
|
58
|
+
'meta.separator',
|
59
|
+
'meta.line.entry.logfile, meta.line.exit.logfile',
|
60
|
+
'meta.line.error.logfile',
|
61
|
+
]
|
@@ -0,0 +1,15 @@
|
|
1
|
+
['meta.thomas_aylott', 'meta.subtlegradient', 'string -meta.tag -meta.doctype -string.regexp -string.literal -string.interpolated -string.quoted.literal -string.unquoted, variable.parameter.misc.css, text string source string, string.unquoted string, string.regexp string, string.interpolated string, meta.tag source string', 'punctuation.definition.string -meta.tag', 'string.regexp punctuation.definition.string, string.quoted.literal punctuation.definition.string, string.quoted.double.ruby.mod punctuation.definition.string', 'string.quoted.literal, string.quoted.double.ruby.mod', 'string.unquoted -string.unquoted.embedded, string.quoted.double.multiline, meta.scope.heredoc', 'string.interpolated', 'string.regexp', 'string.regexp.group', 'string.regexp.group string.regexp.group ', 'string.regexp.group string.regexp.group string.regexp.group ', 'string.regexp.group string.regexp.group string.regexp.group string.regexp.group ', 'string.regexp.character-class', 'string.regexp.arbitrary-repitition', 'string.regexp punctuation.definition.string keyword.other', 'meta.group.assertion.regexp ', 'meta.assertion, meta.group.assertion keyword.control.group.regexp, meta.group.assertion punctuation.definition.group', 'constant.numeric', 'constant.character', 'constant.language, keyword.other.unit, constant.other.java, constant.other.unit', 'constant.language.pseudo-variable', 'constant.other, constant.block', 'support.constant, constant.name', 'variable.other.readwrite.global.pre-defined, variable.language', 'variable.other.constant', 'support.variable', 'variable.other.readwrite.global', 'variable.other, variable.js, punctuation.separator.variable', 'variable.other.readwrite.class', 'variable.other.readwrite.instance', 'variable.other.php, variable.other.normal', 'punctuation.definition, punctuation.separator.variable', 'storage -storage.modifier', 'other.preprocessor, entity.name.preprocessor', 'variable.language.this.js', 'storage.modifier', 'entity.name.class, entity.name.type.class, entity.name.type.module', 'meta.class -meta.class.instance, declaration.class, meta.definition.class, declaration.module', 'support.type, support.class', 'entity.name.instance, entity.name.type.instance', 'meta.class.instance.constructor', 'entity.other.inherited-class, entity.name.module', 'meta.definition.method', 'meta.function, meta.property.function, declaration.function', 'entity.name.function, entity.name.preprocessor', 'variable.parameter.function', 'variable.parameter -variable.parameter.misc.css, meta.definition.method meta.definition.param-list, meta.function.method.with-arguments variable.parameter.function', 'punctuation.definition.parameters, variable.parameter.function punctuation.separator.object', 'keyword.other.special-method, meta.function-call entity.name.function -(meta.function-call meta.function), support.function - variable', 'meta.function-call support.function - variable', 'support.function', 'punctuation.section.function, meta.brace.curly.function, meta.function-call punctuation.section.scope.ruby, meta.function-call punctuation.separator.object', 'meta.group.braces.round punctuation.section.scope,
|
2
|
+
meta.group.braces.round meta.delimiter.object.comma,
|
3
|
+
meta.group.braces.curly.function meta.delimiter.object.comma,
|
4
|
+
meta.brace.round', 'meta.function-call.method.without-arguments, meta.function-call.method.without-arguments entity.name.function', 'keyword.control', 'keyword', 'keyword.other', 'source.regexp keyword.operator', 'keyword.operator, declaration.function.operator, meta.preprocessor.c.include, punctuation.separator.operator', 'keyword.operator.assignment', 'keyword.operator.arithmetic', 'keyword.operator.logical', 'keyword.operator.comparison', 'meta.class.instance.constructor keyword.operator.new', 'meta.doctype, meta.tag.sgml-declaration.doctype, meta.tag.sgml.doctype', 'meta.tag', 'meta.tag.structure, meta.tag.segment', 'meta.tag.block, meta.tag.xml, meta.tag.key', 'meta.tag.inline', 'meta.tag.inline source', 'meta.tag.other, entity.name.tag.style, entity.name.tag.script, meta.tag.block.script, source.js.embedded punctuation.definition.tag.html, source.css.embedded punctuation.definition.tag.html', 'meta.tag.form, meta.tag.block.form', 'meta.tag.meta', 'meta.section.html.head', 'meta.section.html.form', 'meta.tag.xml', 'entity.name.tag', 'entity.other.attribute-name, meta.tag punctuation.definition.string', 'meta.tag string -source -punctuation, text source text meta.tag string -punctuation', 'text meta.paragraph', 'markup markup -(markup meta.paragraph.list)', 'markup.hr', 'markup.heading', 'markup.bold', 'markup.italic', 'markup.underline', 'meta.reference, markup.underline.link', 'entity.name.reference', 'meta.reference.list markup.underline.link, text.html.textile markup.underline.link', 'markup.raw.block', 'markup.quote', 'markup.list meta.paragraph', 'text.html.markdown', 'text.html.markdown meta.paragraph', 'text.html.markdown markup.list meta.paragraph', 'text.html.markdown markup.heading', 'text.html.markdown string', 'source.css', 'meta.selector', 'source.css meta.scope.property-list meta.property-value punctuation.definition.arguments,
|
5
|
+
source.css meta.scope.property-list meta.property-value punctuation.separator.arguments', 'entity.other.attribute-name.pseudo-element', 'entity.other.attribute-name.pseudo-class, entity.other.attribute-name.tag.pseudo-class', 'meta.selector entity.other.attribute-name.class', 'meta.selector entity.other.attribute-name.id', 'meta.selector entity.name.tag', 'entity.name.tag.wildcard, entity.other.attribute-name.universal', 'source.css entity.other.attribute-name.attribute', 'source.css meta.attribute-selector keyword.operator.comparison', 'meta.scope.property-list', 'meta.property-name', 'support.type.property-name', 'meta.property-value', 'text.latex', 'text.latex markup.raw', 'text.latex support.function -support.function.textit -support.function.emph', 'text.latex support.function.section', 'text.latex entity.name.section -meta.group -keyword.operator.braces', 'text.latex constant.language.general', 'text.latex keyword.operator.delimiter', 'text.latex keyword.operator.brackets', 'text.latex keyword.operator.braces', 'meta.footnote', 'text.latex meta.label.reference', 'text.latex keyword.control.ref', 'text.latex variable.parameter.label.reference', 'text.latex keyword.control.cite', 'variable.parameter.cite', 'text.latex variable.parameter.label', 'meta.function markup', 'text.latex meta.group.braces', 'text.latex meta.environment.list', 'text.latex meta.environment.list meta.environment.list ', 'text.latex meta.environment.list meta.environment.list meta.environment.list ', 'text.latex meta.environment.list meta.environment.list meta.environment.list meta.environment.list ', 'text.latex meta.environment.list meta.environment.list meta.environment.list meta.environment.list meta.environment.list ', 'text.latex meta.environment.list meta.environment.list meta.environment.list meta.environment.list meta.environment.list meta.environment.list ', 'text.latex meta.end-document, text.latex meta.begin-document, meta.end-document.latex support.function, meta.end-document.latex variable.parameter, meta.begin-document.latex support.function, meta.begin-document.latex variable.parameter', 'meta.brace.erb.return-value', 'source.ruby.rails.embedded.return-value.one-line', 'punctuation.section.embedded -(source string source punctuation.section.embedded), meta.brace.erb.html', 'source.ruby.rails.embedded.one-line', 'source string source punctuation.section.embedded', 'source.js.embedded', 'source', 'meta.brace.erb', 'source string source', 'source string.interpolated source', 'source source, source.java.embedded', 'text -text.xml.strict', 'text source, meta.scope.django.template', 'text string source', 'text string source string source', 'invalid -invalid.SOMETHING', 'invalid.SOMETHING', 'meta.syntax', 'comment -comment.line', 'comment.line', 'comment punctuation', 'text comment.block -source', 'markup.inserted', 'markup.deleted', 'markup.changed', 'text.subversion-commit meta.scope.changed-files, text.subversion-commit meta.scope.changed-files.svn meta.diff.separator', 'text.subversion-commit', 'punctuation.terminator, meta.delimiter, punctuation.separator.method', 'punctuation.terminator.statement, meta.delimiter.statement.js', 'meta.delimiter.object.js', 'string.quoted.single.brace, string.quoted.double.brace', 'text.blog, text.mail', 'text.blog text, text.mail text', 'meta.header.blog keyword.other, meta.header.mail keyword.other', 'meta.header.blog string.unquoted.blog, meta.header.mail string.unquoted', 'source.ocaml entity.name.type.module', 'source.ocaml support.other.module', 'entity.name.type.variant', 'source.ocaml entity.name.tag, source.ocaml meta.record.definition', 'punctuation.separator.parameters', 'meta.brace.pipe', 'meta.brace.erb, source.ruby.embedded.source.brace, punctuation.section.dictionary, punctuation.terminator.dictionary, punctuation.separator.object, punctuation.separator.statement, punctuation.separator.key-value.css', 'punctuation.section.scope.curly, punctuation.section.scope', 'punctuation.separator.objects,
|
6
|
+
meta.group.braces.curly meta.delimiter.object.comma,
|
7
|
+
punctuation.separator.key-value -meta.tag,
|
8
|
+
source.ocaml punctuation.separator.match-definition
|
9
|
+
', 'punctuation.separator.parameters.function.js,punctuation.definition.function, punctuation.separator.function-return, punctuation.separator.function-definition, punctuation.definition.arguments, punctuation.separator.arguments', 'meta.group.braces.square punctuation.section.scope, meta.group.braces.square meta.delimiter.object.comma, meta.brace.square, punctuation.separator.array, punctuation.section.array, punctuation.definition.array, punctuation.definition.constant.range', 'meta.structure.array -punctuation.definition.array, meta.definition.range -punctuation.definition.constant.range', 'meta.brace.curly meta.group.css', 'meta.source.embedded, entity.other.django.tagbraces', 'source.js meta.group.braces.round, meta.scope.heredoc', 'source.ruby meta.even-tab, source.ruby meta.even-tab.group2, source.ruby meta.even-tab.group4, source.ruby meta.even-tab.group6, source.ruby meta.even-tab.group8, source.ruby meta.even-tab.group10, source.ruby meta.even-tab.group12
|
10
|
+
', 'meta.block.slate', 'meta.block.content.slate ', 'meta.function meta.group.braces.curly.function -(meta.group meta.group), meta.function meta.odd-tab.group1', 'meta.odd-tab.group1, meta.group.braces, meta.block.slate, text.xml.strict meta.tag, meta.paren-group, meta.section', 'meta.even-tab.group2, meta.group.braces meta.group.braces, meta.block.slate meta.block.slate, text.xml.strict meta.tag meta.tag, meta.group.braces meta.group.braces, meta.paren-group meta.paren-group, meta.section meta.section', 'meta.odd-tab.group3, meta.group.braces meta.group.braces meta.group.braces , meta.block.slate meta.block.slate meta.block.slate , text.xml.strict meta.tag meta.tag meta.tag, meta.group.braces meta.group.braces meta.group.braces, meta.paren-group meta.paren-group meta.paren-group, meta.section meta.section meta.section', 'meta.even-tab.group4, meta.group.braces meta.group.braces meta.group.braces meta.group.braces , meta.block.slate meta.block.slate meta.block.slate meta.block.slate , text.xml.strict meta.tag meta.tag meta.tag meta.tag, meta.group.braces meta.group.braces meta.group.braces meta.group.braces, meta.paren-group meta.paren-group meta.paren-group meta.paren-group, meta.section meta.section meta.section meta.section', 'meta.odd-tab.group5, meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces , meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate , text.xml.strict meta.tag meta.tag meta.tag meta.tag meta.tag, meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces, meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group, meta.section meta.section meta.section meta.section meta.section', 'meta.even-tab.group6, meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces , meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate , text.xml.strict meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag, meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces, meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group, meta.section meta.section meta.section meta.section meta.section meta.section', 'meta.odd-tab.group7, meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces , meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate , text.xml.strict meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag, meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces, meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group, meta.section meta.section meta.section meta.section meta.section meta.section meta.section', 'meta.even-tab.group8, meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces , meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate , text.xml.strict meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag, meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces, meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group, meta.section meta.section meta.section meta.section meta.section meta.section meta.section meta.section', 'meta.odd-tab.group9, meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces , meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate , text.xml.strict meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag, meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces, meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group, meta.section meta.section meta.section meta.section meta.section meta.section meta.section meta.section meta.section', 'meta.even-tab.group10', 'meta.odd-tab.group11', 'meta.property.vendor.microsoft.trident.4,
|
11
|
+
meta.property.vendor.microsoft.trident.4 support.type.property-name,
|
12
|
+
meta.property.vendor.microsoft.trident.4 punctuation.terminator.rule', 'meta.property.vendor.microsoft.trident.5,
|
13
|
+
meta.property.vendor.microsoft.trident.5 support.type.property-name,
|
14
|
+
meta.property.vendor.microsoft.trident.5 punctuation.separator.key-value,
|
15
|
+
meta.property.vendor.microsoft.trident.5 punctuation.terminator.rule', ]
|