ultraviolet 0.10.0 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. data/History.txt +7 -0
  2. data/Manifest.txt +184 -188
  3. data/Rakefile +2 -2
  4. data/bin/theme2latexrender +9 -30
  5. data/bin/theme2xhtmlrender +17 -23
  6. data/lib/uv.rb +2 -2
  7. data/lib/uv/{html_processor.rb → render_processor.rb} +39 -13
  8. data/lib/uv/utility.rb +67 -0
  9. data/render/latex/active4d.render +7 -7
  10. data/render/latex/all_hallows_eve.render +6 -6
  11. data/render/latex/amy.render +7 -7
  12. data/render/latex/blackboard.render +5 -5
  13. data/render/latex/brilliance_black.render +171 -221
  14. data/render/latex/brilliance_dull.render +105 -105
  15. data/render/latex/cobalt.render +12 -12
  16. data/render/latex/dawn.render +8 -8
  17. data/render/latex/eiffel.render +4 -4
  18. data/render/latex/espresso_libre.render +5 -5
  19. data/render/latex/idle.render +2 -2
  20. data/render/latex/iplastic.render +5 -5
  21. data/render/latex/lazy.render +2 -2
  22. data/render/latex/mac_classic.render +7 -7
  23. data/render/latex/magicwb_amiga.render +8 -8
  24. data/render/latex/pastels_on_dark.render +5 -5
  25. data/render/latex/slush_poppies.render +1 -1
  26. data/render/latex/spacecadet.render +3 -3
  27. data/render/latex/sunburst.render +14 -14
  28. data/render/latex/twilight.render +9 -9
  29. data/render/latex/zenburnesque.render +2 -2
  30. data/render/xhtml/amy.render +1 -1
  31. data/render/xhtml/brilliance_black.render +74 -124
  32. data/render/xhtml/brilliance_dull.render +6 -6
  33. data/render/xhtml/files/css/active4d.css +1 -1
  34. data/render/xhtml/files/css/all_hallows_eve.css +1 -1
  35. data/render/xhtml/files/css/amy.css +6 -3
  36. data/render/xhtml/files/css/blackboard.css +3 -3
  37. data/render/xhtml/files/css/brilliance_black.css +193 -220
  38. data/render/xhtml/files/css/brilliance_dull.css +110 -90
  39. data/render/xhtml/files/css/cobalt.css +3 -3
  40. data/render/xhtml/files/css/dawn.css +6 -6
  41. data/render/xhtml/files/css/eiffel.css +1 -1
  42. data/render/xhtml/files/css/espresso_libre.css +2 -2
  43. data/render/xhtml/files/css/iplastic.css +3 -3
  44. data/render/xhtml/files/css/mac_classic.css +3 -3
  45. data/render/xhtml/files/css/magicwb_amiga.css +6 -3
  46. data/render/xhtml/files/css/pastels_on_dark.css +2 -2
  47. data/render/xhtml/files/css/spacecadet.css +1 -1
  48. data/render/xhtml/files/css/sunburst.css +7 -7
  49. data/render/xhtml/files/css/twilight.css +5 -5
  50. data/render/xhtml/files/css/zenburnesque.css +5 -2
  51. data/render/xhtml/mac_classic.render +1 -1
  52. data/render/xhtml/magicwb_amiga.render +1 -1
  53. data/render/xhtml/zenburnesque.render +1 -1
  54. data/syntax/antlr.syntax +49 -26
  55. data/syntax/apache.syntax +17 -2
  56. data/syntax/c.syntax +2 -2
  57. data/syntax/cm.syntax +32 -0
  58. data/syntax/coldfusion.syntax +4 -3
  59. data/syntax/css.syntax +8 -3
  60. data/syntax/d.syntax +4 -0
  61. data/syntax/groovy.syntax +10 -8
  62. data/syntax/gtd.syntax +22 -0
  63. data/syntax/haml.syntax +2 -2
  64. data/syntax/html.syntax +4 -4
  65. data/syntax/ini.syntax +5 -4
  66. data/syntax/javascript.syntax +2 -1
  67. data/syntax/languagedefinition.syntax +50 -39
  68. data/syntax/macports_portfile.syntax +21 -1
  69. data/syntax/makefile.syntax +1 -0
  70. data/syntax/objective-c.syntax +37 -30
  71. data/syntax/pascal.syntax +1 -1
  72. data/syntax/perl.syntax +40 -0
  73. data/syntax/php.syntax +672 -379
  74. data/syntax/pmwiki.syntax +113 -0
  75. data/syntax/property_list.syntax +4 -14
  76. data/syntax/python.syntax +17 -14
  77. data/syntax/release_notes.syntax +12 -3
  78. data/syntax/ruby_experimental.syntax +8 -8
  79. data/syntax/standard_ml.syntax +79 -3
  80. data/syntax/twiki.syntax +2 -2
  81. data/syntax/txt2tags.syntax +18 -18
  82. data/syntax/xml.syntax +1 -0
  83. data/syntax/yaml.syntax +2 -2
  84. metadata +193 -194
  85. data/syntax/buggy/nemerle.yaml +0 -74
  86. data/syntax/gtd2_text.syntax +0 -31
  87. data/syntax/old/YAML.yaml +0 -160
  88. data/syntax/old/txt2tags.yaml +0 -139
@@ -37,10 +37,10 @@ tags:
37
37
  - begin: "{\\color[HTML]{FFEE80}"
38
38
  end: "}"
39
39
  selector: meta.function-call
40
- - begin: \colorbox[HTML]{800F00}{\color[HTML]{F8F8F8}
40
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{800F00}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{F8F8F8}
41
41
  end: "}"
42
42
  selector: invalid
43
- - begin: \colorbox[HTML]{223545}{\color[HTML]{FFFFFF}
43
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{223545}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FFFFFF}
44
44
  end: "}"
45
45
  selector: text source, string.unquoted.heredoc, source source
46
46
  - begin: "{\\color[HTML]{80FCFF}\\textit{"
@@ -103,25 +103,25 @@ tags:
103
103
  - begin: "{\\color[HTML]{EB939A}"
104
104
  end: "}"
105
105
  selector: meta.constructor.argument.css
106
- - begin: \colorbox[HTML]{000E1A}{\color[HTML]{F8F8F8}
106
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{000E1A}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{F8F8F8}
107
107
  end: "}"
108
108
  selector: meta.diff, meta.diff.header
109
- - begin: \colorbox[HTML]{4C0900}{\color[HTML]{F8F8F8}
109
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{4C0900}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{F8F8F8}
110
110
  end: "}"
111
111
  selector: markup.deleted
112
- - begin: \colorbox[HTML]{806F00}{\color[HTML]{F8F8F8}
112
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{806F00}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{F8F8F8}
113
113
  end: "}"
114
114
  selector: markup.changed
115
- - begin: \colorbox[HTML]{154F00}{\color[HTML]{F8F8F8}
115
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{154F00}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{F8F8F8}
116
116
  end: "}"
117
117
  selector: markup.inserted
118
- - begin: \colorbox[HTML]{1A4562}{
118
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{74B9D3}{\rule[-0.5ex]{0pt}{2.0ex}
119
119
  end: "}"
120
120
  selector: markup.raw
121
- - begin: \colorbox[HTML]{004480}{
121
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{004480}{\rule[-0.5ex]{0pt}{2.0ex}
122
122
  end: "}"
123
123
  selector: markup.quote
124
- - begin: \colorbox[HTML]{130D26}{
124
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{130D26}{\rule[-0.5ex]{0pt}{2.0ex}
125
125
  end: "}"
126
126
  selector: markup.list
127
127
  - begin: "{\\color[HTML]{C1AFFF}\\textbf{"
@@ -130,13 +130,13 @@ tags:
130
130
  - begin: "{\\color[HTML]{B8FFD9}\\textit{"
131
131
  end: "}}"
132
132
  selector: markup.italic
133
- - begin: \colorbox[HTML]{001221}{\color[HTML]{C8E4FD}\textbf{
133
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{001221}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{C8E4FD}\textbf{
134
134
  end: "}}"
135
135
  selector: markup.heading
136
136
  listing:
137
137
  begin: |
138
138
  \newcolumntype{C}{>{\color[HTML]{FFFFFF}\columncolor[HTML]{002240}}l}
139
- \newcolumntype{N}{>{\color[HTML]{FFFFFF}\columncolor[HTML]{85533A}}l}
139
+ \newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{B36539}}l}
140
140
  \begin{longtable}{NC}
141
141
 
142
142
  end: |
@@ -156,7 +156,7 @@ document:
156
156
  end: |
157
157
  \end{document}
158
158
 
159
- filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
159
+ filter: "@escaped.gsub(/(\\$)/, '\\\\\\\\\\1').gsub(/\\\\(?!\\$)/, '$\\\\\\\\backslash$').gsub(/(_|\\{|\\}|&|\\#|%)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde ').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t| /,'\\\\hspace{3ex}').gsub(/\\\"/, \"''\").gsub(/(\\^)/,'\\\\\\\\\\1{}')"
160
160
  line-numbers:
161
161
  begin: \texttt{
162
162
  end: "}&\\mbox{\\texttt{"
@@ -34,10 +34,10 @@ tags:
34
34
  - begin: "{\\color[HTML]{B52A1D}\\textbf{"
35
35
  end: "}}"
36
36
  selector: invalid.deprecated
37
- - begin: \colorbox[HTML]{B52A1D}{\color[HTML]{F8F8F8}\textit{
37
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{B52A1D}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{F8F8F8}\textit{
38
38
  end: "}}"
39
39
  selector: invalid.illegal
40
- - begin: \colorbox[HTML]{E1E5EC}{\color[HTML]{080808}
40
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{829AC2}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{080808}
41
41
  end: "}"
42
42
  selector: string source
43
43
  - begin: "{\\color[HTML]{696969}\\textbf{"
@@ -55,7 +55,7 @@ tags:
55
55
  - begin: "{\\color[HTML]{811F24}\\textbf{"
56
56
  end: "}}"
57
57
  selector: string.regexp constant.character.escape
58
- - begin: \colorbox[HTML]{E1E5EC}{
58
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{829AC2}{\rule[-0.5ex]{0pt}{2.0ex}
59
59
  end: "}"
60
60
  selector: text source
61
61
  - begin: "{\\color[HTML]{693A17}"
@@ -73,7 +73,7 @@ tags:
73
73
  - begin: "{\\color[HTML]{19356D}\\textbf{"
74
74
  end: "}}"
75
75
  selector: markup.heading | markup.heading entity.name
76
- - begin: \colorbox[HTML]{EAEAEA}{\color[HTML]{0B6125}\textit{
76
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{C5C5C5}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{0B6125}\textit{
77
77
  end: "}}"
78
78
  selector: markup.quote
79
79
  - begin: "{\\color[HTML]{080808}\\textit{"
@@ -88,19 +88,19 @@ tags:
88
88
  - begin: "{\\color[HTML]{234A97}\\textit{"
89
89
  end: "}}"
90
90
  selector: markup.link
91
- - begin: \colorbox[HTML]{EAEAEA}{\color[HTML]{234A97}
91
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{C5C5C5}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{234A97}
92
92
  end: "}"
93
93
  selector: markup.raw
94
94
  - begin: "{\\color[HTML]{B52A1D}"
95
95
  end: "}"
96
96
  selector: markup.deleted
97
- - begin: \colorbox[HTML]{DCDCDC}{\color[HTML]{19356D}\textbf{
97
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{DCDCDC}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{19356D}\textbf{
98
98
  end: "}}"
99
99
  selector: meta.separator
100
100
  listing:
101
101
  begin: |
102
102
  \newcolumntype{C}{>{\color[HTML]{080808}\columncolor[HTML]{F5F5F5}}l}
103
- \newcolumntype{N}{>{\color[HTML]{080808}\columncolor[HTML]{CED8E9}}l}
103
+ \newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{7496CF}}l}
104
104
  \begin{longtable}{NC}
105
105
 
106
106
  end: |
@@ -120,7 +120,7 @@ document:
120
120
  end: |
121
121
  \end{document}
122
122
 
123
- filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
123
+ filter: "@escaped.gsub(/(\\$)/, '\\\\\\\\\\1').gsub(/\\\\(?!\\$)/, '$\\\\\\\\backslash$').gsub(/(_|\\{|\\}|&|\\#|%)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde ').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t| /,'\\\\hspace{3ex}').gsub(/\\\"/, \"''\").gsub(/(\\^)/,'\\\\\\\\\\1{}')"
124
124
  line-numbers:
125
125
  begin: \texttt{
126
126
  end: "}&\\mbox{\\texttt{"
@@ -67,13 +67,13 @@ tags:
67
67
  - begin: "{\\color[HTML]{687687}"
68
68
  end: "}"
69
69
  selector: keyword.operator.js
70
- - begin: \colorbox[HTML]{990000}{\color[HTML]{FFFFFF}
70
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{990000}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FFFFFF}
71
71
  end: "}"
72
72
  selector: invalid
73
- - begin: \colorbox[HTML]{FFD0D0}{
73
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{FFD0D0}{\rule[-0.5ex]{0pt}{2.0ex}
74
74
  end: "}"
75
75
  selector: invalid.deprecated.trailing-whitespace
76
- - begin: \colorbox[HTML]{DBE7FD}{
76
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{6597F6}{\rule[-0.5ex]{0pt}{2.0ex}
77
77
  end: "}"
78
78
  selector: text source, string.unquoted
79
79
  - begin: "{\\color[HTML]{68685B}"
@@ -126,7 +126,7 @@ document:
126
126
  end: |
127
127
  \end{document}
128
128
 
129
- filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
129
+ filter: "@escaped.gsub(/(\\$)/, '\\\\\\\\\\1').gsub(/\\\\(?!\\$)/, '$\\\\\\\\backslash$').gsub(/(_|\\{|\\}|&|\\#|%)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde ').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t| /,'\\\\hspace{3ex}').gsub(/\\\"/, \"''\").gsub(/(\\^)/,'\\\\\\\\\\1{}')"
130
130
  line-numbers:
131
131
  begin: \texttt{
132
132
  end: "}&\\mbox{\\texttt{"
@@ -67,13 +67,13 @@ tags:
67
67
  - begin: "{\\color[HTML]{687687}"
68
68
  end: "}"
69
69
  selector: keyword.operator.js
70
- - begin: \colorbox[HTML]{990000}{\color[HTML]{FFFFFF}
70
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{990000}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FFFFFF}
71
71
  end: "}"
72
72
  selector: invalid
73
- - begin: \colorbox[HTML]{FFD0D0}{
73
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{FFD0D0}{\rule[-0.5ex]{0pt}{2.0ex}
74
74
  end: "}"
75
75
  selector: invalid.deprecated.trailing-whitespace
76
- - begin: \colorbox[HTML]{503A2D}{
76
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{CE9065}{\rule[-0.5ex]{0pt}{2.0ex}
77
77
  end: "}"
78
78
  selector: text source, string.unquoted
79
79
  - begin: "{\\color[HTML]{8F7E65}"
@@ -97,7 +97,7 @@ tags:
97
97
  listing:
98
98
  begin: |
99
99
  \newcolumntype{C}{>{\color[HTML]{BDAE9D}\columncolor[HTML]{2A211C}}l}
100
- \newcolumntype{N}{>{\color[HTML]{BDAE9D}\columncolor[HTML]{C3DCFF}}l}
100
+ \newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{C3DCFF}}l}
101
101
  \begin{longtable}{NC}
102
102
 
103
103
  end: |
@@ -117,7 +117,7 @@ document:
117
117
  end: |
118
118
  \end{document}
119
119
 
120
- filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
120
+ filter: "@escaped.gsub(/(\\$)/, '\\\\\\\\\\1').gsub(/\\\\(?!\\$)/, '$\\\\\\\\backslash$').gsub(/(_|\\{|\\}|&|\\#|%)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde ').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t| /,'\\\\hspace{3ex}').gsub(/\\\"/, \"''\").gsub(/(\\^)/,'\\\\\\\\\\1{}')"
121
121
  line-numbers:
122
122
  begin: \texttt{
123
123
  end: "}&\\mbox{\\texttt{"
@@ -58,7 +58,7 @@ tags:
58
58
  - begin: "{\\color[HTML]{A535AE}"
59
59
  end: "}"
60
60
  selector: support.variable
61
- - begin: \colorbox[HTML]{990000}{\color[HTML]{FFFFFF}
61
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{990000}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FFFFFF}
62
62
  end: "}"
63
63
  selector: invalid
64
64
  - begin: "{\\color[HTML]{990000}"
@@ -87,7 +87,7 @@ document:
87
87
  end: |
88
88
  \end{document}
89
89
 
90
- filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
90
+ filter: "@escaped.gsub(/(\\$)/, '\\\\\\\\\\1').gsub(/\\\\(?!\\$)/, '$\\\\\\\\backslash$').gsub(/(_|\\{|\\}|&|\\#|%)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde ').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t| /,'\\\\hspace{3ex}').gsub(/\\\"/, \"''\").gsub(/(\\^)/,'\\\\\\\\\\1{}')"
91
91
  line-numbers:
92
92
  begin: \texttt{
93
93
  end: "}&\\mbox{\\texttt{"
@@ -34,13 +34,13 @@ tags:
34
34
  - begin: "{\\color[HTML]{0066FF}\\textit{"
35
35
  end: "}}"
36
36
  selector: comment
37
- - begin: \colorbox[HTML]{EBAEA9}{\color[HTML]{FF0000}
37
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{E7342D}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FF0000}
38
38
  end: "}"
39
39
  selector: invalid
40
- - begin: \colorbox[HTML]{EEEEEB}{
40
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{EEEEEE}{\rule[-0.5ex]{0pt}{2.0ex}
41
41
  end: "}"
42
42
  selector: invalid.deprecated.trailing-whitespace
43
- - begin: \colorbox[HTML]{F9F9F9}{\color[HTML]{000000}
43
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{F9F9F9}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{000000}
44
44
  end: "}"
45
45
  selector: text source
46
46
  - begin: "{\\color[HTML]{0033CC}"
@@ -72,7 +72,7 @@ tags:
72
72
  selector: entity.name.tag
73
73
  listing:
74
74
  begin: |
75
- \newcolumntype{C}{>{\color[HTML]{000000}\columncolor[HTML]{EEEEED}}l}
75
+ \newcolumntype{C}{>{\color[HTML]{000000}\columncolor[HTML]{EEEEEE}}l}
76
76
  \newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{BAD6FD}}l}
77
77
  \begin{longtable}{NC}
78
78
 
@@ -93,7 +93,7 @@ document:
93
93
  end: |
94
94
  \end{document}
95
95
 
96
- filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
96
+ filter: "@escaped.gsub(/(\\$)/, '\\\\\\\\\\1').gsub(/\\\\(?!\\$)/, '$\\\\\\\\backslash$').gsub(/(_|\\{|\\}|&|\\#|%)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde ').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t| /,'\\\\hspace{3ex}').gsub(/\\\"/, \"''\").gsub(/(\\^)/,'\\\\\\\\\\1{}')"
97
97
  line-numbers:
98
98
  begin: \texttt{
99
99
  end: "}&\\mbox{\\texttt{"
@@ -31,7 +31,7 @@ tags:
31
31
  - begin: "{\\color[HTML]{990000}\\textit{"
32
32
  end: "}}"
33
33
  selector: invalid.deprecated
34
- - begin: \colorbox[HTML]{9D1E15}{\color[HTML]{F8F8F8}
34
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{9D1E15}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{F8F8F8}
35
35
  end: "}"
36
36
  selector: invalid.illegal
37
37
  - begin: "{\\color[HTML]{3B5BB5}\\textit{"
@@ -90,7 +90,7 @@ document:
90
90
  end: |
91
91
  \end{document}
92
92
 
93
- filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
93
+ filter: "@escaped.gsub(/(\\$)/, '\\\\\\\\\\1').gsub(/\\\\(?!\\$)/, '$\\\\\\\\backslash$').gsub(/(_|\\{|\\}|&|\\#|%)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde ').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t| /,'\\\\hspace{3ex}').gsub(/\\\"/, \"''\").gsub(/(\\^)/,'\\\\\\\\\\1{}')"
94
94
  line-numbers:
95
95
  begin: \texttt{
96
96
  end: "}&\\mbox{\\texttt{"
@@ -36,7 +36,7 @@ tags:
36
36
  selector: keyword.control.import
37
37
  - begin: "{\\color[HTML]{0000A2}\\textbf{"
38
38
  end: "}}"
39
- selector: entity.name.function, keyword.other.name-of-parameter.objc
39
+ selector: entity.name.function, support.function.any-method
40
40
  - begin: "{\\underline{"
41
41
  end: "}}"
42
42
  selector: entity.name.type
@@ -67,16 +67,16 @@ tags:
67
67
  - begin: "{\\color[HTML]{687687}"
68
68
  end: "}"
69
69
  selector: keyword.operator.js
70
- - begin: \colorbox[HTML]{990000}{\color[HTML]{FFFFFF}
70
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{990000}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FFFFFF}
71
71
  end: "}"
72
72
  selector: invalid
73
- - begin: \colorbox[HTML]{FFD0D0}{
73
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{FFD0D0}{\rule[-0.5ex]{0pt}{2.0ex}
74
74
  end: "}"
75
75
  selector: invalid.deprecated.trailing-whitespace
76
- - begin: \colorbox[HTML]{F2F2F2}{
76
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{0C0C0C}{\rule[-0.5ex]{0pt}{2.0ex}
77
77
  end: "}"
78
78
  selector: text source, string.unquoted
79
- - begin: \colorbox[HTML]{F0F0F0}{
79
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{0E0E0E}{\rule[-0.5ex]{0pt}{2.0ex}
80
80
  end: "}"
81
81
  selector: text source string.unquoted, text source text source
82
82
  - begin: "{\\color[HTML]{68685B}"
@@ -109,7 +109,7 @@ tags:
109
109
  listing:
110
110
  begin: |
111
111
  \newcolumntype{C}{>{\color[HTML]{000000}\columncolor[HTML]{FFFFFF}}l}
112
- \newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{C4DCFF}}l}
112
+ \newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{4D97FF}}l}
113
113
  \begin{longtable}{NC}
114
114
 
115
115
  end: |
@@ -129,7 +129,7 @@ document:
129
129
  end: |
130
130
  \end{document}
131
131
 
132
- filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
132
+ filter: "@escaped.gsub(/(\\$)/, '\\\\\\\\\\1').gsub(/\\\\(?!\\$)/, '$\\\\\\\\backslash$').gsub(/(_|\\{|\\}|&|\\#|%)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde ').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t| /,'\\\\hspace{3ex}').gsub(/\\\"/, \"''\").gsub(/(\\^)/,'\\\\\\\\\\1{}')"
133
133
  line-numbers:
134
134
  begin: \texttt{
135
135
  end: "}&\\mbox{\\texttt{"
@@ -7,7 +7,7 @@ tags:
7
7
  - begin: "{\\color[HTML]{8D2E75}\\textit{"
8
8
  end: "}}"
9
9
  selector: comment
10
- - begin: \colorbox[HTML]{AA7878}{\color[HTML]{FFFFFF}
10
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{EA1D1D}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FFFFFF}
11
11
  end: "}"
12
12
  selector: string
13
13
  - begin: "{\\color[HTML]{FFFFFF}"
@@ -16,7 +16,7 @@ tags:
16
16
  - begin: "{\\color[HTML]{FFA995}\\textbf{"
17
17
  end: "}}"
18
18
  selector: constant.language
19
- - begin: \colorbox[HTML]{7878AA}{\color[HTML]{FFA995}
19
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{1D1DEA}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FFA995}
20
20
  end: "}"
21
21
  selector: constant.character, constant.other
22
22
  - begin: "{\\color[HTML]{FFA995}"
@@ -64,19 +64,19 @@ tags:
64
64
  - begin: "{\\color[HTML]{3A68A3}"
65
65
  end: "}"
66
66
  selector: support.variable
67
- - begin: \colorbox[HTML]{797979}{\color[HTML]{FFFFFF}
67
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{797979}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FFFFFF}
68
68
  end: "}"
69
69
  selector: invalid
70
- - begin: \colorbox[HTML]{969696}{\color[HTML]{FFA995}\textit{
70
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{969696}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FFA995}\textit{
71
71
  end: "}}"
72
72
  selector: string.quoted.other.lt-gt.include
73
- - begin: \colorbox[HTML]{969696}{\color[HTML]{FFA995}
73
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{969696}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FFA995}
74
74
  end: "}"
75
75
  selector: string.quoted.double.include
76
76
  - begin: "{\\color[HTML]{4D4E60}"
77
77
  end: "}"
78
78
  selector: markup.list
79
- - begin: \colorbox[HTML]{0000FF}{\color[HTML]{FFFFFF}
79
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{0000FF}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FFFFFF}
80
80
  end: "}"
81
81
  selector: markup.raw
82
82
  - begin: "{\\color[HTML]{00F0C9}"
@@ -85,7 +85,7 @@ tags:
85
85
  - begin: "{\\color[HTML]{4C457E}"
86
86
  end: "}"
87
87
  selector: markup.quote markup.quote
88
- - begin: \colorbox[HTML]{8A9ECB}{
88
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{8A9ECB}{\rule[-0.5ex]{0pt}{2.0ex}
89
89
  end: "}"
90
90
  selector: text.html source
91
91
  listing:
@@ -111,7 +111,7 @@ document:
111
111
  end: |
112
112
  \end{document}
113
113
 
114
- filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
114
+ filter: "@escaped.gsub(/(\\$)/, '\\\\\\\\\\1').gsub(/\\\\(?!\\$)/, '$\\\\\\\\backslash$').gsub(/(_|\\{|\\}|&|\\#|%)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde ').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t| /,'\\\\hspace{3ex}').gsub(/\\\"/, \"''\").gsub(/(\\^)/,'\\\\\\\\\\1{}')"
115
115
  line-numbers:
116
116
  begin: \texttt{
117
117
  end: "}&\\mbox{\\texttt{"
@@ -49,10 +49,10 @@ tags:
49
49
  - begin: "{\\textit{"
50
50
  end: "}}"
51
51
  selector: declaration.class class-inheritance
52
- - begin: \colorbox[HTML]{FF0000}{\color[HTML]{FFF9F9}\textbf{
52
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{FF0000}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FFF9F9}\textbf{
53
53
  end: "}}"
54
54
  selector: invalid
55
- - begin: \colorbox[HTML]{FFD0D0}{
55
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{FFD0D0}{\rule[-0.5ex]{0pt}{2.0ex}
56
56
  end: "}"
57
57
  selector: invalid.deprecated.trailing-whitespace
58
58
  - begin: "{\\textit{"
@@ -154,7 +154,7 @@ tags:
154
154
  - begin: "{\\color[HTML]{2E759C}"
155
155
  end: "}"
156
156
  selector: entity.other.attribute-name.pseudo-class.css
157
- - begin: \colorbox[HTML]{FF0000}{\color[HTML]{FFFFFF}
157
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{FF0000}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FFFFFF}
158
158
  end: "}"
159
159
  selector: invalid.bad-comma.css
160
160
  - begin: "{\\color[HTML]{9B2E4D}"
@@ -178,7 +178,7 @@ tags:
178
178
  listing:
179
179
  begin: |
180
180
  \newcolumntype{C}{>{\color[HTML]{DADADA}\columncolor[HTML]{211E1E}}l}
181
- \newcolumntype{N}{>{\color[HTML]{DADADA}\columncolor[HTML]{4A3B4E}}l}
181
+ \newcolumntype{N}{>{\color[HTML]{FFFFFF}\columncolor[HTML]{73597E}}l}
182
182
  \begin{longtable}{NC}
183
183
 
184
184
  end: |
@@ -198,7 +198,7 @@ document:
198
198
  end: |
199
199
  \end{document}
200
200
 
201
- filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
201
+ filter: "@escaped.gsub(/(\\$)/, '\\\\\\\\\\1').gsub(/\\\\(?!\\$)/, '$\\\\\\\\backslash$').gsub(/(_|\\{|\\}|&|\\#|%)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde ').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t| /,'\\\\hspace{3ex}').gsub(/\\\"/, \"''\").gsub(/(\\^)/,'\\\\\\\\\\1{}')"
202
202
  line-numbers:
203
203
  begin: \texttt{
204
204
  end: "}&\\mbox{\\texttt{"
@@ -117,7 +117,7 @@ document:
117
117
  end: |
118
118
  \end{document}
119
119
 
120
- filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
120
+ filter: "@escaped.gsub(/(\\$)/, '\\\\\\\\\\1').gsub(/\\\\(?!\\$)/, '$\\\\\\\\backslash$').gsub(/(_|\\{|\\}|&|\\#|%)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde ').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t| /,'\\\\hspace{3ex}').gsub(/\\\"/, \"''\").gsub(/(\\^)/,'\\\\\\\\\\1{}')"
121
121
  line-numbers:
122
122
  begin: \texttt{
123
123
  end: "}&\\mbox{\\texttt{"
@@ -49,13 +49,13 @@ tags:
49
49
  - begin: "{"
50
50
  end: "}"
51
51
  selector: support.other.variable
52
- - begin: \colorbox[HTML]{5F0047}{
52
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{5F0047}{\rule[-0.5ex]{0pt}{2.0ex}
53
53
  end: "}"
54
54
  selector: invalid
55
55
  listing:
56
56
  begin: |
57
57
  \newcolumntype{C}{>{\color[HTML]{DDE6CF}\columncolor[HTML]{0D0D0D}}l}
58
- \newcolumntype{N}{>{\color[HTML]{DDE6CF}\columncolor[HTML]{40002F}}l}
58
+ \newcolumntype{N}{>{\color[HTML]{FFFFFF}\columncolor[HTML]{40002F}}l}
59
59
  \begin{longtable}{NC}
60
60
 
61
61
  end: |
@@ -75,7 +75,7 @@ document:
75
75
  end: |
76
76
  \end{document}
77
77
 
78
- filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
78
+ filter: "@escaped.gsub(/(\\$)/, '\\\\\\\\\\1').gsub(/\\\\(?!\\$)/, '$\\\\\\\\backslash$').gsub(/(_|\\{|\\}|&|\\#|%)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde ').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t| /,'\\\\hspace{3ex}').gsub(/\\\"/, \"''\").gsub(/(\\^)/,'\\\\\\\\\\1{}')"
79
79
  line-numbers:
80
80
  begin: \texttt{
81
81
  end: "}&\\mbox{\\texttt{"
@@ -31,10 +31,10 @@ tags:
31
31
  - begin: "{\\color[HTML]{FD5FF1}\\textit{"
32
32
  end: "}}"
33
33
  selector: invalid.deprecated
34
- - begin: \colorbox[HTML]{402140}{\color[HTML]{FD5FF1}
34
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{150B15}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FD5FF1}
35
35
  end: "}"
36
36
  selector: invalid.illegal
37
- - begin: \colorbox[HTML]{050505}{
37
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{ABADB4}{\rule[-0.5ex]{0pt}{2.0ex}
38
38
  end: "}"
39
39
  selector: text source
40
40
  - begin: "{\\color[HTML]{9B5C2E}\\textit{"
@@ -112,16 +112,16 @@ tags:
112
112
  - begin: "{\\color[HTML]{8F9D6A}"
113
113
  end: "}"
114
114
  selector: meta.constructor.argument.css
115
- - begin: \colorbox[HTML]{0E2231}{\color[HTML]{F8F8F8}\textit{
115
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{0E2231}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{F8F8F8}\textit{
116
116
  end: "}}"
117
117
  selector: meta.diff, meta.diff.header
118
- - begin: \colorbox[HTML]{420E09}{\color[HTML]{F8F8F8}
118
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{420E09}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{F8F8F8}
119
119
  end: "}"
120
120
  selector: markup.deleted
121
- - begin: \colorbox[HTML]{4A410D}{\color[HTML]{F8F8F8}
121
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{4A410D}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{F8F8F8}
122
122
  end: "}"
123
123
  selector: markup.changed
124
- - begin: \colorbox[HTML]{253B22}{\color[HTML]{F8F8F8}
124
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{253B22}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{F8F8F8}
125
125
  end: "}"
126
126
  selector: markup.inserted
127
127
  - begin: "{\\color[HTML]{E9C062}\\textit{"
@@ -133,34 +133,34 @@ tags:
133
133
  - begin: "{\\color[HTML]{E18964}\\underline{"
134
134
  end: "}}"
135
135
  selector: markup.underline
136
- - begin: \colorbox[HTML]{110F0A}{\color[HTML]{E1D4B9}\textit{
136
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{ECD091}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{E1D4B9}\textit{
137
137
  end: "}}"
138
138
  selector: markup.quote
139
- - begin: \colorbox[HTML]{632D04}{\color[HTML]{FEDCC5}
139
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{632D04}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FEDCC5}
140
140
  end: "}"
141
141
  selector: markup.heading, markup.heading entity
142
142
  - begin: "{\\color[HTML]{E1D4B9}"
143
143
  end: "}"
144
144
  selector: markup.list
145
- - begin: \colorbox[HTML]{050505}{\color[HTML]{578BB3}
145
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{ABADB4}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{578BB3}
146
146
  end: "}"
147
147
  selector: markup.raw
148
148
  - begin: "{\\color[HTML]{F67B37}\\textit{"
149
149
  end: "}}"
150
150
  selector: markup comment
151
- - begin: \colorbox[HTML]{242424}{\color[HTML]{60A633}
151
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{242424}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{60A633}
152
152
  end: "}"
153
153
  selector: meta.separator
154
- - begin: \colorbox[HTML]{262626}{
154
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{C7C7C7}{\rule[-0.5ex]{0pt}{2.0ex}
155
155
  end: "}"
156
156
  selector: meta.line.entry.logfile, meta.line.exit.logfile
157
- - begin: \colorbox[HTML]{751012}{
157
+ - begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{751012}{\rule[-0.5ex]{0pt}{2.0ex}
158
158
  end: "}"
159
159
  selector: meta.line.error.logfile
160
160
  listing:
161
161
  begin: |
162
162
  \newcolumntype{C}{>{\color[HTML]{F8F8F8}\columncolor[HTML]{000000}}l}
163
- \newcolumntype{N}{>{\color[HTML]{F8F8F8}\columncolor[HTML]{2C2F32}}l}
163
+ \newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{DDF0FF}}l}
164
164
  \begin{longtable}{NC}
165
165
 
166
166
  end: |
@@ -180,7 +180,7 @@ document:
180
180
  end: |
181
181
  \end{document}
182
182
 
183
- filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
183
+ filter: "@escaped.gsub(/(\\$)/, '\\\\\\\\\\1').gsub(/\\\\(?!\\$)/, '$\\\\\\\\backslash$').gsub(/(_|\\{|\\}|&|\\#|%)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde ').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t| /,'\\\\hspace{3ex}').gsub(/\\\"/, \"''\").gsub(/(\\^)/,'\\\\\\\\\\1{}')"
184
184
  line-numbers:
185
185
  begin: \texttt{
186
186
  end: "}&\\mbox{\\texttt{"