davinci-text 1.0.0.1
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.
- checksums.yaml +7 -0
- data/.byebug_history +86 -0
- data/.circleci/config.yml +57 -0
- data/.gitignore +53 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +50 -0
- data/LICENSE.txt +21 -0
- data/README.md +91 -0
- data/REFERENCE.md +71 -0
- data/Rakefile +4 -0
- data/bin/davinci +16 -0
- data/controllers/atom_input_controller.rb +146 -0
- data/controllers/atom_output_controller.rb +107 -0
- data/controllers/cl_args_controller.rb +62 -0
- data/controllers/menu_controller.rb +148 -0
- data/controllers/sublime_input_controller.rb +97 -0
- data/controllers/sublime_output_controller.rb +62 -0
- data/davinci-text.gemspec +34 -0
- data/example_files/atom/atom-dark-syntax/CONTRIBUTING.md +1 -0
- data/example_files/atom/atom-dark-syntax/ISSUE_TEMPLATE.md +40 -0
- data/example_files/atom/atom-dark-syntax/LICENSE.md +20 -0
- data/example_files/atom/atom-dark-syntax/PULL_REQUEST_TEMPLATE.md +28 -0
- data/example_files/atom/atom-dark-syntax/README.md +9 -0
- data/example_files/atom/atom-dark-syntax/index.less +7 -0
- data/example_files/atom/atom-dark-syntax/output.less +384 -0
- data/example_files/atom/atom-dark-syntax/package.json +11 -0
- data/example_files/atom/atom-dark-syntax/styles/editor.less +50 -0
- data/example_files/atom/atom-dark-syntax/styles/syntax-variables.less +44 -0
- data/example_files/atom/atom-dark-syntax/styles/syntax.less +283 -0
- data/example_files/atom/loved-syntax/CONTRIBUTING.md +1 -0
- data/example_files/atom/loved-syntax/LICENSE.md +20 -0
- data/example_files/atom/loved-syntax/README.md +14 -0
- data/example_files/atom/loved-syntax/index.less +18 -0
- data/example_files/atom/loved-syntax/output.less +648 -0
- data/example_files/atom/loved-syntax/package.json +15 -0
- data/example_files/atom/loved-syntax/styles/colors.less +44 -0
- data/example_files/atom/loved-syntax/styles/editor.less +96 -0
- data/example_files/atom/loved-syntax/styles/syntax-variables.less +56 -0
- data/example_files/atom/loved-syntax/styles/syntax/_base.less +311 -0
- data/example_files/atom/loved-syntax/styles/syntax/c.less +5 -0
- data/example_files/atom/loved-syntax/styles/syntax/cpp.less +5 -0
- data/example_files/atom/loved-syntax/styles/syntax/cs.less +5 -0
- data/example_files/atom/loved-syntax/styles/syntax/css.less +13 -0
- data/example_files/atom/loved-syntax/styles/syntax/gfm.less +9 -0
- data/example_files/atom/loved-syntax/styles/syntax/go.less +5 -0
- data/example_files/atom/loved-syntax/styles/syntax/ini.less +5 -0
- data/example_files/atom/loved-syntax/styles/syntax/java.less +24 -0
- data/example_files/atom/loved-syntax/styles/syntax/javascript.less +17 -0
- data/example_files/atom/loved-syntax/styles/syntax/json.less +21 -0
- data/example_files/atom/loved-syntax/styles/syntax/python.less +9 -0
- data/example_files/atom/loved-syntax/styles/syntax/ruby.less +5 -0
- data/example_files/sublime/material.tmTheme +1011 -0
- data/example_files/sublime/monokai.tmTheme +432 -0
- data/lib/.byebug_history +3 -0
- data/lib/templates/atom/.gitignore +3 -0
- data/lib/templates/atom/LICENSE.md +20 -0
- data/lib/templates/atom/README.md +5 -0
- data/lib/templates/atom/index.less +1 -0
- data/lib/templates/atom/package.json +15 -0
- data/lib/templates/atom/styles/base.less +307 -0
- data/lib/templates/atom/styles/colors.less +15 -0
- data/lib/templates/atom/styles/syntax-variables.less +31 -0
- data/lib/templates/sublime/newTheme.tmTheme +438 -0
- data/lib/utility.rb +21 -0
- data/lib/version.rb +3 -0
- metadata +209 -0
@@ -0,0 +1,432 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>name</key>
|
6
|
+
<string>Monokai</string>
|
7
|
+
<key>settings</key>
|
8
|
+
<array>
|
9
|
+
<dict>
|
10
|
+
<key>settings</key>
|
11
|
+
<dict>
|
12
|
+
<key>background</key>
|
13
|
+
<string>#272822</string>
|
14
|
+
<key>caret</key>
|
15
|
+
<string>#F8F8F0</string>
|
16
|
+
<key>foreground</key>
|
17
|
+
<string>#F8F8F2</string>
|
18
|
+
<key>invisibles</key>
|
19
|
+
<string>#3B3A32</string>
|
20
|
+
<key>lineHighlight</key>
|
21
|
+
<string>#3E3D32</string>
|
22
|
+
<key>selection</key>
|
23
|
+
<string>#49483E</string>
|
24
|
+
<key>findHighlight</key>
|
25
|
+
<string>#FFE792</string>
|
26
|
+
<key>findHighlightForeground</key>
|
27
|
+
<string>#000000</string>
|
28
|
+
<key>selectionBorder</key>
|
29
|
+
<string>#222218</string>
|
30
|
+
<key>activeGuide</key>
|
31
|
+
<string>#9D550FB0</string>
|
32
|
+
|
33
|
+
<key>bracketsForeground</key>
|
34
|
+
<string>#F8F8F2A5</string>
|
35
|
+
<key>bracketsOptions</key>
|
36
|
+
<string>underline</string>
|
37
|
+
|
38
|
+
<key>bracketContentsForeground</key>
|
39
|
+
<string>#F8F8F2A5</string>
|
40
|
+
<key>bracketContentsOptions</key>
|
41
|
+
<string>underline</string>
|
42
|
+
|
43
|
+
<key>tagsOptions</key>
|
44
|
+
<string>stippled_underline</string>
|
45
|
+
</dict>
|
46
|
+
</dict>
|
47
|
+
<dict>
|
48
|
+
<key>name</key>
|
49
|
+
<string>Comment</string>
|
50
|
+
<key>scope</key>
|
51
|
+
<string>comment</string>
|
52
|
+
<key>settings</key>
|
53
|
+
<dict>
|
54
|
+
<key>foreground</key>
|
55
|
+
<string>#75715E</string>
|
56
|
+
</dict>
|
57
|
+
</dict>
|
58
|
+
<dict>
|
59
|
+
<key>name</key>
|
60
|
+
<string>String</string>
|
61
|
+
<key>scope</key>
|
62
|
+
<string>string</string>
|
63
|
+
<key>settings</key>
|
64
|
+
<dict>
|
65
|
+
<key>foreground</key>
|
66
|
+
<string>#E6DB74</string>
|
67
|
+
</dict>
|
68
|
+
</dict>
|
69
|
+
<dict>
|
70
|
+
<key>name</key>
|
71
|
+
<string>Number</string>
|
72
|
+
<key>scope</key>
|
73
|
+
<string>constant.numeric</string>
|
74
|
+
<key>settings</key>
|
75
|
+
<dict>
|
76
|
+
<key>foreground</key>
|
77
|
+
<string>#AE81FF</string>
|
78
|
+
</dict>
|
79
|
+
</dict>
|
80
|
+
|
81
|
+
<dict>
|
82
|
+
<key>name</key>
|
83
|
+
<string>Built-in constant</string>
|
84
|
+
<key>scope</key>
|
85
|
+
<string>constant.language</string>
|
86
|
+
<key>settings</key>
|
87
|
+
<dict>
|
88
|
+
<key>foreground</key>
|
89
|
+
<string>#AE81FF</string>
|
90
|
+
</dict>
|
91
|
+
</dict>
|
92
|
+
<dict>
|
93
|
+
<key>name</key>
|
94
|
+
<string>User-defined constant</string>
|
95
|
+
<key>scope</key>
|
96
|
+
<string>constant.character, constant.other</string>
|
97
|
+
<key>settings</key>
|
98
|
+
<dict>
|
99
|
+
<key>foreground</key>
|
100
|
+
<string>#AE81FF</string>
|
101
|
+
</dict>
|
102
|
+
</dict>
|
103
|
+
<dict>
|
104
|
+
<key>name</key>
|
105
|
+
<string>Variable</string>
|
106
|
+
<key>scope</key>
|
107
|
+
<string>variable</string>
|
108
|
+
<key>settings</key>
|
109
|
+
<dict>
|
110
|
+
<key>fontStyle</key>
|
111
|
+
<string></string>
|
112
|
+
</dict>
|
113
|
+
</dict>
|
114
|
+
<dict>
|
115
|
+
<key>name</key>
|
116
|
+
<string>Keyword</string>
|
117
|
+
<key>scope</key>
|
118
|
+
<string>keyword - (source.c keyword.operator | source.c++ keyword.operator | source.objc keyword.operator | source.objc++ keyword.operator), keyword.operator.word</string>
|
119
|
+
<key>settings</key>
|
120
|
+
<dict>
|
121
|
+
<key>foreground</key>
|
122
|
+
<string>#F92672</string>
|
123
|
+
</dict>
|
124
|
+
</dict>
|
125
|
+
<dict>
|
126
|
+
<key>name</key>
|
127
|
+
<string>JavaScript Dollar</string>
|
128
|
+
<key>scope</key>
|
129
|
+
<string>variable.other.dollar.only.js</string>
|
130
|
+
<key>settings</key>
|
131
|
+
<dict>
|
132
|
+
<key>foreground</key>
|
133
|
+
<string>#F92672</string>
|
134
|
+
</dict>
|
135
|
+
</dict>
|
136
|
+
<dict>
|
137
|
+
<key>name</key>
|
138
|
+
<string>Storage</string>
|
139
|
+
<key>scope</key>
|
140
|
+
<string>storage</string>
|
141
|
+
<key>settings</key>
|
142
|
+
<dict>
|
143
|
+
<key>fontStyle</key>
|
144
|
+
<string></string>
|
145
|
+
<key>foreground</key>
|
146
|
+
<string>#F92672</string>
|
147
|
+
</dict>
|
148
|
+
</dict>
|
149
|
+
<dict>
|
150
|
+
<key>name</key>
|
151
|
+
<string>Storage type</string>
|
152
|
+
<key>scope</key>
|
153
|
+
<string>storage.type</string>
|
154
|
+
<key>settings</key>
|
155
|
+
<dict>
|
156
|
+
<key>fontStyle</key>
|
157
|
+
<string>italic</string>
|
158
|
+
<key>foreground</key>
|
159
|
+
<string>#66D9EF</string>
|
160
|
+
</dict>
|
161
|
+
</dict>
|
162
|
+
<dict>
|
163
|
+
<key>name</key>
|
164
|
+
<string>Entity name</string>
|
165
|
+
<key>scope</key>
|
166
|
+
<string>entity.name - (entity.name.filename | entity.name.section | entity.name.tag | entity.name.label)</string>
|
167
|
+
<key>settings</key>
|
168
|
+
<dict>
|
169
|
+
<key>fontStyle</key>
|
170
|
+
<string></string>
|
171
|
+
<key>foreground</key>
|
172
|
+
<string>#A6E22E</string>
|
173
|
+
</dict>
|
174
|
+
</dict>
|
175
|
+
<dict>
|
176
|
+
<key>name</key>
|
177
|
+
<string>Inherited class</string>
|
178
|
+
<key>scope</key>
|
179
|
+
<string>entity.other.inherited-class</string>
|
180
|
+
<key>settings</key>
|
181
|
+
<dict>
|
182
|
+
<key>fontStyle</key>
|
183
|
+
<string>italic underline</string>
|
184
|
+
<key>foreground</key>
|
185
|
+
<string>#A6E22E</string>
|
186
|
+
</dict>
|
187
|
+
</dict>
|
188
|
+
<dict>
|
189
|
+
<key>name</key>
|
190
|
+
<string>Function argument</string>
|
191
|
+
<key>scope</key>
|
192
|
+
<string>variable.parameter - (source.c | source.c++ | source.objc | source.objc++)</string>
|
193
|
+
<key>settings</key>
|
194
|
+
<dict>
|
195
|
+
<key>fontStyle</key>
|
196
|
+
<string>italic</string>
|
197
|
+
<key>foreground</key>
|
198
|
+
<string>#FD971F</string>
|
199
|
+
</dict>
|
200
|
+
</dict>
|
201
|
+
<dict>
|
202
|
+
<key>name</key>
|
203
|
+
<string>Language variable</string>
|
204
|
+
<key>scope</key>
|
205
|
+
<string>variable.language</string>
|
206
|
+
<key>settings</key>
|
207
|
+
<dict>
|
208
|
+
<key>fontStyle</key>
|
209
|
+
<string>italic</string>
|
210
|
+
<key>foreground</key>
|
211
|
+
<string>#FD971F</string>
|
212
|
+
</dict>
|
213
|
+
</dict>
|
214
|
+
<dict>
|
215
|
+
<key>name</key>
|
216
|
+
<string>Tag name</string>
|
217
|
+
<key>scope</key>
|
218
|
+
<string>entity.name.tag</string>
|
219
|
+
<key>settings</key>
|
220
|
+
<dict>
|
221
|
+
<key>fontStyle</key>
|
222
|
+
<string></string>
|
223
|
+
<key>foreground</key>
|
224
|
+
<string>#F92672</string>
|
225
|
+
</dict>
|
226
|
+
</dict>
|
227
|
+
<dict>
|
228
|
+
<key>name</key>
|
229
|
+
<string>Tag attribute</string>
|
230
|
+
<key>scope</key>
|
231
|
+
<string>entity.other.attribute-name</string>
|
232
|
+
<key>settings</key>
|
233
|
+
<dict>
|
234
|
+
<key>fontStyle</key>
|
235
|
+
<string></string>
|
236
|
+
<key>foreground</key>
|
237
|
+
<string>#A6E22E</string>
|
238
|
+
</dict>
|
239
|
+
</dict>
|
240
|
+
<dict>
|
241
|
+
<key>name</key>
|
242
|
+
<string>Function call</string>
|
243
|
+
<key>scope</key>
|
244
|
+
<string>variable.function</string>
|
245
|
+
<key>settings</key>
|
246
|
+
<dict>
|
247
|
+
<key>fontStyle</key>
|
248
|
+
<string></string>
|
249
|
+
<key>foreground</key>
|
250
|
+
<string>#66D9EF</string>
|
251
|
+
</dict>
|
252
|
+
</dict>
|
253
|
+
<dict>
|
254
|
+
<key>name</key>
|
255
|
+
<string>Library function</string>
|
256
|
+
<key>scope</key>
|
257
|
+
<string>support.function</string>
|
258
|
+
<key>settings</key>
|
259
|
+
<dict>
|
260
|
+
<key>fontStyle</key>
|
261
|
+
<string></string>
|
262
|
+
<key>foreground</key>
|
263
|
+
<string>#66D9EF</string>
|
264
|
+
</dict>
|
265
|
+
</dict>
|
266
|
+
<dict>
|
267
|
+
<key>name</key>
|
268
|
+
<string>Library constant</string>
|
269
|
+
<key>scope</key>
|
270
|
+
<string>support.constant</string>
|
271
|
+
<key>settings</key>
|
272
|
+
<dict>
|
273
|
+
<key>fontStyle</key>
|
274
|
+
<string></string>
|
275
|
+
<key>foreground</key>
|
276
|
+
<string>#66D9EF</string>
|
277
|
+
</dict>
|
278
|
+
</dict>
|
279
|
+
<dict>
|
280
|
+
<key>name</key>
|
281
|
+
<string>Library class/type</string>
|
282
|
+
<key>scope</key>
|
283
|
+
<string>support.type, support.class</string>
|
284
|
+
<key>settings</key>
|
285
|
+
<dict>
|
286
|
+
<key>fontStyle</key>
|
287
|
+
<string>italic</string>
|
288
|
+
<key>foreground</key>
|
289
|
+
<string>#66D9EF</string>
|
290
|
+
</dict>
|
291
|
+
</dict>
|
292
|
+
<dict>
|
293
|
+
<key>name</key>
|
294
|
+
<string>Library variable</string>
|
295
|
+
<key>scope</key>
|
296
|
+
<string>support.other.variable</string>
|
297
|
+
<key>settings</key>
|
298
|
+
<dict>
|
299
|
+
<key>fontStyle</key>
|
300
|
+
<string></string>
|
301
|
+
</dict>
|
302
|
+
</dict>
|
303
|
+
<dict>
|
304
|
+
<key>name</key>
|
305
|
+
<string>Invalid</string>
|
306
|
+
<key>scope</key>
|
307
|
+
<string>invalid</string>
|
308
|
+
<key>settings</key>
|
309
|
+
<dict>
|
310
|
+
<key>background</key>
|
311
|
+
<string>#F92672</string>
|
312
|
+
<key>fontStyle</key>
|
313
|
+
<string></string>
|
314
|
+
<key>foreground</key>
|
315
|
+
<string>#F8F8F0</string>
|
316
|
+
</dict>
|
317
|
+
</dict>
|
318
|
+
<dict>
|
319
|
+
<key>name</key>
|
320
|
+
<string>Invalid deprecated</string>
|
321
|
+
<key>scope</key>
|
322
|
+
<string>invalid.deprecated</string>
|
323
|
+
<key>settings</key>
|
324
|
+
<dict>
|
325
|
+
<key>background</key>
|
326
|
+
<string>#AE81FF</string>
|
327
|
+
<key>foreground</key>
|
328
|
+
<string>#F8F8F0</string>
|
329
|
+
</dict>
|
330
|
+
</dict>
|
331
|
+
<dict>
|
332
|
+
<key>name</key>
|
333
|
+
<string>JSON String</string>
|
334
|
+
<key>scope</key>
|
335
|
+
<string>meta.structure.dictionary.json string.quoted.double.json</string>
|
336
|
+
<key>settings</key>
|
337
|
+
<dict>
|
338
|
+
<key>foreground</key>
|
339
|
+
<string>#CFCFC2</string>
|
340
|
+
</dict>
|
341
|
+
</dict>
|
342
|
+
<dict>
|
343
|
+
<key>name</key>
|
344
|
+
<string>YAML String</string>
|
345
|
+
<key>scope</key>
|
346
|
+
<string>string.unquoted.yaml</string>
|
347
|
+
<key>settings</key>
|
348
|
+
<dict>
|
349
|
+
<key>foreground</key>
|
350
|
+
<string>#F8F8F2</string>
|
351
|
+
</dict>
|
352
|
+
</dict>
|
353
|
+
|
354
|
+
<dict>
|
355
|
+
<key>name</key>
|
356
|
+
<string>diff.header</string>
|
357
|
+
<key>scope</key>
|
358
|
+
<string>meta.diff, meta.diff.header</string>
|
359
|
+
<key>settings</key>
|
360
|
+
<dict>
|
361
|
+
<key>foreground</key>
|
362
|
+
<string>#75715E</string>
|
363
|
+
</dict>
|
364
|
+
</dict>
|
365
|
+
<dict>
|
366
|
+
<key>name</key>
|
367
|
+
<string>diff.deleted</string>
|
368
|
+
<key>scope</key>
|
369
|
+
<string>markup.deleted</string>
|
370
|
+
<key>settings</key>
|
371
|
+
<dict>
|
372
|
+
<key>foreground</key>
|
373
|
+
<string>#F92672</string>
|
374
|
+
</dict>
|
375
|
+
</dict>
|
376
|
+
<dict>
|
377
|
+
<key>name</key>
|
378
|
+
<string>diff.inserted</string>
|
379
|
+
<key>scope</key>
|
380
|
+
<string>markup.inserted</string>
|
381
|
+
<key>settings</key>
|
382
|
+
<dict>
|
383
|
+
<key>foreground</key>
|
384
|
+
<string>#A6E22E</string>
|
385
|
+
</dict>
|
386
|
+
</dict>
|
387
|
+
<dict>
|
388
|
+
<key>name</key>
|
389
|
+
<string>diff.changed</string>
|
390
|
+
<key>scope</key>
|
391
|
+
<string>markup.changed</string>
|
392
|
+
<key>settings</key>
|
393
|
+
<dict>
|
394
|
+
<key>foreground</key>
|
395
|
+
<string>#E6DB74</string>
|
396
|
+
</dict>
|
397
|
+
</dict>
|
398
|
+
|
399
|
+
<dict>
|
400
|
+
<key>scope</key>
|
401
|
+
<string>constant.numeric.line-number.find-in-files - match</string>
|
402
|
+
<key>settings</key>
|
403
|
+
<dict>
|
404
|
+
<key>foreground</key>
|
405
|
+
<string>#AE81FFA0</string>
|
406
|
+
</dict>
|
407
|
+
</dict>
|
408
|
+
<dict>
|
409
|
+
<key>scope</key>
|
410
|
+
<string>entity.name.filename</string>
|
411
|
+
<key>settings</key>
|
412
|
+
<dict>
|
413
|
+
<key>foreground</key>
|
414
|
+
<string>#E6DB74</string>
|
415
|
+
</dict>
|
416
|
+
</dict>
|
417
|
+
|
418
|
+
<dict>
|
419
|
+
<key>scope</key>
|
420
|
+
<string>message.error</string>
|
421
|
+
<key>settings</key>
|
422
|
+
<dict>
|
423
|
+
<key>foreground</key>
|
424
|
+
<string>#F83333</string>
|
425
|
+
</dict>
|
426
|
+
</dict>
|
427
|
+
|
428
|
+
</array>
|
429
|
+
<key>uuid</key>
|
430
|
+
<string>D8D5E82E-3D5B-46B5-B38E-8C841C21347D</string>
|
431
|
+
</dict>
|
432
|
+
</plist>
|
data/lib/.byebug_history
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2017 <Your name here>
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|