-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSublime Text_ The text editor you'll fall in love with.html
705 lines (595 loc) · 37.6 KB
/
Sublime Text_ The text editor you'll fall in love with.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
<!DOCTYPE html>
<!-- saved from url=(0028)https://www.sublimetext.com/ -->
<html class=" plat_win arch_64"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Sublime Text: The text editor you'll fall in love with</title>
<meta charset="utf-8">
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="https://www.sublimetext.com/blog/feed">
<link rel="stylesheet" type="text/css" href="./Sublime Text_ The text editor you'll fall in love with_files/css">
<meta name="description" content="Sublime Text is a sophisticated text editor for code, markup and prose. You'll love the slick user interface, extraordinary features and amazing performance.">
<script type="text/javascript">
if (/Mac OS X/.test(navigator.userAgent)) document.documentElement.className += ' plat_osx';
else if (/Linux|FreeBSD/.test(navigator.userAgent)) document.documentElement.className += ' plat_linux';
else document.documentElement.className += ' plat_win';
if (/WOW64|Win64|x86_64/.test(navigator.userAgent)) document.documentElement.className += ' arch_64';
else document.documentElement.className += ' arch_32';
</script>
<style>
html.plat_osx .pc { display: none; }
html.plat_osx .win { display: none; }
html.plat_osx .linux { display: none; }
html.plat_linux .win { display: none; }
html.plat_linux .mac { display: none; }
html.plat_win .mac { display: none; }
html.plat_win .linux { display: none; }
html.arch_64 .show_32 { display: none; }
html.arch_32 .show_64 { display: none; }
body
{
background-color: #f6f6f6;
margin: 2px 0 0 0;
padding: 0px;
font-family: 'Open Sans', sans-serif;
font-size: 11pt;
}
h1
{
font-family: 'Open Sans', sans-serif;
font-size: 46pt;
margin: 10px 0 0 0;
font-weight: bold;
-webkit-text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
-moz-text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
color: #777;
}
.title1 { color: #666 }
h2
{
text-align: center;
font-size: 2.3em;
color: #333;
margin-top: 1.2em;
}
h3
{
font-size: 1.4em;
color: #555;
}
a { color: black; }
a:visited { color: gray; }
code
{
padding: 0 2px;
font-family: Consolas, Monaco, "DejaVu Sans Mono", monospace;
font-weight: bold;
}
.key
{
padding: 0 2px;
font-style: italic;
}
.menu { font-style: italic; }
.navbar
{
width: 905px;
height: 32px;
margin-top: 12px;
border-radius: 8px;
background-image: url(images/longbar_middle.png); background-repeat: repeat-x;
}
.barlink
{
padding: 0px 30px; font-family: arial; color: #cfcfcf; text-decoration: none; font-weight: bold; margin: 1px; font-size: 16px;
margin-top: 5px;
display: inline-block;
}
.barlink:visited
{
color: #cfcfcf;
}
.barlink:hover
{
color: #ffffff
}
.band
{
background-color: #ccc;
padding-top: 20px;
padding-bottom: 20px;
box-shadow: inset 0 5px 15px rgba(0,0,0,0.15);
}
#anim_shell
{
width: 816px;
box-shadow: 1px 1px 10px rgba(0,0,0,0.5);
-webkit-box-shadow: 1px 1px 10px rgba(0,0,0,0.5);
-moz-box-shadow: 1px 1px 10px rgba(0,0,0,0.5);
}
html.plat_win #anim_shell
{
border-radius: 6px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
}
html.plat_linux #anim_shell
{
border-top-right-radius: 7px;
border-top-left-radius: 7px;
-webkit-border-top-right-radius: 7px;
-webkit-border-top-left-radius: 7px;
-moz-border-radius-topright: 7px;
-moz-border-radius-topleft: 7px;
width: 800px;
height: 479px;
}
html.plat_osx #anim_shell
{
border-top-right-radius: 3px;
border-top-left-radius: 3px;
-webkit-border-top-right-radius: 3px;
-webkit-border-top-left-radius: 3px;
-moz-border-radius-topright: 3px;
-moz-border-radius-topleft: 3px;
width: 800px;
}
html.plat_osx #anim_top
{
width: 800px; height: 22px; background-image: url('images/osx_title_bar.png');
}
html.plat_osx #anim_container
{
width: 800px; height: 450px; position: relative;
}
html.plat_osx #anim_overlay
{
width: 800px; height: 450px; position: absolute; left: 0; top: 0; background-image: url('images/osx_overlay.png');
}
html.plat_linux #anim_top
{
width: 800px; height: 29px; background-image: url('images/linux_title_bar.png');
}
html.plat_win #anim_top
{
width: 816px; height: 50px; background-image: url('images/win_title_bar.png');
}
html.plat_win #anim_container
{
width: 816px; height: 450px; position: relative;
}
html.plat_win #anim_left
{
width: 8px; height: 450px; background-image: url('images/win_left_bar.png');
}
html.plat_win #anim_right
{
width: 8px; height: 450px; background-image: url('images/win_right_bar.png');
}
html.plat_win #anim_bottom
{
width: 816px; height: 8px; background-image: url('images/win_bottom_bar.png');
}
div.anim_caption
{
width: 800px;
text-align: left;
margin-top: 7px;
height: 62px;
font-size: 15px;
}
div.anim_caption .controls
{
float: right;
width: 100px;
background-color: rgba(255,255,255,0.3);
border-radius: 2px;
text-align: center;
margin-left: 10px;
height: 23px;
}
a.skip
{
text-decoration: none;
position: relative;
top: -1px;
}
html.plat_osx a.skip { top: 1px }
a.skip:hover
{
color: rgba(20, 20, 20, 0.6);
}
div.download_bar
{
background-color: #eee;
background-image: linear-gradient(top, #eee 0, #ddd 100%);
background-image: -o-linear-gradient(top, #eee 0, #ddd 100%);
background-image: -moz-linear-gradient(top, #eee 0, #ddd 100%);
background-image: -webkit-linear-gradient(top, #eee 0, #ddd 100%);
background-image: -ms-linear-gradient(top, #eee 0, #ddd 100%);
}
#download-container
{
width: 500px;
padding-top: 20px;
padding-bottom: 10px;
position: relative;
}
#download
{
font-size: 24px;
color: #123d54;
background: #9CC9E9;
background: -moz-linear-gradient(top, #afd9fa 0%, #588fad);
background: -webkit-gradient(linear, left top, left bottom, from(#afd9fa), to(#588fad));
border-radius: 6px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border: 1px solid #3a75b1;
-moz-box-shadow:
0px 1px 3px rgba(000,000,000,0.5),
inset 0px 0px 1px rgba(255,255,255,1);
-webkit-box-shadow:
0px 1px 3px rgba(000,000,000,0.5),
inset 0px 0px 1px rgba(255,255,255,1);
text-shadow:
0px -1px 0px rgba(000,000,000,0.7),
0px 1px 0px rgba(255,255,255,0.3);
width: 300px; padding: 5px 5px;
}
#download a
{
text-decoration: none;
color: #123d54;
}
.extra-bubble
{
background-color: #eee;
border:2px solid #666666;
font-size:12pt;
margin:10px auto;
padding:10px;
position:relative;
text-align:center;
width:400px;
-moz-border-radius:10px;
-webkit-border-radius:10px;
-moz-box-shadow:0 0 5px #888888;
-webkit-box-shadow:0 0 5px #888888;
}
.extra-bubble-arrow-border
{
border-color: transparent transparent #666666 transparent;
border-style: solid;
border-width: 10px;
height:0;
width:0;
position:absolute;
top:-22px;
left:205px;
}
.extra-bubble-arrow
{
border-color: transparent transparent #EDEDED transparent;
border-style: solid;
border-width: 10px;
height:0;
width:0;
position:absolute;
top:-19px;
left:205px;
}
#download-container #download-extra
{
display: none;
position: absolute;
left: 35px;
}
#download-container:hover #download-extra
{
display: block;
}
div.features_band
{
background-image: linear-gradient(top, #f3f3f3 0, #fff 200px);
background-image: -o-linear-gradient(top, #f3f3f3 0, #fff 200px);
background-image: -moz-linear-gradient(top, #f3f3f3 0, #fff 200px);
background-image: -webkit-linear-gradient(top, #f3f3f3 0, #fff 200px);
background-image: -ms-linear-gradient(top, #f3f3f3 0, #fff 200px);
}
div.section
{
width: 380px;
margin-right: 40px;
float: left;
}
div.section.even
{
margin-right: 0;
}
</style>
</head>
<body>
<div style="position: relative; width: 100%">
<center>
<div class="navbar">
<a class="barlink" href="https://www.sublimetext.com/">Home</a>
<a class="barlink" href="https://www.sublimetext.com/3">Download</a>
<a class="barlink" href="https://www.sublimetext.com/buy">Buy</a>
<a class="barlink" href="https://www.sublimetext.com/blog/">Blog</a>
<a class="barlink" href="https://forum.sublimetext.com/">Forum</a>
<a class="barlink" href="https://www.sublimetext.com/support">Support</a>
</div>
<div style="width: 960px">
<h1><span class="title1">Sublime</span> Text</h1>
<p style="font-size: 16px; width: 650px; margin-top: 0px">Sublime Text is a sophisticated text editor for code, markup and prose.<br>You'll love the slick user interface, extraordinary features and amazing performance.</p>
</div>
<div class="band">
<div id="anim_shell">
<div id="anim_top"></div>
<div id="anim_container">
<div id="anim_left" style="float:left"></div>
<div id="anim_right" style="float:right"></div>
<canvas id="target" width="800" height="450">
<div id="fallback" style="width: 800px; height: 450px; position: relative;"></div>
</canvas>
<div id="anim_overlay"></div>
</div>
<div id="anim_bottom"></div>
</div>
<div class="anim_caption">
<div class="controls">
<a href="javascript:prev()" class="skip">◀</a> <span id="content_index">4 / 6</span> <a href="javascript:next()" class="skip">▶</a>
</div>
<div id="content">
<div id="content1" style="display: none;">Use Multiple Selections to rename variables quickly.<br>Here <span class="pc key">Ctrl+D</span><span class="mac key">⌘D</span> is used to select the next occurrence of the current word.</div>
<div id="content2" style="display: none;">Make batch edits with Multiple Selections.<br>Here <span class="pc key">Ctrl+Shift+L</span><span class="mac key">⇧⌘L</span> is used to split a selection into lines, and each line is then edited simultaneously.</div>
<div id="content3" style="display: none;">The Command Palette gives fast access to functionality.<br>Here <span class="pc key">Ctrl+Shift+P</span><span class="mac key">⇧⌘P</span> is used to show the Command Palette, "sspy" (short for Set Syntax: Python) is used set the syntax of the current file to Python.</div>
<div id="content4" style="display: block;">Use Goto Anything to quickly navigate between files, even in the largest projects.<br><span class="pc key">Ctrl+P</span><span class="mac key">⌘P</span> shows Goto Anything, and typing then filters on file and directory names.</div>
<div id="content5" style="display: none">Goto Anything can also be used to show a function, line or word within a file.<br>Type @ after a file name to filter on symbols. <a href="https://www.sublimetext.com/blog/articles/sublime-text-2-public-alpha">More...</a></div>
<div id="content6" style="display: none">Find and Replace with regular expressions.<br>Here unwanted whitespace is removed by using the regex " +" to find groups of spaces, which are then selected simultaneously with the Find All button.</div>
</div>
</div>
</div>
<div class="download_bar">
<div id="download-container">
<div id="download">
<span class="win show_32"><a href="https://download.sublimetext.com/Sublime%20Text%20Build%203103%20Setup.exe">Download for Windows</a></span>
<span class="win show_64"><a href="https://download.sublimetext.com/Sublime%20Text%20Build%203103%20x64%20Setup.exe">Download for Windows</a></span>
<span class="linux show_32"><a href="https://download.sublimetext.com/sublime-text_build-3103_i386.deb">Download for Ubuntu</a></span>
<span class="linux show_64"><a href="https://download.sublimetext.com/sublime-text_build-3103_amd64.deb">Download for Ubuntu</a></span>
<span class="mac"><a href="https://download.sublimetext.com/Sublime%20Text%20Build%203103.dmg">Download for OS X</a></span>
</div>
<p style="margin: 4px 0 0 0;">
Sublime Text 3, Build 3103<span class="show_64">, 64 bit</span><span class="linux show_32">, 32 bit</span>
</p><div id="download-extra" class="extra-bubble">
<p style="font-size: 11pt">Sublime Text may be downloaded and evaluated for free, however a license must be purchased for continued use. There is no enforced time limit for the evaluation.
</p><p><a href="https://www.sublimetext.com/3">Other Platforms</a>
</p><div class="linux" style="font-style: italic; margin-top: 0px">(including tarballs for other Linux distributions)</div>
<p><a href="https://www.sublimetext.com/2">Sublime Text 2</a>
</p><div class="extra-bubble-arrow-border"></div>
<div class="extra-bubble-arrow"></div>
</div>
</div>
</div>
<div class="features_band">
<div style="width: 800px; text-align: left; overflow: hidden;">
<h2>Some things users love about Sublime Text</h2>
<div class="section odd">
<h3>Goto Anything</h3>
<p>Use Goto Anything to open files with only a few keystrokes, and instantly jump to symbols, lines or words.
</p><p>Triggered with <span class="pc key">Ctrl+P</span><span class="mac key">⌘P</span>, it is possible to:
</p><ul>
<li>Type part of a file name to open it.
</li><li>Type <code>@</code> to jump to symbols, <code>#</code> to search within the file, and <code>:</code> to go to a line number.
</li></ul>
<p>These shortcuts can be combined, so <code>tp@rf</code> may take you to a function <em>read_file</em> within a file <em>text_parser.py</em>. Similarly, <code>tp:100</code> would take you to line 100 of the same file.</p>
</div>
<div class="section even">
<h3>Multiple Selections</h3>
<p>Make ten changes at the same time, not one change ten times. Multiple selections allow you to interactively change many lines at once, rename variables with ease, and manipulate files faster than ever.
</p><p>Try pressing <span class="pc key">Ctrl+Shift+L</span><span class="mac key">⇧⌘L</span> to split the selection into lines and <span class="pc key">Ctrl+D</span><span class="mac key">⌘D</span> to select the next occurrence of the selected word. To make multiple selections with the mouse, take a look at the <a href="http://www.sublimetext.com/docs/2/column_selection.html">Column Selection</a> documentation.
</p></div>
<div class="section odd">
<h3>Command Palette</h3>
<p>The Command Palette holds infrequently used functionality, like sorting, changing the syntax and changing the indentation settings. With just a few keystrokes, you can search for what you want, without ever having to navigate through the menus or remember obscure key bindings.
</p><p>Show the Command Palette with <span class="pc key">Ctrl+Shift+P</span><span class="mac key">⌘⇧P</span>.
</p></div>
<div class="section even">
<h3>Distraction Free Mode</h3>
<p>When you need to focus, Distraction Free Mode is there to help you out. Distraction Free Mode is full screen, chrome free editing, with nothing but your text in the center of the screen. You can incrementally show elements of the UI, such as tabs and the find panel, as you need them.
</p><p>You can enter Distraction Free Mode using the <span class="menu">View/Enter Distraction Free Mode</span> menu.
</p></div>
<div class="section odd">
<h3>Split Editing</h3>
<p>Get the most out of your wide screen monitor with split editing support. Edit files side by side, or edit two locations in the one file. You can edit with as many rows and columns as you wish.
</p><p>Take advantage of multiple monitors by editing with multiple windows, and using multiple splits in each window.
</p><p>Take a look at the <span class="menu">View/Layout</span> menu for split editing options. To open multiple views into the one file, use the <span class="menu">File/New View into File</span> menu item.
</p></div>
<div class="section even">
<h3>Instant Project Switch</h3>
<p>Projects in Sublime Text capture the full contents of the workspace, including modified and unsaved files. You can switch between projects in a manner similar to Goto Anything, and the switch is instant, with no save prompts - all your modifications will be restored next time the project is opened.
</p></div>
<div class="section even">
<h3>Plugin API</h3>
<p>Sublime Text has a powerful, Python based plugin <a href="http://www.sublimetext.com/docs/2/api_reference.html">API</a>. Along with the API, it comes with a built in Python console to interactively experiment in real time.
</p></div>
<div class="section odd">
<h3>Customize Anything</h3>
<p>Key Bindings, Menus, Snippets, Macros, Completions and more - just about everything in Sublime Text is customizable with simple JSON files. This system gives you flexibility as settings can be specified on a per-file type and per-project basis.
</p></div>
<div class="section even">
<h3>Cross Platform</h3>
<p>Sublime Text is available for OS X, Windows and Linux. One license is all you need to use Sublime Text on every computer you own, no matter what operating system it uses.
</p><p>Sublime Text uses a custom UI toolkit, optimized for speed and beauty, while taking advantage of native functionality on each platform.
</p></div>
</div>
</div>
<center>
<div style="width: 900px; padding-top: 2ex;">
<img src="./Sublime Text_ The text editor you'll fall in love with_files/apple_48.png" width="39" height="48" style="margin: 4px">
<img src="./Sublime Text_ The text editor you'll fall in love with_files/windows_48.png" width="48" height="45" style="margin: 4px; margin-left: 9px">
<img src="./Sublime Text_ The text editor you'll fall in love with_files/linux_48.png" width="41" height="48" style="margin: 4px">
</div>
<p style="font-size: 10pt">Sublime Text is available for OS X, Windows and Linux.
</p></center>
</center>
</div>
<script>
var content =
[
document.getElementById("content1"),
document.getElementById("content2"),
document.getElementById("content3"),
document.getElementById("content4"),
document.getElementById("content5"),
document.getElementById("content6")
]
var animation_urls =
[
"anim/rename2_packed.png",
"anim/days_169_packed.png",
"anim/command_palette_packed.png",
"anim/goto_anything_packed.png",
"anim/goto_anything2_packed.png",
"anim/regex_packed.png"
]
command_palette_timeline=[{"delay":1811,"blit":[[0,0,800,450,0,0]]},{"delay":48,"blit":[[0,450,400,344,200,36],[66,982,63,15,0,36]]},{"delay":798,"blit":[]},{"delay":137,"blit":[[494,762,186,142,206,43],[239,505,42,111,552,131],[494,904,177,15,206,230],[188,905,172,15,206,250],[494,919,168,15,206,210],[0,931,166,15,206,270],[166,931,159,15,206,190],[494,934,156,15,206,330],[0,850,141,15,206,290],[131,946,129,15,206,350],[260,946,114,15,206,310],[650,935,37,46,559,68],[0,976,225,6,206,370],[129,982,68,13,370,190],[250,920,43,11,551,291],[273,879,33,13,351,290],[771,860,28,10,566,351]]},{"delay":463,"blit":[[680,762,57,173,285,90],[216,794,109,42,214,43],[325,794,71,35,285,310],[763,762,8,286,231,90],[687,935,50,26,285,350],[365,862,35,33,285,270],[771,762,15,48,581,71]]},{"delay":43,"blit":[[778,810,7,50,587,69]]},{"delay":47,"blit":[[771,810,7,50,587,69]]},{"delay":45,"blit":[[793,762,7,50,587,69]]},{"delay":50,"blit":[[786,762,7,50,587,69]]},{"delay":59,"blit":[[152,482,10,51,586,68]]},{"delay":61,"blit":[[737,762,26,232,570,68],[147,794,69,72,285,71],[0,905,188,15,206,290],[0,946,131,15,294,170],[494,472,131,15,286,310],[315,862,50,35,285,230],[494,949,112,15,285,190],[0,961,105,15,285,330],[105,961,102,15,285,150],[225,974,79,15,285,270],[0,982,66,15,285,350],[625,981,58,15,429,170],[197,989,57,13,285,210],[312,897,78,6,285,370],[360,903,30,14,401,190],[785,812,10,17,222,43]]},{"delay":443,"blit":[[400,450,400,312,200,68],[384,829,9,17,231,43]]},{"delay":37,"blit":[]},{"delay":37,"blit":[]},{"delay":38,"blit":[]},{"delay":38,"blit":[]},{"delay":285,"blit":[]},{"delay":102,"blit":[[200,36,400,75,200,36],[0,36,63,15,0,36]]},{"delay":4000,"blit":[[400,762,94,394,706,36],[0,794,147,56,63,233],[216,836,168,26,63,203],[0,866,315,13,63,83],[0,879,273,13,329,203],[0,892,259,13,175,158],[0,920,250,11,259,113],[325,920,67,26,183,98],[207,961,105,13,63,158],[312,961,77,17,224,413],[494,964,112,11,63,113],[687,961,49,25,224,324],[606,949,42,28,63,38],[494,975,49,22,196,297],[494,975,49,22,196,357],[543,977,82,13,238,203],[304,978,77,13,385,83],[259,892,53,13,719,434],[694,961,42,10,231,384],[771,870,21,10,182,128],[694,964,7,5,147,177],[694,964,7,5,175,402]]}]
days_169_timeline=[{"delay":685,"blit":[[0,0,800,450,0,0]]},{"delay":705,"blit":[[0,450,71,77,0,36],[323,529,152,13,14,434],[798,462,2,10,713,36]]},{"delay":514,"blit":[[675,450,35,91,41,36],[789,493,5,12,711,36]]},{"delay":430,"blit":[[747,450,29,91,48,36],[796,450,4,12,711,36]]},{"delay":642,"blit":[[782,450,6,90,76,36],[788,450,1,90,83,36],[796,462,2,12,715,36]]},{"delay":736,"blit":[[323,514,237,15,90,36],[710,450,37,75,0,51],[560,514,34,71,42,53],[776,450,6,90,78,36],[634,514,39,12,711,36],[799,487,1,15,328,36]]},{"delay":560,"blit":[[594,541,101,13,4,434],[798,472,1,15,90,36],[799,472,1,15,139,36],[796,474,1,15,188,36],[797,474,1,15,237,36],[798,487,1,15,286,36]]},{"delay":398,"blit":[[775,467,8,15,321,36],[25,530,7,10,95,434],[796,489,2,2,748,36]]},{"delay":658,"blit":[[373,498,282,16,41,36],[119,530,119,12,4,434],[475,531,38,2,711,36]]},{"delay":408,"blit":[[71,514,252,16,41,36],[594,514,40,16,294,36],[594,530,40,2,711,36]]},{"delay":504,"blit":[[380,482,295,16,41,36],[0,530,119,12,4,434],[634,530,39,2,711,36]]},{"delay":141,"blit":[[71,498,302,16,41,36],[279,530,41,2,711,36],[46,434,7,10,88,434]]},{"delay":67,"blit":[[373,482,302,16,48,36],[517,529,42,2,711,36],[53,434,7,11,88,434]]},{"delay":240,"blit":[[71,482,302,16,55,36],[475,529,42,2,712,36],[678,541,7,11,88,434]]},{"delay":338,"blit":[[373,466,302,16,62,36],[0,527,42,2,713,36],[789,483,7,10,88,435]]},{"delay":142,"blit":[[71,466,302,16,69,36],[238,530,41,2,714,36],[789,472,7,11,88,434]]},{"delay":79,"blit":[[373,450,302,16,76,36],[634,528,41,2,715,36],[789,461,7,11,88,434]]},{"delay":4000,"blit":[[71,450,302,16,83,36],[634,526,41,2,716,36],[789,450,7,11,88,434]]}]
goto_anything_timeline=[{"delay":934,"blit":[[0,0,800,450,0,0]]},{"delay":458,"blit":[[0,1138,523,344,211,36],[729,812,42,15,146,36]]},{"delay":50,"blit":[[0,2413,515,41,215,149],[523,1056,180,33,149,2],[523,1231,184,15,229,357],[523,1246,171,15,229,275],[523,1360,147,15,229,234],[523,1375,141,15,229,193],[523,1455,142,12,257,336],[523,1467,139,12,257,295],[699,1151,99,15,229,70],[523,1246,98,15,229,111],[680,1306,98,15,229,316],[679,1414,116,12,257,213],[665,1455,115,12,257,131],[662,1467,115,12,257,254],[683,1479,108,12,257,90],[505,1671,10,40,720,68],[795,557,5,17,219,43]]},{"delay":40,"blit":[[523,450,78,394,722,36],[0,2204,504,43,216,383],[672,450,43,377,167,53],[174,796,70,11,651,383],[703,987,59,13,608,434],[619,844,50,15,160,36],[619,859,53,13,719,434]]},{"delay":79,"blit":[]},{"delay":416,"blit":[[0,1940,515,82,215,149],[323,2670,323,12,257,131],[319,2682,300,12,257,90],[523,927,147,15,224,70],[523,942,147,15,224,111],[664,1375,134,15,224,357],[523,1443,142,12,257,336],[694,1246,106,15,224,316],[665,1443,125,12,271,295],[703,957,89,15,224,275],[9,1945,47,13,224,236],[776,554,10,17,223,43],[690,1198,7,7,290,257]]},{"delay":464,"blit":[[0,2331,515,41,215,67],[0,2372,515,41,215,190],[0,2670,323,12,257,131],[523,1195,244,12,271,295],[523,1219,233,12,257,254],[523,1306,157,15,232,316],[523,1345,151,15,232,357],[523,1390,139,15,232,111],[670,1360,128,15,232,275],[674,1345,126,15,232,152],[691,1177,106,15,232,234],[662,1390,132,12,257,172],[666,1402,132,12,257,336],[786,557,9,17,232,43]]},{"delay":47,"blit":[[793,519,7,38,721,69]]},{"delay":59,"blit":[[793,465,7,38,721,69]]},{"delay":49,"blit":[[786,465,7,38,721,69]]},{"delay":161,"blit":[[776,465,10,40,720,68]]},{"delay":212,"blit":[[0,794,523,344,211,36],[703,972,56,15,146,36]]},{"delay":41,"blit":[]},{"delay":48,"blit":[[523,1479,160,10,322,26]]},{"delay":41,"blit":[[523,1151,176,26,314,10]]},{"delay":40,"blit":[[523,1023,180,33,312,3]]},{"delay":1831,"blit":[[523,1120,180,31,312,4]]},{"delay":1040,"blit":[[0,450,523,344,211,36],[715,812,56,15,146,36]]},{"delay":63,"blit":[[0,2098,515,56,215,70],[0,2289,515,42,215,334],[0,2538,515,21,215,129],[0,2559,515,21,215,211],[0,2580,515,21,215,252],[0,2601,515,21,215,293],[0,2622,515,18,215,173],[523,990,180,33,312,2],[403,2655,386,15,257,234],[415,2640,374,14,257,194],[515,1646,285,14,257,153],[523,1405,143,14,257,317],[681,1291,119,15,257,275],[0,2694,515,2,215,170],[0,2698,515,1,215,67],[766,554,10,17,219,43]]},{"delay":38,"blit":[[601,450,71,394,729,36],[0,2154,512,50,216,380],[715,450,51,163,160,188],[715,613,51,77,160,353],[715,690,44,57,167,36],[715,747,44,39,167,99],[715,786,44,26,167,143],[619,872,50,11,160,173]]},{"delay":139,"blit":[]},{"delay":150,"blit":[[0,1646,515,107,215,43],[0,2247,515,42,215,334],[0,2454,515,21,215,170],[0,2475,515,21,215,211],[0,2496,515,21,215,252],[0,2517,515,21,215,293],[0,2640,415,15,228,234],[0,2655,403,15,228,193],[0,2640,314,15,228,152],[523,1276,169,15,229,316],[0,2655,114,15,228,275]]},{"delay":117,"blit":[[0,1858,515,82,215,67],[672,827,117,130,228,175],[0,2682,319,12,302,336],[523,1261,169,15,229,316],[523,1321,194,12,360,172],[523,1333,191,12,360,213],[523,1419,156,12,397,254],[523,1431,153,12,397,295],[692,1261,103,15,228,152],[673,927,98,15,229,357],[766,531,27,10,621,336],[766,571,7,17,237,43]]},{"delay":184,"blit":[[0,1753,523,105,211,275],[523,844,96,83,232,43],[504,2204,294,12,257,254],[523,1207,235,12,257,172],[523,1291,158,15,228,152],[692,1276,102,15,229,234],[676,1431,123,12,370,131],[759,690,41,14,305,194],[563,871,36,15,272,70],[0,2697,515,1,215,272],[112,1859,10,44,720,68],[766,507,32,12,472,213],[587,891,29,12,296,90],[766,541,18,13,228,195],[532,873,8,12,223,72]]},{"delay":458,"blit":[[0,1482,523,164,211,112],[0,2696,515,1,215,108],[766,450,32,15,277,70],[766,465,10,42,241,43],[766,519,26,12,300,90],[17,1986,18,13,223,72]]},{"delay":38,"blit":[]},{"delay":38,"blit":[]},{"delay":38,"blit":[]},{"delay":39,"blit":[]},{"delay":415,"blit":[]},{"delay":199,"blit":[[0,2022,523,76,211,36],[710,972,49,15,146,36]]},{"delay":38,"blit":[]},{"delay":38,"blit":[[523,1489,154,5,488,31]]},{"delay":43,"blit":[[523,1177,168,18,481,18]]},{"delay":40,"blit":[[523,1089,180,31,475,5]]},{"delay":4000,"blit":[[523,957,180,33,475,3]]}]
goto_anything2_timeline=[{"delay":878,"blit":[[0,0,800,450,0,0]]},{"delay":1179,"blit":[[0,1210,523,344,211,36],[709,745,42,15,146,36]]},{"delay":59,"blit":[[0,2000,515,41,215,149],[588,877,180,33,149,2],[588,963,184,15,229,357],[588,978,171,15,229,275],[588,1101,147,15,229,234],[588,1116,141,15,229,193],[523,1368,142,12,257,336],[523,1380,139,12,257,295],[523,1404,99,15,229,70],[588,978,98,15,229,111],[622,1410,98,15,229,316],[642,1425,116,12,257,213],[523,1437,115,12,257,131],[638,1437,115,12,257,254],[647,1449,108,12,257,90],[775,544,10,40,720,68],[785,521,5,17,219,43]]},{"delay":39,"blit":[[588,450,78,394,722,36],[0,1875,504,43,216,383],[666,450,43,377,167,53],[709,706,70,11,651,383],[709,717,59,13,608,434],[709,745,50,15,160,36],[709,760,53,13,719,434]]},{"delay":57,"blit":[]},{"delay":69,"blit":[[0,1793,515,82,215,149],[0,2100,323,12,257,131],[306,2112,300,12,257,90],[588,1071,147,15,224,70],[588,1086,147,15,224,111],[666,827,134,15,224,357],[523,1356,142,12,257,336],[665,1371,106,15,224,316],[655,1398,125,12,271,295],[709,680,89,15,224,275],[9,1798,47,13,224,236],[789,695,10,17,223,43],[690,1273,7,7,290,257]]},{"delay":460,"blit":[[0,1918,515,41,215,67],[0,1959,515,41,215,190],[325,2088,323,12,257,131],[523,1270,244,12,271,295],[523,1282,233,12,257,254],[588,1041,157,15,232,316],[588,1056,151,15,232,357],[588,1131,139,15,232,111],[588,1158,128,15,232,275],[588,1173,126,15,232,152],[665,1356,106,15,232,234],[662,1386,132,12,257,172],[523,1392,132,12,257,336],[785,788,9,17,232,43]]},{"delay":41,"blit":[[785,752,7,36,721,69]]},{"delay":42,"blit":[[778,752,7,38,721,69]]},{"delay":40,"blit":[[771,752,7,38,721,69]]},{"delay":41,"blit":[[775,634,7,38,721,69]]},{"delay":207,"blit":[[775,504,10,40,720,68]]},{"delay":467,"blit":[[0,843,588,367,146,63],[69,850,515,80,215,70],[69,969,515,63,215,189],[69,1071,515,16,215,151],[69,1054,515,16,215,253],[69,1033,515,16,215,274],[69,931,515,16,215,291],[709,450,66,95,734,36],[55,844,10,351,201,64],[73,952,170,12,219,172],[709,653,65,27,146,36],[68,513,515,3,215,270],[523,1425,119,12,4,434],[0,2136,515,2,215,168],[0,2138,515,2,215,185],[782,652,13,17,240,43]]},{"delay":54,"blit":[[523,1349,245,7,148,421],[764,752,7,50,791,79]]},{"delay":60,"blit":[[523,1342,245,7,148,421],[789,602,7,50,791,79]]},{"delay":51,"blit":[[523,1335,245,7,148,421],[782,602,7,50,791,79]]},{"delay":67,"blit":[[523,1304,246,10,147,420],[790,501,10,51,790,78]]},{"delay":461,"blit":[[0,450,587,393,147,37],[709,545,66,55,734,180],[709,600,66,53,734,78],[782,669,13,11,4,434]]},{"delay":45,"blit":[[523,1328,245,7,148,421],[775,584,7,50,791,181]]},{"delay":45,"blit":[[523,1321,245,7,148,421],[792,552,7,50,791,181]]},{"delay":44,"blit":[[523,1314,245,7,148,421],[785,552,7,50,791,181]]},{"delay":55,"blit":[[523,1294,246,10,147,420],[790,450,10,51,790,180]]},{"delay":47,"blit":[[0,2041,523,35,211,274],[0,2076,400,12,219,172],[400,2076,351,12,252,189],[0,2088,325,12,241,155],[323,2100,308,12,252,257],[0,2112,306,12,232,104],[0,2124,298,12,240,138],[523,1210,275,12,252,206],[523,1234,263,12,264,240],[588,1029,197,12,240,121],[625,1461,102,12,252,223],[419,585,89,11,566,155],[775,450,15,54,257,43],[709,785,55,12,357,223],[0,2140,515,1,215,271],[760,730,35,11,539,104],[421,704,35,11,539,138],[760,741,35,11,620,172]]},{"delay":1829,"blit":[[504,1875,296,12,308,189],[523,1222,263,12,264,206],[523,1246,253,12,308,172],[523,1258,244,12,290,138],[588,993,201,12,362,155],[588,1005,198,12,240,104],[588,1017,197,12,240,121],[588,1146,164,12,309,257],[588,1188,156,12,252,223],[263,884,117,12,411,223],[523,1449,124,11,294,87],[523,1460,102,12,252,240],[416,585,92,11,564,155],[709,695,80,11,319,70],[709,773,55,12,357,240],[231,500,39,11,536,138],[768,717,28,11,476,257],[785,504,5,17,262,43]]},{"delay":201,"blit":[[0,1554,560,239,201,36],[709,730,51,15,146,226]]},{"delay":40,"blit":[]},{"delay":41,"blit":[[588,1200,156,7,324,29]]},{"delay":39,"blit":[[588,942,170,21,317,15]]},{"delay":40,"blit":[[588,910,180,32,312,4]]},{"delay":4000,"blit":[[588,844,180,33,312,3]]}]
regex_timeline=[{"delay":644,"blit":[[0,0,800,450,0,0]]},{"delay":738,"blit":[[571,729,42,15,0,51],[711,87,89,5,711,83],[0,665,800,33,0,397]]},{"delay":575,"blit":[[130,720,77,12,714,38],[0,698,30,76,69,51],[0,541,464,91,104,51],[780,698,16,46,594,66],[105,541,16,16,622,111],[684,587,8,15,188,405],[501,587,94,12,4,434]]},{"delay":711,"blit":[[207,720,75,12,715,38],[637,698,16,76,76,51],[53,732,9,46,132,51],[755,698,9,91,174,51],[685,698,16,61,202,51],[746,698,9,91,258,51],[669,698,16,61,342,51],[621,698,16,91,482,51],[796,698,2,91,524,51],[443,541,2,76,552,51],[653,698,16,61,286,66],[710,729,16,31,391,66],[475,720,9,76,447,66],[798,450,2,46,601,66],[701,729,9,61,230,81],[796,450,2,46,363,81],[392,731,9,46,433,81],[623,698,9,16,118,96],[797,450,2,16,167,96],[623,698,9,16,307,96],[797,450,2,16,475,96],[755,758,9,31,146,111],[797,450,2,16,279,111],[797,450,2,16,629,111],[797,450,2,16,111,126],[797,450,2,16,328,126],[797,450,2,16,398,126],[797,450,2,16,559,126],[675,587,9,15,195,405],[339,720,70,11,28,434]]},{"delay":227,"blit":[[588,541,85,22,710,403]]},{"delay":33,"blit":[[478,698,85,22,710,403]]},{"delay":34,"blit":[[393,698,85,22,710,403]]},{"delay":33,"blit":[[308,698,85,22,710,403]]},{"delay":34,"blit":[[223,698,85,22,710,403]]},{"delay":34,"blit":[[138,698,85,22,710,403]]},{"delay":35,"blit":[[53,698,85,22,710,403]]},{"delay":34,"blit":[[715,602,85,22,710,403]]},{"delay":39,"blit":[[501,565,85,22,710,403]]},{"delay":34,"blit":[[588,563,85,22,710,403]]},{"delay":634,"blit":[[588,541,85,22,710,403]]},{"delay":36,"blit":[[501,541,87,24,709,402]]},{"delay":1142,"blit":[[53,720,77,12,714,38],[464,541,37,90,0,51],[673,541,30,46,69,51],[617,465,16,16,125,51],[563,698,58,31,167,51],[589,450,121,91,251,51],[747,511,37,91,426,51],[710,511,37,91,468,51],[784,511,16,91,517,51],[30,698,23,91,545,51],[701,698,30,31,384,66],[764,698,16,46,594,66],[710,450,86,61,104,81],[617,465,16,16,230,81],[711,83,89,5,711,83],[617,465,16,16,202,96],[617,465,16,16,83,111],[784,526,16,31,223,111],[617,465,16,16,622,111],[617,465,16,16,391,126],[0,632,800,33,0,397],[501,615,214,13,4,434]]},{"delay":36,"blit":[[595,587,80,12,714,38],[0,450,589,91,69,51]]},{"delay":959,"blit":[]},{"delay":4000,"blit":[[62,732,8,45,125,51],[798,698,1,90,167,51],[339,731,8,60,188,51],[467,720,8,90,230,51],[377,731,15,30,307,51],[459,720,8,90,405,51],[409,720,50,15,447,51],[0,66,37,75,0,66],[731,698,15,60,76,66],[613,729,8,60,251,66],[362,731,15,30,335,66],[282,720,57,15,426,66],[286,36,1,45,524,66],[708,541,1,15,223,81],[506,720,22,30,272,81],[707,541,1,15,370,81],[703,541,1,45,391,81],[528,729,43,15,447,81],[132,96,36,15,118,96],[401,731,8,45,482,96],[484,720,22,30,139,111],[704,541,1,30,209,111],[706,541,1,15,321,111],[347,731,15,30,426,111],[705,541,1,15,559,111],[799,496,1,15,111,126],[798,496,1,15,293,126],[797,496,1,15,356,126],[796,496,1,15,461,126],[501,602,214,13,4,434]]}]
rename2_timeline=[{"delay":623,"blit":[[0,0,800,450,0,0]]},{"delay":182,"blit":[[0,450,322,16,182,40],[771,482,23,10,738,96],[720,527,23,16,244,100],[51,526,21,16,729,128],[586,527,20,10,738,196],[156,513,15,28,729,234],[720,527,23,16,181,280],[342,528,35,8,723,316],[720,527,23,16,307,325],[720,527,23,16,237,385],[608,525,112,12,4,434]]},{"delay":194,"blit":[[0,526,51,15,0,100],[777,450,23,16,244,100],[794,488,4,2,738,104],[608,512,112,13,4,434]]},{"delay":184,"blit":[[794,486,4,2,729,128],[105,513,51,15,0,280],[777,450,23,16,181,280],[608,525,7,11,4,434]]},{"delay":192,"blit":[[794,484,4,2,746,134],[720,512,51,15,0,325],[777,450,23,16,307,325],[788,492,7,11,4,434]]},{"delay":854,"blit":[[794,482,4,2,737,142],[720,482,51,15,0,385],[777,450,23,16,237,385],[171,513,7,10,4,435]]},{"delay":166,"blit":[[188,498,9,8,147,16],[300,512,112,16,391,40],[206,528,35,10,738,96],[0,466,224,16,244,100],[412,527,45,16,729,128],[771,512,28,16,181,280],[0,482,202,16,307,325],[771,512,28,16,237,385]]},{"delay":65,"blit":[[510,512,98,15,398,40],[309,528,33,10,739,96],[202,497,210,15,251,100],[543,527,43,16,730,128],[0,498,14,15,188,280],[0,498,188,15,314,325],[0,498,14,15,244,385]]},{"delay":174,"blit":[[188,512,112,16,391,40],[171,528,35,10,738,96],[553,450,224,16,244,100],[51,526,45,16,729,128],[433,466,28,16,181,280],[433,466,202,16,307,325],[433,466,28,16,237,385]]},{"delay":186,"blit":[[635,466,119,16,391,40],[96,528,36,10,738,96],[322,450,231,16,244,100],[754,466,46,16,729,128],[224,466,35,16,181,280],[224,466,209,16,307,325],[224,466,35,16,237,385]]},{"delay":50,"blit":[[412,512,98,15,419,40],[275,528,34,10,741,96],[412,482,210,15,272,100],[500,527,43,16,733,128],[600,497,14,15,209,280],[600,497,188,15,335,325],[600,497,14,15,265,385]]},{"delay":1419,"blit":[[622,482,98,15,426,40],[241,528,34,10,742,96],[202,482,210,15,279,100],[457,527,43,16,734,128],[412,497,14,15,216,280],[412,497,188,15,342,325],[412,497,14,15,272,385]]},{"delay":4000,"blit":[[0,542,343,1,182,55],[0,100,51,15,0,100],[265,100,1,15,286,100],[738,196,20,10,738,196],[729,234,15,28,729,234],[0,280,51,15,0,280],[265,100,1,15,223,280],[723,316,35,8,723,316],[0,325,51,15,0,325],[265,100,1,15,349,325],[0,385,51,15,0,385],[265,100,1,15,279,385],[0,513,105,13,4,434]]}]
var animation_timelines =
[
rename2_timeline,
days_169_timeline,
command_palette_timeline,
goto_anything_timeline,
goto_anything2_timeline,
regex_timeline
]
var cur_content = 0
var auto_cycle_content = true
function next()
{
auto_cycle_content = false
auto_next()
}
function auto_next()
{
cur_content = (cur_content + 1) % content.length
update_content()
}
function prev()
{
auto_cycle_content = false
auto_prev()
}
function auto_prev()
{
--cur_content;
if (cur_content < 0) cur_content = content.length - 1
update_content()
}
function update_content()
{
for (var i = 0; i < content.length; ++i)
content[i].style.display = (i == cur_content) ? "block" : "none"
ci = document.getElementById('content_index')
ci.innerHTML = (cur_content + 1) + " / " + content.length
set_animation(animation_urls[cur_content], animation_timelines[cur_content],
animation_urls[(cur_content + 1) % content.length])
}
var delay_scale = 0.7
var timer = null
var animate = function(img, timeline, element)
{
var i = 0
var run_time = 0
for (var j = 0; j < timeline.length - 1; ++j)
run_time += timeline[j].delay
var f = function()
{
var frame = i++ % timeline.length
var delay = timeline[frame].delay * delay_scale
var blits = timeline[frame].blit
var ctx = element.getContext('2d')
for (j = 0; j < blits.length; ++j)
{
var blit = blits[j]
var sx = blit[0]
var sy = blit[1]
var w = blit[2]
var h = blit[3]
var dx = blit[4]
var dy = blit[5]
ctx.drawImage(img, sx, sy, w, h, dx, dy, w, h)
}
if (i == timeline.length * 2 && auto_cycle_content)
timer = window.setTimeout(auto_next, delay)
else
timer = window.setTimeout(f, delay)
}
if (timer) window.clearTimeout(timer)
f()
}
var animate_fallback = function(img, timeline, element)
{
var i = 0
var run_time = 0
for (var j = 0; j < timeline.length - 1; ++j)
run_time += timeline[j].delay
var f = function()
{
if (i % timeline.length == 0)
{
while (element.hasChildNodes())
element.removeChild(element.lastChild)
}
var frame = i++ % timeline.length
var delay = timeline[frame].delay * delay_scale
var blits = timeline[frame].blit
for (j = 0; j < blits.length; ++j)
{
var blit = blits[j]
var sx = blit[0]
var sy = blit[1]
var w = blit[2]
var h = blit[3]
var dx = blit[4]
var dy = blit[5]
var d = document.createElement('div')
d.style.position = 'absolute'
d.style.left = dx + "px"
d.style.top = dy + "px"
d.style.width = w + "px"
d.style.height = h + "px"
d.style.backgroundImage = "url('" + img.src + "')"
d.style.backgroundPosition = "-" + sx + "px -" + sy + "px"
element.appendChild(d)
}
if (i == timeline.length * 2 && auto_cycle_content)
timer = window.setTimeout(auto_next, delay)
else
timer = window.setTimeout(f, delay)
}
if (timer) window.clearTimeout(timer)
f()
}
function set_animation(img_url, timeline, preload_url)
{
var img = new Image()
img.onload = function()
{
var canvas = document.getElementById('target')
if (canvas && canvas.getContext)
animate(img, timeline, canvas)
else
animate_fallback(img, timeline, document.getElementById('fallback'))
var preload_image = new Image()
preload_image.src = preload_url
}
img.src = img_url
}
set_animation(animation_urls[0], animation_timelines[0], animation_urls[1])
</script>
</body></html>