-
Notifications
You must be signed in to change notification settings - Fork 0
/
TheSchreibmaschine.html
885 lines (751 loc) · 55.9 KB
/
TheSchreibmaschine.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
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
<!DOCTYPE html>
<html lang="de">
<head>
<title>TheSchreibmaschine</title>
<meta name="author" content="Dennis Guse ([email protected])"></meta>
<meta name="license" content="GPLv3" hidden="hidden">
<!-- http://www.gnu.org/licenses/gpl-3.0.txt -->
</meta>
<meta name="description" content="TheSchreibmaschine. A distraction-free (almost feature-free) keyboard text editor. Focus on what you need."></meta>
<meta name="version" content="Not yet set."></meta>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta charset="UTF-8">
<link rel="icon" type="image/gif" href="data:image/gif;base64,R0lGODlhQABAAPABABEREf///yH5BAAAAAAALAAAAABAAEAAAAJujI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8cYAMgUbU94Hu384/s1gsIFsZg4Ig/KZaC5hCKlRarQ+sPytDmuzSsDx8Qw8svsQrfULPbKrYKn5Cj6yW7Cl/TOvv8PGCg4SFhoeIiYqLjYUQAAOw=="/>
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxyZWN0IHdpZHRoPSIyIiBoZWlnaHQ9IjMyIiB5PSIxNiIgeD0iMzEiIHN0eWxlPSJmaWxsOiMxMTEiPgogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgYXR0cmlidXRlVHlwZT0iQ1NTIiBiZWdpbj0iMHMiIGR1cj0iM3MiIHZhbHVlcz0iMTsxOzAuMjsxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz4KICA8L3JlY3Q+Cjwvc3ZnPgo="/>
<script type="text/javascript">
function handleKeyDown(event) {
console.log(event);
switch (event.keyCode) {
//Navigation
case 33: //Page-Up
soundTypewriter();
moveCursorUp();
moveCursorUp();
moveCursorUp();
moveCursorUp();
moveCursorUp();
break;
case 34: //Page-Down
soundTypewriter();
moveCursorDown();
moveCursorDown();
moveCursorDown();
moveCursorDown();
moveCursorDown();
break;
case 35:
soundTypewriter();
moveCursorEND();
break;
case 36:
soundTypewriter();
moveCursorPOS1();
break;
case 37:
soundTypewriter();
moveCursorLeft(event.ctrlKey);
break;
case 38:
soundTypewriter();
moveCursorUp();
break;
case 39:
soundTypewriter();
moveCursorRight(event.ctrlKey);
break;
case 40:
soundTypewriter();
moveCursorDown();
break;
//Remove: DEL and CTRL+DEL
case 8:
soundTypewriter();
backspace(event.ctrlKey);
event.preventDefault();
event.stopPropagation(); //for Webbrowser Opera (prevent back navigation)
break;
case 46:
soundTypewriter();
del(event.ctrlKey);
break;
//Specials: configuration
case 65: //Toggle text alignment (ALT+A)
if (event.altKey) {
toggleTextAlignment();
event.preventDefault();
}
break;
case 87: //Toggle page width (ALT+W)
if (event.altKey) {
togglePageWidth();
event.preventDefault();
}
break;
case 67: //Toggle color (ALT+C)
if (event.altKey) {
toggleBackgroundColor();
event.preventDefault();
}
break;
case 86://Toggle typewriter-volume (ALT+V)
if (event.altKey) {
toggleTypewriterVolume();
event.preventDefault();
}
break;
//Specials: functionality
case 83: //Save document (ALT-S)
if (event.altKey) {
saveDownload();
event.preventDefault();
}
break;
case 78: //Download document (ALT-N)
if (event.altKey) {
window.open(window.location.href, '_blank');
;
event.preventDefault();
}
break;
case 72: //Toggle help (ALT-H)
if (event.altKey) {
helpPopup = window.open("./README.md", "_blank");
event.preventDefault();
}
break;
case 32:
if (event.ctrlKey) { //Open Thesaurus (CTRL-SPACE)
thesaurusLookup();
event.preventDefault();
event.stopPropagation();
}
break;
}
}
function handleKeyPress(event) {
//console.log(event);
switch (event.keyCode) {
case 8: //for Webbrowser Opera (prevent back navigation)
return false;
break;
case 13: //Add new paragraph
soundTypewriter();
newParagraph();
break;
case 32: // Add space
soundTypewriter();
write(" ");
break;
default: //Add text
soundTypewriter();
write(String.fromCharCode(event.charCode));
break;
}
}
function soundTypewriter() {
var audioTypewriter = document.getElementById("audioTypewriter");
if (audioTypewriter.muted) return;
var sound = audioTypewriter.cloneNode(true);
sound.removeAttribute("muted"); //cloneNode(true) copies the initial muted value.
setTimeout(function() {
// For some reason, we need to wait here probably as the node is not yet ready.
sound.play();
}, 10);
}
/*
* Per word navigation.
*/
//String defining the regular expression for \p{LETTER}
var regexUnicodeLetter = "[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0523\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0621-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0972\u097B-\u097F\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58-\u0C59\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D3D\u0D60-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDD\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8B\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10D0-\u10FA\u10FC\u1100-\u1159\u115F-\u11A2\u11A8-\u11F9\u1200-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u1676\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19A9\u19C1-\u19C7\u1A00-\u1A16\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u2094\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2C6F\u2C71-\u2C7D\u2C80-\u2CE4\u2D00-\u2D25\u2D30-\u2D65\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31B7\u31F0-\u31FF\u3400\u4DB5\u4E00\u9FC3\uA000-\uA48C\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA65F\uA662-\uA66E\uA67F-\uA697\uA717-\uA71F\uA722-\uA788\uA78B-\uA78C\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA90A-\uA925\uA930-\uA946\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAC00\uD7A3\uF900-\uFA2D\uFA30-\uFA6A\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"
//Returns the start position of the last word (the last in the provided string); -1 if not found.
function wordLastEndIndex(string) {
var regex = new RegExp("[\\s]*" + regexUnicodeLetter + "+$");
return string.search(regex);
}
//Returns the end position of the first word (the last in the provided string); -1 if not found.
function wordFirstStartIndex(string) {
var regex = new RegExp("" + regexUnicodeLetter + "+" + "[\\s]*");
var match = string.match(regex);
if (match !== null && match[0] !== undefined && match.index == 0) return match[0].length;
return -1;
}
function wordCurrent(stringBefore, stringAfter) {
var beginIndex = wordLastEndIndex(stringBefore);
var endIndex = wordFirstStartIndex(stringAfter);
var currentWord = "";
if (beginIndex >= 0) currentWord = stringBefore.substring(beginIndex, stringBefore.length);
if (endIndex >= 0) {
var secondPart = stringAfter.substring(0, endIndex);
currentWord = currentWord.concat(secondPart);
}
return currentWord.trim();
}
/**
Navigation.
*/
function moveCursorUp(index) {
var cursor = document.getElementById("cursor");
moveCursorTo(index, cursor.parentElement.previousElementSibling);
}
function moveCursorDown(index) {
var cursor = document.getElementById("cursor");
moveCursorTo(index, cursor.parentElement.nextElementSibling);
}
function moveCursorLeft(ctrl) {
var cursor = document.getElementById("cursor");
if (cursor.previousSibling === null) { //goto end of previous line
moveCursorUp(Number.MAX_VALUE);
return;
}
if (cursor.previousSibling.nodeType == 3 && cursor.previousSibling.length == 1) { //Is a text node and must not be splitted.
cursor.parentElement.insertBefore(cursor, cursor.previousSibling);
cursor.parentElement.normalize(); //Merge textNodes that where introduced.
return;
}
if (cursor.previousSibling.nodeType == 3 && cursor.previousSibling.length > 1) { //Is a text node and must be splitted into two; the cursor is inserted between.
var textNodeBefore = cursor.previousSibling;
var splitIdx = -1; //CTRL-Handling (one word to the left).
if (ctrl) splitIdx = wordLastEndIndex(textNodeBefore.data);
if (splitIdx == -1) splitIdx = textNodeBefore.length - 1;
var textNodeAfter = textNodeBefore.splitText(splitIdx);
cursor.parentElement.insertBefore(cursor, textNodeAfter);
cursor.parentElement.normalize(); //Merge textNodes that where introduced.
return;
}
}
function moveCursorRight(ctrl) {
var cursor = document.getElementById("cursor");
if (cursor.nextSibling == null) { //goto beginning of next line
moveCursorDown(0);
return;
}
if (cursor.nextSibling.nodeType == 3 && cursor.nextSibling.length == 1) { //Is a text node and must not be splitted.
cursor.parentElement.insertBefore(cursor, cursor.nextSibling.nextSibling); //Sadly there is no insert after.
cursor.parentElement.normalize(); //Merge textNodes that might be introduced.
return;
}
if (cursor.nextSibling.nodeType == 3 && cursor.nextSibling.length > 1) { //Is a text node and must be splitted into two; the cursor is inserted between.
var textNodeBefore = cursor.nextSibling;
var splitIdx = -1; //CTRL-Handling (one word to the right).
if (ctrl) splitIdx = wordFirstStartIndex(textNodeBefore.data);
if (splitIdx == -1) splitIdx = 1;
var textNodeAfter = textNodeBefore.splitText(splitIdx);
cursor.parentElement.insertBefore(cursor, textNodeAfter);
cursor.parentElement.normalize(); //Merge textNodes that might be introduced (empty nodes are removed).
return;
}
}
function moveCursorPOS1() {
var cursor = document.getElementById("cursor");
currentParagraph.insertBefore(cursor, currentParagraph.childNodes[0]);
}
function moveCursorEND() {
currentParagraph.appendChild(cursor);
}
//If index is null, value from newCurrentParagraph is taken.
function moveCursorTo(newIndex, newCurrentParagraph) {
if (newIndex == null && newCurrentParagraph == null) return;
var cursor = document.getElementById("cursor");
cursor.parentElement.setAttribute("data-cursor-position", getCursorPosition());
var currentParagraph = cursor.parentElement;
var newCurrentParagraph = newCurrentParagraph || currentParagraph;
var index = newIndex !== null ? newIndex : newCurrentParagraph.getAttribute("data-cursor-position");
if (index === null) index = Number.MAX_VALUE;
//Cleanup old paragraph
cursor.remove();
currentParagraph.normalize();
newCurrentParagraph.normalize();
//Set cursor
var textNode = newCurrentParagraph.firstChild;
if (index === 0 || textNode === null) {
newCurrentParagraph.insertBefore(cursor, textNode);
setCurrentParagraph(newCurrentParagraph);
return;
} else {
if (index > textNode.length) {
newCurrentParagraph.appendChild(cursor);
setCurrentParagraph(newCurrentParagraph);
return;
}
}
var textNodeAfter = textNode.splitText(index);
newCurrentParagraph.insertBefore(cursor, textNodeAfter);
setCurrentParagraph(newCurrentParagraph);
}
function moveCursorToClick(textNode, offset) {
var newCurrentParagraph = textNode.parentElement;
console.log("Moving cursor to mouse to " + offset + " in " + newCurrentParagraph);
var cursor = document.getElementById("cursor");
var oldCurrentParagraph = cursor.parentElement;
//If the user clicks right from the cursor, this adds an additional offset that must be stored as normalize() will remove it.
var additionalOffset = 0;
if (oldCurrentParagraph == newCurrentParagraph)
if (textNode.previousElementSibling == cursor)
additionalOffset = cursor.previousSibling.length;
moveCursorTo(offset + additionalOffset, newCurrentParagraph);
}
function getCursorPosition() {
var cursor = document.getElementById("cursor");
if (cursor.previousSibling == undefined) return 0;
return cursor.previousSibling.length;
}
/*
* Mouse navigation in text using selection range.
*/
function handleMouseClick(event) {
console.log("Moving cursor to mouse click");
var textNode = null;
var offset = -1;
if (document.caretPositionFromPoint) {
var range = document.caretPositionFromPoint(event.pageX, event.pageY);
textNode = range.offsetNode;
offset = range.offset;
} else if (document.caretRangeFromPoint) { //for webkit
var range = document.caretRangeFromPoint(event.pageX, event.pageY);
textNode = range.startContainer;
offset = range.startOffset;
}
if (textNode.nodeType == 3) moveCursorToClick(textNode, offset);
else console.log("...not moving cursor as click was not on textnode.");
}
/**
Currentline positioning and highlightening.
*/
window.onresize = function (event) {
setCurrentParagraph(document.getElementById("currentParagraph"));
};
function setCurrentParagraph(newCurrentParagraph) {
//Update id=currentParagraph
var oldCurrentParagraph = document.getElementById("currentParagraph");
if (oldCurrentParagraph !== undefined && newCurrentParagraph !== oldCurrentParagraph) {
oldCurrentParagraph.removeAttribute("id");
oldCurrentParagraph.className = "";
oldCurrentParagraph.normalize(); //Merges the textNodes into one.
}
newCurrentParagraph.id = "currentParagraph";
newCurrentParagraph.className = "currentParagraph";
centerCurrentParagraph(newCurrentParagraph);
}
function centerCurrentParagraph(newCurrentParagraph) {
//New school: Just center the cursor.
var centeringOffset = (window.innerHeight / 2) - cursor.offsetTop;
page.style.top = centeringOffset + "px";
}
/**
* Writing, deleting and adding new lines.
*
* Limitation: no sequences of whitespaces are written.
*/
function write(character) {
if (!(typeof character == 'string' || character instanceof String)) {
console.log("Warning can only write strings")
}
{//Handle new lines properly.
var textByLines = character.split("\n");
if (textByLines.length > 1) {
for (i = 0; i < textByLines.length; i++) {
write(textByLines[i]);
newParagraph();
}
return;
}
}
var cursor = document.getElementById("cursor");
var currentParagraph = document.getElementById("currentParagraph");
var currentParagraphOldHeight = currentParagraph.offsetHeight;
if (cursor.previousSibling !== null && cursor.previousSibling.nodeType == 3) {
cursor.previousSibling.appendData(character);
} else {
var toAdd = document.createTextNode(character);
currentParagraph.insertBefore(toAdd, cursor);
}
if (currentParagraphOldHeight != currentParagraph.offsetHeight) centerCurrentParagraph();
}
function backspace(ctrl) {
console.log("BACKSPACE");
var cursor = document.getElementById("cursor");
var currentParagraph = document.getElementById("currentParagraph");
//Line delete.
if (cursor.previousSibling === null) { //Remove line and append to previous
var previousLine = currentParagraph.previousElementSibling;
if (previousLine != null) {
moveCursorLeft();
var toAppend = currentParagraph.childNodes.length;
for (var i = 0; i < toAppend; i++) {
previousLine.insertBefore(currentParagraph.childNodes[i], null);
}
currentParagraph.remove(); //Now remove the line.
}
centerCurrentParagraph();
return;
}
var currentParagraphOldHeight = currentParagraph.offsetHeight;
//Normal delete
if (cursor.previousSibling.nodeType == 3) {
if (cursor.previousSibling.length == 1) { //Is a text node and must not be splitted.
cursor.previousSibling.remove();
} else { //Just delete before the cursor.
var toDeleteIndex = cursor.previousSibling.length - 1;
if (ctrl) { //Delete previous word?
var previousWordStartIndex = wordLastEndIndex(cursor.previousSibling.data);
toDeleteIndex = (previousWordStartIndex != -1) ? previousWordStartIndex : toDeleteIndex;
}
if (toDeleteIndex == 0) cursor.previousSibling.remove();
else cursor.previousSibling.deleteData(toDeleteIndex, cursor.previousSibling.length - toDeleteIndex);
}
} else {
console.log("Error: Encountered a non-text node.");
}
if (currentParagraphOldHeight != currentParagraph.offsetHeight) centerCurrentParagraph();
}
function del(ctrl) {
console.log("DEL");
var currentParagraph = document.getElementById("currentParagraph");
//Line delete.
if (cursor.nextSibling === null) { //Remove line and append to previous
var nextLine = currentParagraph.nextElementSibling;
if (nextLine != null) {
var toAppend = nextLine.childNodes.length;
for (var i = 0; i < toAppend; i++) {
currentParagraph.insertBefore(nextLine.childNodes[i], null)
}
nextLine.remove(); //Now remove the line.
}
centerCurrentParagraph();
return;
}
var currentParagraphOldHeight = currentParagraph.offsetHeight;
//Normal delete
if (cursor.nextSibling.nodeType == 3) {
if (cursor.nextSibling.length == 1) { //Is a text node and must not be splitted.
cursor.nextSibling.remove();
} else { //Just delete before the cursor.
var toDeleteIndex = 1;
if (ctrl) { //Delete next word?
var firstWordEnd = wordFirstStartIndex(cursor.nextSibling.data)
toDeleteIndex = (firstWordEnd != -1) ? firstWordEnd : toDeleteIndex;
}
if (toDeleteIndex == cursor.nextSibling.length) cursor.nextSibling.remove();
else cursor.nextSibling.deleteData(0, toDeleteIndex);
}
} else {
console.log("Error: Encountered a non-text node.");
}
if (currentParagraphOldHeight != currentParagraph.offsetHeight) centerCurrentParagraph();
}
function newParagraph() {
console.log("New paragraph");
var cursor = document.getElementById("cursor");
var currentParagraph = document.getElementById("currentParagraph");
var newParagraph = document.createElement("div");
if (cursor.nextSibling !== null) { //Need to move existing content to new line.
newParagraph.appendChild(cursor.nextSibling);
}
currentParagraph.parentNode.insertBefore(newParagraph, currentParagraph.nextElementSibling); //Insert paragraph
moveCursorDown();
}
/**
Change the UI.
These functions overwrite the styles set by the css class #editor by setting the intended property directly at the editor element.
The original value of the CSS definition cannot be accessed and thus the initial value must be guessed.
Please make sure to be failsafe here.
*/
function toggleTextAlignment() {
console.log("Changing text alignment");
var editor = document.getElementById("editor");
editor.style.textAlign = editor.style.textAlign === "center" ? "left" : "center";
}
function togglePageWidth() {
console.log("Changing page width");
var page = document.getElementById("page");
page.style.width = page.style.width === "40%" ? "80%" : "40%";
centerCurrentParagraph();
}
function toggleBackgroundColor() {
console.log("Changing background color");
var editor = document.getElementById("editor");
if (editor.style.backgroundColor === "rgb(245, 245, 245)") //"whitesmoke" is replaced by color code.
editor.style.backgroundColor = "white";
else editor.style.backgroundColor = "whitesmoke";
}
function toggleTypewriterVolume() {
console.log("(Un)muting typing sound");
var audioTypewriter = document.getElementById("audioTypewriter");
audioTypewriter.muted = !audioTypewriter.muted;
}
</script>
<script type="text/javascript">
/**
Save
*/
function getText() {
return document.getElementById("page").innerText;
}
function saveDrag(event) { //requires body:ondragstart="saveDrag(event)"
console.log("Drag start");
event.dataTransfer.setData("text", getText());
event.dataTransfer.setData("TheSchreibmaschine", "YES");
event.dataTransfer.setDragImage(document.getElementById("dragPreview"), 0, 0);
}
function saveDownload() {
var textFileAsBlob = new Blob([getText()], {type: 'text/plain'});
var fileNameToSaveAs = "TheSchreibmaschine - " + new Date().toJSON() + ".txt";
var downloadLink = document.createElement("a");
downloadLink.download = fileNameToSaveAs;
downloadLink.innerHTML = "Download File";
downloadLink.href = window.URL.createObjectURL(textFileAsBlob);
downloadLink.dispatchEvent(new MouseEvent(`click`, {bubbles: true, cancelable: true, view: window}));
}
</script>
<script type="text/javascript">
/**
Support CTRL-V, e.g. pasting from clipboard (works in Chrome and probably IE).
*/
document.onpaste = function (event) {
console.log("CTRL-V: Handle paste from clipboard");
if (event.clipboardData.types.indexOf("text/plain") >= 0) {
var content = event.clipboardData.getData("text/plain");
write(content);
}
};
document.oncopy = function (event) {
console.log("CTRL-C: Handle copy to clipboard");
event.preventDefault();
event.clipboardData.setData("text/plain", getText());
};
/**
Load data from a file or clipboard.
No error check is done.
*/
function loadAllowDrop(event) {
//console.log("Allow drop");
event.stopPropagation();
event.preventDefault();
event.dataTransfer.dropEffect = 'copy'; // Explicitly show this is a copy.
}
function loadDrop(event) {
loadAllowDrop(event);
if (event.dataTransfer.getData("TheSchreibmaschine") !== "") { //By standard "" means nothing there, i.e. undefined.
console.log("LoadDrop: Drops from myself are not allowed; there is no copy and paste here.");
return;
}
console.log("LoadDrop: we are loading now.");
if (event.dataTransfer.types.indexOf("text/plain") >= 0) {
var content = event.dataTransfer.getData("text/plain");
write(content);
console.log(content);
return; //Handle only PLAIN or FILES!
}
if (event.dataTransfer.types.indexOf("Files") >= 0) {
var files = event.dataTransfer.files;
//Check how multiple files are handled.
for (var i = 0; i < files.length; i++) {
console.log(files[i]);
var reader = new FileReader();
reader.onload = function () {
content = reader.result;
write(content);
console.log(content);
};
reader.onerror = function () {
console.log("Error during reading: " + reader.error);
};
reader.readAsText(files[i]);
}
}
}
</script>
<script type="text/javascript">
/**
* Updates UI after loading and sets writes added from url param.
*/
function load() {
window.onresize();
if (window.location.search.length > 0) {
write(decodeURIComponent(window.location.search.substr(1, window.location.search.length)));
}
};
</script>
<script type="text/javascript">
/**
* Thesauri
*/
var thesaurusAutoHideTimeout = null;
function thesaurusLookup() {
var cursor = document.getElementById("cursor");
var stringBefore = cursor.previousSibling !== null ? cursor.previousSibling.data : "";
var stringAfter = cursor.nextSibling !== null ? cursor.nextSibling.data : "";
var word = wordCurrent(stringBefore, stringAfter);
console.log("Thesaurus: DE")
//Start UI
var thesaurusUI = document.getElementById("thesaurusUI");
thesaurusUI.children["loading"].style.opacity = 1;
thesaurusUI.children["result"].style.opacity = 0;
try {
var synonyms = thesaurus["de"].lookup(word).sort();
//TODO Remove searched word and set it to front.
console.log(synonyms);
thesaurusUI.children["loading"].style.opacity = 0;
thesaurusUI.children["result"].style.opacity = 1;
thesaurusUI.children["result"].innerHTML = synonyms.length > 0 ? synonyms.join(", ") : "n/a";
} catch (e) {
console.log("Thesaurus not available? The error message is: " + e);
thesaurusUI.children["result"].innerHTML = "... not working...";
}
clearTimeout(thesaurusAutoHideTimeout);
thesaurusAutoHideTimeout = setTimeout(thesaurusAutoHide, 10000);
}
function thesaurusAutoHide() {
var thesaurusUI = document.getElementById("thesaurusUI");
thesaurusUI.children["loading"].style.opacity = 0;
thesaurusUI.children["result"].style.opacity = 0;
thesaurusUI.children["result"].innerHTML = "";
}
</script>
<script type="text/javascript" src="thesaurus/openthesaurus_de.js"></script>
<style>
html, body {
height: 100%;
margin: 0;
}
#editor {
position:fixed;
width:100%;
height:100%;
display: box;
box-orient: vertical;
box-pack: center;
box-align: center;
outline: none;
overflow: hidden;
background-color: white;
font-family: "courier";
text-rendering: optimizeLegibility;
word-wrap:break-word;
word-break:break-all; /*Required so longer text stays in line with cursor and does not break into new line.*/
/*-webkit-touch-callout: none; Not yet required, there is no such thing as touchscreen support here.*/
user-select: none;
transition: all 1s;
}
#page {
position: absolute;
left: 0;
right: 0;
margin: 0 auto;
width : 80%;
transition: top 0.3s;
}
#page > div {
color: lightgrey;
min-height: 1.1em;
-padding-top: 1em;
margin-top: 0.2em;
white-space:pre-wrap;
transition: all 0.3s linear;
hyphens: auto;
}
#page > div.currentParagraph {
color: black;
-padding-top: 1em;
}
#cursor {
display: inline-block;
background: #111;
height:1em;
width:0.1em;
animation: blink 3s infinite;
}
@keyframes blink {
0% {opacity: 1;}
40% {opacity: 1;}
70% {opacity: 0.2;}
100% {opacity: 1;}
}
#thesaurusUI {
position: absolute;
left: 0;
right: 0;
bottom: 0;
margin: 0 auto;
margin-bottom: 0.3em;
width : 60%;
font-size: 0.8em;
text-align: center;
}
#thesaurusUI > .loading {
position:absolute;
left:0;
right:0;
bottom:0;
height:100%;
width:100%;
transition:opacity 1000ms ease-out;
}
#thesaurusUI > .result {
position:absolute;
left:0;
right:0;
bottom:0;
width:100%;
z-index:10;
transition:opacity 1000ms ease-out;
}
#thesaurusUI > .loading > div {
display:inline-block;
/*float: left;*/
width: 0.3em;
height: 0.3em;
margin: 0 0.3em;
background: lightgrey;
-webkit-border-ras: 50%;
border-radius: 50%;
opacity: 0;
box-shadow: 0 0 2px black;
animation: loadingFade 1s infinite;
}
#thesaurusUI > .loading > div:nth-child(2) {
animation-delay: 0.1s;
}
#thesaurusUI > .loading > div:nth-child(3) {
animation-delay: 0.2s;
}
#thesaurusUI > .loading > div:nth-child(4) {
animation-delay: 0.3s;
}
@keyframes loadingFade {
0% { opacity: 0; }
50% { opacity: 0.8; }
100% { opacity: 0; }
}
</style>
</head>
<body onload="load()" onbeforeunload="return 'Hope you saved your text.';">
<div id="editor"
ondragstart="saveDrag(event)"
ondragover="loadAllowDrop(event)"
ondrop="loadDrop(event)"
draggable="true"
ondblclick="saveDownload()"
tabindex="1" onkeypress="handleKeyPress(event)" onkeydown="handleKeyDown(event)" >
<div id="page" onclick="handleMouseClick(event)">
<div id="currentParagraph"><div id="cursor"></div></div>
</div>
<audio id="audioTypewriter" hidden="hidden">
<source type="audio/ogg" src="data:audio/ogg;base64,T2dnUwACAAAAAAAAAAB2z+9iAAAAAFn8QnYBHgF2b3JiaXMAAAAAAUSsAAAAAAAAgDgBAAAAAAC4AU9nZ1MAAAAAAAAAAAAAds/vYgEAAABye+3WDln///////////////+BA3ZvcmJpcy0AAABYaXBoLk9yZyBsaWJWb3JiaXMgSSAyMDEwMTEwMSAoU2NoYXVmZW51Z2dldCkBAAAAGAAAAENvbW1lbnQ9UHJvY2Vzc2VkIGJ5IFNvWAEFdm9yYmlzIkJDVgEAQAAAJHMYKkalcxaEEBpCUBnjHELOa+wZQkwRghwyTFvLJXOQIaSgQohbKIHQkFUAAEAAAIdBeBSEikEIIYQlPViSgyc9CCGEiDl4FIRpQQghhBBCCCGEEEIIIYRFOWiSgydBCB2E4zA4DIPlOPgchEU5WBCDJ0HoIIQPQriag6w5CCGEJDVIUIMGOegchMIsKIqCxDC4FoQENSiMguQwyNSDC0KImoNJNfgahGdBeBaEaUEIIYQkQUiQgwZByBiERkFYkoMGObgUhMtBqBqEKjkIH4QgNGQVAJAAAK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+fiPjyfMp/qncyJ56dwUT0RDv//0v8CTF21DDf9ACUgFQF4Tluy3HwhhPX95RTlcNgbfqEk7TLJVtFymPN7/dtHAotlB5JZ3dD4lfxPWwZ9rzyXVH68ftNf7aiPKCeLbyfzPAedZoDsmRl6mGAAoL79vGPaxPxLa3H+UtncOOOOSuAFjU/wN1XEahdOfm5Gs9HqaHU9tzh4o1a3hkaOCjzhsr69WktdzhG9vu6hl371xZvViZesqrrZagwQyijLVDJLl8UOinexFhZrklH6KMkX6zKrAYgOz64BVml9KAP5+o0IOD18rRnMbq5BQ93i62qDAUzLJ8joaAsHgjtjvV5loQMADE2YjTdx5yczIMDCAMByQrpYcQxqWw2tkXhhuuIG0N44HgxPWApdhEePiSAxBABqsfkU2qZIoYmWv7/k2ZRTRhbamSkADEvZn6OGp6t+MicYAtja0WjaiK9hrW+jjQjmG39mVTRzZr8FDE8Lx0W4+s9zSyQADgDMvb9kpHx/uEpIHp/DE+3h23lS9y+xFE3ZsOON4XoA5gBYJrBvtTBWhCZU4cMfvp5uYiOSYB2FcNNINAHkSleu58P1AAwIYMOAOt87rNBQnY0+QVo9G52pLRhpoWHvMwH0zG7323B9gCQArA6wwf6VqtG3Kxyar4RNkZkfmo742evQ9mfXl+lvlr5yMDYA/EYTugzX7k86YRjmGQGSfjd5X7Wsu526Ra/DO9X6epTzdmt6zewzicukdgIA" >
<source type="audio/mpeg" src="data:audio/mpeg;base64,//tQxAAAB+gPR1QxgAHHpa93HrADAAdABpNyYAEUDAwMDD5cH33RcHwfdEAIAmD/8vE4Pn/T4ISgY/6fggCAIGQfB8H4IAgCFIPh//4wEAQdWD/nLHY/b8/Xo836dQGhYAA6avqskSFrLPiAolFCZIL4pBFH8M3DvsvHcRzVdcdvZOtjBsLD5tTHxTpo5Tzivvk1zl84OxI9g7z6tu9tVFV58CAHBLHA77lzuHf//47x3nzQ0OP+W13w53///roHEK2f9Lzsqk42o3EokmUAAP/7UsQEgAuosYGYlIABbpFv855gB4MQEDi4pFW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6dvnK+SL72/xx/qL/PQBWADgACgCZ/5/+h/02/fT96f76/jL+Zf2H/c/+8AAEA/YDdAN0Aj8C/wKvA34DxQIQAjIBmP/O/QH90v3z/vX+1/0t/Qb+1v/bAAAA/f2P/KT8M/3c/JD7wPpv+yv9tP6T/2sAlwFJAsYBlACy/8/+Df3W+u35S/uO/Qj/mv+kAEcCBAPtAVkA2P9gAG0ArP8J/0T/6P9LADkAAgCp/0D/1f5f/rf96/xJ/B38g/x1/Yn+Gv+8/hb+JP7q/kL/Qv66/BL8tPyL/fT9Kf6+/mb/4v9ZAMUAoQCa/2b+vf2v/dH9If7F/ub/RAHCAtkDAQRQA3wC/wGFAaAAv/+O/9//3P8j/3L+bP7k/nz/PQA1AcYBlwH6ALkAzwAIAYMBagJCA00DlwLTAUMBTACx/kL93fw+/bX9Ef63/rj/wQDZARMDMwSiBGIE8ANrA2EC1QBB/4f+6/4BAOgAUAHkAf4CEgRmBCcEzwO1A8YD/QMFBJIDUwLNAGIAuwGcA+8DZwKnAPj/8P/z/+3/AAAWAE4ASgHoAhUE/AMkA1QCwwFFAWIBcAKqA7cDlAKxARYC/QIvAwYDXAPpAyID6ADq/qr+3v8OAXwBbwEpAZsAFABvAL0BygJqAiQBVgBvAKIAkQAGAaQChgTtBEAD3gBu/9z/XwF/AuMBx/8M/lD+MADAAeUBawHIAXEDcAU+BvQEMgLC/wb/+f+RAaACjALnAfQBQwOTBEEESAL9/7j+">
</audio>
<img id="dragPreview" src="" alt=""/>
<div id="thesaurusUI">
<div name="loading" class="loading" style="opacity:0">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div name="result" class="result" style="opacity:0"></div>
</div>
</div>
</body>
</html>