forked from Dyalog/ride
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
796 lines (776 loc) · 37.7 KB
/
index.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
<!doctype html>
<html>
<head>
<title></title>
<meta charset=utf-8>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'">
<link rel=stylesheet href='style/bootstrap.css'>
<link rel=stylesheet href='style/goldenlayout-base.css'>
<link rel=stylesheet class=theme href='style/ride-base.css'>
<link rel=stylesheet class=theme id=theme_dark href='style/dark-theme.css'>
<link rel=stylesheet class=theme id=theme_light href='style/light-theme.css'>
<link rel="stylesheet" href="node_modules/toastr/build/toastr.min.css"/>
<style id=col_stl></style><!--src/prf_col.js injects css here-->
<style id=col_sample_stl></style><!--and here-->
<script defer src="lib/fontawesome-all.min.js"></script>
</head>
<body>
<noscript>JavaScript is not enabled.</noscript>
<!--Connect page-->
<div id=cn class="container-fluid" hidden>
<div id="cn_lhs" class="col col-xs-3">
<div id=cn_favs></div>
<div id=cn_fav_btns class="row">
<div class="col col-xs-3"><button id=cn_neu class=tb_btn title="New"><span class="fas fa-plus-square"></span></button></div>
<div class="col col-xs-3"><button id=cn_cln class=tb_btn title="Clone"><span class="fas fa-clone"></span></button></div>
<div class="col col-xs-3"><button id=cn_del class=tb_btn title="Delete"><span class="fas fa-minus-square"></span></button></div>
<div class="col col-xs-3"><button id=cn_sve class=tb_btn title="Save"><span class="fas fa-save"></span></button></div>
</div>
</div>
<div id="cn_rhs" class="col col-xs-9">
<div class="row">
<div class="col col-xs-3"><label for=cn_fav_name>C<u>o</u>nfiguration name:</label></div>
<div class="col col-xs-9"><input id=cn_fav_name placeholder=unnamed></div>
</div>
<div class="row">
<div class="col col-xs-3"><label for=cn_type><u>T</u>ype:</label></div>
<div class="col col-xs-9">
<div class="row">
<div class="col col-xs-6">
<select id=cn_type class=cn_select>
<option value=connect title="Connect to an interpreter" >Connect
<option value=start title="Start and connect to an interpreter" >Start
<option value=listen title="Start and connect to an interpreter via SSL">Listen
</select>
</div>
<div class="col col-xs-6">
<select id=cn_subtype hidden>
<option value=raw title="Connect to an interpreter via raw TCP/IP" id=cn_raw_opt>TCP
<option value=ssh title="Connect to an interpreter via SSH" >SSH
<option value=ssl title="Connect to an interpreter using TLS/SSL" id=cn_ssl_opt>TLS/SSL
</select>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col col-xs-3 col-xs-offset-3">
<button id=cn_go><u>C</u>onnect</button>
</div>
</div>
<hr>
<div id=cn_dtl>
<div class="row">
<div class="col col-xs-3">
<input type=checkbox id=cn_log_cb>
<label for=cn_log_cb>
Save protocol <u>l</u>og</span>
</label>
</div>
<div class="col col-xs-9">
<div class="row">
<div class="col col-xs-12">
<input id=cn_log name=log placeholder="Log file" class=browse>
<button id=cn_log_dots class=tb_btn><span class="fas fa-ellipsis-h"></span></button>
</div>
</div>
</div>
</div>
<div id=cn_tcp_dtl>
<div class="row">
<div class="col col-xs-3"><label for=cn_tcp_host class=cn_label><u>H</u>ost:</label></div>
<div class="col col-xs-9"><input id=cn_tcp_host name=host size=12 placeholder=localhost></div>
</div>
<div class="row">
<div class="col col-xs-3"><label for=cn_tcp_port class=cn_label><u>P</u>ort:</label></div>
<div class="col col-xs-9"><input id=cn_tcp_port name=port size=4 placeholder=4502></div>
</div>
</div>
<div class="row">
<div class="col col-xs-12" id=cn_respawn>
<input type=checkbox id=cn_respawn_cb name=respawn>
<label for=cn_respawn_cb>
<u>R</u>espawn listener on connection
</label>
</div>
</div>
<div id=cn_ssh hidden>
<div class="row">
<div class="col col-xs-3"><label for=cn_ssh_port class=cn_label>SSH <u>P</u>ort:</label></div>
<div class="col col-xs-9"><input id=cn_ssh_port name=ssh_port size=4 placeholder=22></div>
</div>
<div class="row">
<div class="col col-xs-3"><label for=cn_ssh_user class=cn_label><u>U</u>ser:</label></div>
<div class="col col-xs-9"><input id=cn_ssh_user name=user size=10></div>
</div>
<div class="row">
<div class="col col-xs-3"><label for=cn_ssh_key class=cn_label><u>K</u>ey file:</label></div>
<div class="col col-xs-9">
<input id=cn_ssh_key name=ssh_key class=browse>
<button id=cn_ssh_key_dots class=tb_btn><span class="fas fa-ellipsis-h"></span></button>
</div>
</div>
<div class="row">
<div class="col col-xs-3"><label for=cn_ssh_pass class=cn_label><u>P</u>assword / passphrase:</label></div>
<div class="col col-xs-9"><input id=cn_ssh_pass type=password></div>
</div>
</div>
<div id=cn_ssl hidden>
<div class="row">
<div class="col col-xs-12">
<input type=checkbox id=cn_cert_cb>
<label for=cn_cert_cb>
Provide user c<u>e</u>rtificate</span>
</label>
</div>
</div>
<div class="row">
<div class="col col-xs-3">
<label style=padding-left:2em>Cert</span>
</div>
<div class="col col-xs-9">
<div class="row">
<div class="col col-xs-12">
<input id=cn_cert name=cert placeholder="PEM file" class=browse>
<button id=cn_cert_dots class=tb_btn><span class="fas fa-ellipsis-h"></span></button>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col col-xs-3">
<label style=padding-left:2em>Key</label>
</div>
<div class="col col-xs-9">
<div class="row">
<div class="col col-xs-12">
<input id=cn_key name=key placeholder="PEM file" class=browse>
<button id=cn_key_dots class=tb_btn><span class="fas fa-ellipsis-h"></span></button>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col col-xs-12">
<input type=checkbox id=cn_rootcertsdir_cb>
<label for=cn_rootcertsdir_cb>
Custom root certificates
</label>
</div>
</div>
<div class="row">
<div class="col col-xs-3">
<label style=padding-left:2em>Directory</label>
</div>
<div class="col col-xs-9">
<div class="row">
<div class="col col-xs-12">
<input id=cn_rootcertsdir name=rootcertsdir placeholder="PEM files" class=browse>
<button id=cn_rootcertsdir_dots class=tb_btn><span class="fas fa-ellipsis-h"></span></button>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col col-xs-12">
<input type=checkbox id=cn_subj_cb>
<label for=cn_subj_cb>
<u>V</u>alidate server subject common name matches hostname
</label>
</div>
</div>
</div>
<div id=cn_start hidden>
<div class="row">
<div class="col col-xs-3"><label for=cn_exes class=cn_label><u>I</u>nterpreter:</label></div>
<div class="col col-xs-9">
<select id=cn_exes name=exes class="cn_select browse"></select>
<button id=cn_fetch class=tb_btn title="Fetch list of interpreters through ssh">
<span class="fas fa-sync-alt"></span>
</button>
</div>
</div>
<div class="row">
<div class="col col-xs-9 col-xs-offset-3">
<input id=cn_exe name=exe placeholder='path to executable'>
</div>
</div>
<div class="row" id=cn_cwd_fld>
<div class="col col-xs-3"><label for=cn_cwd><u>W</u>orking directory:</label></div>
<div class="col col-xs-9"><input id=cn_cwd name=cwd></div>
</div>
<div class="row">
<div class="col col-xs-3">
<label for=cn_args>Arg<u>u</u>ments:</label>
<div class="tooltip">
<span class="fas fa-question-circle"></span>
<span class="tooltiptext">one per line; if needed, RIDE may also pass "+s" and "-q"</span>
</div>
</div>
<div class="col col-xs-9">
<textarea id=cn_args name=args cols=40 rows=3></textarea>
</div>
</div>
<div class="row">
<div class="col col-xs-3">
<label for=cn_env><u>C</u>onfiguration parameters:</label>
<div class="tooltip">
<span class="fas fa-question-circle"></span>
<span class="tooltiptext">key=value, one pair per line, no extra spaces, no quoting or escaping of value</span>
</div>
</div>
<div class="col col-xs-9">
<textarea id=cn_env name=env cols=40 rows=3></textarea>
</div>
</div>
<div class="row">
<div class="col col-xs-9 col-xs-offset-3">
<span id=cn_env_add>For example:<br><a href=#>MAXWS=1G</a><br><a href=#>WSPATH=.</a><br><a href=#>HISTORY_SIZE=1000</a></span>
</div>
</div>
</div>
</div>
</div>
</div>
<div id=splash class=ui-front></div>
<div id=dlg_modal_overlay class=ui-front hidden></div>
<div id=cn_connecting_dlg class=dlg hidden>
<div class=dlg_title>Connecting...</div>
<div class=cn_dlg_content><span class="far fa-spinner fa-spin fa_icon"></span></div>
<div class=dlg_btns><button id=cn_connecting_dlg_close><u>C</u>ancel</button></div>
</div>
<div id=cn_listen_dlg class=dlg hidden>
<div class=dlg_title>Waiting for connection...</div>
<div class=cn_dlg_content>
<span class="far fa-spinner fa-spin fa_icon"></span>
<p>Please start the remote interpreter with</p>
<pre>RIDE_INIT=connect:<span id=cn_listen_dlg_host>host</span>:<span id=cn_listen_dlg_port>port</span></pre>
<p>in its environment, so it connects here.</p>
</div>
<div class=dlg_btns><button id=cn_listen_dlg_cancel><u>C</u>ancel</button></div>
</div>
<div id=gd class=dlg hidden><!--generic dialog for processing OptionsDialog,StringDialog,TaskDialog-->
<div class=dlg_title><span id=gd_title_text></span><a href=# class=dlg_close id=gd_close title=Close>×</a></div>
<div id=gd_icon></div>
<div class=dlg_content id=gd_content></div>
<div class=dlg_btns id=gd_btns ></div>
<div id="gd_footer">
<div id="gd_footer_btns"></div>
<input id=gd_footer_qn type="checkbox" name="question">
<label id=gd_footer_qn_lbl for=gd_footer_qn></label>
</div>
</div>
<!--IDE:language bar,session,editors,etc-->
<div id=ide></div>
<div id=lb hidden>
<a id=lb_prf class=tb_btn href=# title=Preferences><span class="fas fa-keyboard"></span></a>
<div id=lb_inner></div>
</div>
<div id=lb_tip hidden><div id=lb_tip_desc></div><hr><div id=lb_tip_body><pre id=lb_tip_text></pre></div></div>
<div id=sb hidden>
<div id=sb_left>
<div id=sb_prf><a class=tb_btn href=# title=Preferences><span class="fas fa-cog"></span></a></div>
<div id=sb_busy title="Busy" hidden><span class="fas fa-clock"></span></div>
</div>
<div id=sb_right>
<div id=sb_gc title="Garbage collections" hidden>GC: </div>
<div id=sb_cc title="Compaction Count" hidden>CC: </div>
<div id=sb_threads title="Thread Count" hidden>&: </div>
<div id=sb_dq title="Dequeue Events" hidden>⎕DQ: </div>
<div id=sb_trap title="Trap Event" hidden>⎕TRAP</div>
<div id=sb_sis title="State Indicator" hidden>⎕SI: </div>
<div id=sb_io title="Index Origin" hidden>⎕IO: </div>
<div id=sb_ml title="Migration Level" hidden>⎕ML: </div>
<div id=sb_cp></div>
</div>
</div>
<div id=ed_tmpl class="ride_win edit_trace" style=display:none>
<div class=toolbar>
<a href=# class='tb_btn tb_ER tc_only' title='Execute line'>
<span class="fas fa-eject" data-fa-transform="shrink-3 rotate-90"></span>
</a>
<a href=# class='tb_btn tb_TC tc_only' title='Trace into expression'>
<span class="fas fa-level-down" data-fa-transform="shrink-3"></span>
</a>
<a href=# class='tb_btn tb_BK tc_only' title='Go back one line'>
<span class="fas fa-arrow-left" data-fa-transform="shrink-3"></span>
</a>
<a href=# class='tb_btn tb_FD tc_only' title='Skip current line'>
<span class="fas fa-arrow-right" data-fa-transform="shrink-3"></span>
</a>
<a href=# class='tb_btn tb_BH tc_only' title='Stop on next line of calling function'>
<span class="fas fa-level-up" data-fa-transform="shrink-3"></span>
</a>
<a href=# class='tb_btn tb_RM tc_only' title='Continue this thread'>
<span class="fas fa-angle-right"></span>
</a>
<a href=# class='tb_btn tb_MA tc_only' title='Continue execution of all threads'>
<span class="fas fa-angle-double-right"></span>
</a>
<span class='tb_sep tc_only'></span>
<a href=# class='tb_btn tb_ED tc_only' title='Edit name'>
<span class="fas fa-pencil-alt" data-fa-transform="shrink-3"></span>
</a>
<a href=# class='tb_btn tb_EP ed_only' title='Save changes and return'>
<span class="far fa-times-circle"></span>
</a>
<a href=# class='tb_btn tb_FX ed_only' title='Save changes'>
<span class="far fa-save"></span>
</a>
<span class='tb_sep'></span>
<a href=# class='tb_btn tb_QT tc_only' title='Quit this function'>
<span class="far fa-times-circle"></span>
</a>
<a href=# class='tb_btn tb_WI tc_only' title='Interrupt'>
<span class="far fa-pause-circle"></span>
</a>
<a href=# class='tb_btn tb_CBP tc_only' title='Clear stops for this object'>
<span class="fa-layers">
<span class="far fa-clock" data-fa-transform="shrink-8 down-4 right-4"></span>
<span class="fas fa-circle" data-fa-transform="shrink-8 up-4"></span>
<span class="fas fa-circle" data-fa-transform="shrink-8 down-4 left-4" style="color:red"></span>
<span class="fas fa-times fa-inverse" data-fa-transform="shrink-10 down-4 left-4"></span>
</span>
</a>
<span class='tb_sep ed_only'></span>
<a href=# class='tb_btn tb_LN' title='Toggle line numbers'>
<span class="fal fa-list-ol"></span>
</a>
<span class='tb_sep ed_only'></span>
<a href=# class='tb_btn tb_AO ed_only' title='Comment selected text'>
<span class="fa-layers">
<span class="fa-layers-text" data-fa-transform="grow-4 up-3" style="font-family:apl">⍝</span>
</span>
</a>
<a href=# class='tb_btn tb_DO ed_only' title='Uncomment selected text'>
<span class="fa-layers">
<span class="fa-layers-text" data-fa-transform="grow-4 up-3" style="font-family:apl">⍝</span>
<span class="fas fa-circle" data-fa-transform="shrink-8 down-3 left-3" style="color:red"></span>
<span class="fas fa-times fa-inverse" data-fa-transform="shrink-10 down-3 left-3"></span>
</span>
</a>
<span class=tb_sep></span>
<a href=# class='tb_btn tb_SC' title='Search'>
<span class="fas fa-search" data-fa-transform="shrink-3"></span>
</a>
</div>
<div class=ride_win_me>
</div>
</div>
<div id=wse hidden></div><!--workspace explorer-->
<div id=vt_bln hidden></div><div id=vt_tri hidden></div><!--value tips-->
<div id=debug hidden>
<div>
<div class=ctl_listview_header><h2>Threads</h2></div>
<div class=toolbar>
<a href=# class='tb_btn tb_TFR' title='Refresh now'>
<span class="fas fa-sync-alt" data-fa-transform="shrink-2"></span>
</a>
<a href=# class='tb_btn tb_RM' title='Continue execution of this thread'>
<span class="fas fa-angle-right"></span>
</a>
<a href=# class='tb_btn tb_MA' title='Continue execution of all threads'>
<span class="fas fa-angle-double-right"></span>
</a>
</div>
<div id=threads hidden></div>
</div>
<div>
<div class=ctl_listview_header><h2>SI Stack</h2></div>
<div id=sistack hidden></div>
</div>
</div>
<!--About-->
<div id=abt class=dlg hidden>
<div id=abt_logo class=dlg_title>
<div id=abt_contact class=dlg_no_drag>
<span title="Dyalog's UK phone number">+44 1256 830030</span><br>
<a id=abt_email href=#>[email protected]</a><br>
<a href='http://www.dyalog.com/' target=_blank>www.dyalog.com</a>
</div>
</div>
<div id=abt_ta_wr><textarea id=abt_ta readonly wrap=off></textarea></div>
<div class=dlg_btns>
<button id=abt_copy><u>C</u>opy</button>
<button id=abt_close>C<u>l</u>ose</button>
</div>
</div>
<!--Preferences-->
<div id=prf_dlg class=dlg hidden>
<div class=dlg_title>Preferences</div>
<div id=prf_nav>
<a href=#code>General</a>
<a href=#lyt class=sel>Keyboard</a>
<a href=#shc>Shortcuts</a>
<a href=#resp>Saved Responses</a>
<a href=#col>Colours</a>
<a href=#title>Title</a>
<a href=#pmenu>Menu</a>
<a href=#wins>Windows</a>
<button id=prf_print class=tb_btn><span class="fal fa-print"></span></button>
</div>
<hr>
<div id=prf_content>
<!--Layout-->
<div id=lyt>
<div id=lyt_ctrls>
<button id=lyt_rst title="Restore defaults for selected locale"><u>R</u>eset</button>
<label id=lyt_pfx_lbl><u>P</u>refix: <input id=lyt_pfx size=1></label>
<label id=lyt_lc_lbl>Choose <u>l</u>ayout: <select id=lyt_lc></select></label>
</div>
<div id=lyt_kbd>
<b id=lyt_1 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_2 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_3 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_4 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_5 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_6 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_7 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_8 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_9 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_10 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_11 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_12 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_13 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_14 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_15 class=lyt_k>←</b>
<b id=lyt_16 class=lyt_k>↹</b>
<b id=lyt_17 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_18 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_19 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_20 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_21 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_22 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_23 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_24 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_25 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_26 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_27 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_28 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_29 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_30 class=lyt_k>⇪Caps</b>
<b id=lyt_31 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_32 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_33 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_34 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_35 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_36 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_37 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_38 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_39 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_40 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_41 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_42 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_43 class=lyt_k>↲</b>
<b id=lyt_44 class=lyt_k>⇧Shift</b>
<b id=lyt_45 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_46 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_47 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_48 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_49 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_50 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_51 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_52 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_53 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_54 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_55 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_56 class=lyt_k><b class=lyt_g2></b><input class=lyt_g3><br><b class=lyt_g0></b><input class=lyt_g1></b>
<b id=lyt_57 class=lyt_k>⇧Shift</b>
<b id=lyt_spc class=lyt_k>
<b class=lyt_g2>⇧Shift+Key</b><b class=lyt_g3 id=lyt_spc_g3>` ⇧Shift+Key</b><br>
<b class=lyt_g0>Key</b><b class=lyt_g1 id=lyt_spc_g1>` Key</b>
</b>
</div>
<input type=checkbox id=lyt_ime hidden>
<label id=lyt_ime_wr for=lyt_ime>
Also enable Dyalog IME (requires RIDE restart)
</label>
</div>
<!--Shortcuts-->
<div id=shc hidden>
<div id=shc_ctrls>
<button id=shc_rst_all title="Reset all to their defaults"><u>R</u>eset</button>
<input id=shc_sc placeholder=Search><a id=shc_sc_clr href=# hidden title="Clear search">×</a>
<input type=checkbox id=shc_defined>
<label id=shc_defined_lb for=shc_defined>Only show defined shortcuts</label>
</div>
<div id=shc_tbl_wr></div>
<div id=shc_no_res hidden>No results</div>
</div>
<!--Saved Responses-->
<div id=resp hidden>
<div id=resp_ctrls>
<button id=resp_sel_all title="Select all responses"><u>S</u>elect All</button>
<button id=resp_del title="Delete response"><u>D</u>elete</button>
</div>
<select id=resp_qns multiple></select>
</div>
<!--Code-->
<div id=code hidden>
<h2>Indentation</h2>
<p><input id=code_io type=checkbox><label for=code_io >I<u>n</u>dent content when an editor is opened</label></p>
<p><input id=code_ilf type=checkbox><label for=code_ilf >Handle <u>f</u>ormatting through the interpreter</label></p>
<p><input id=code_ai type=checkbox><label for=code_ai >A<u>u</u>to-indent</label>
<input id=code_sw size=1><label for=code_sw> spaces</label>
</p>
<p><input id=code_aim type=checkbox><label for=code_aim >in <u>m</u>ethods:</label>
<input id=code_swm size=1><label for=code_swm> spaces</label>
</p>
<p><input id=code_icom type=checkbox><label for=code_icom><u>I</u>ndent lines that contain only a comment</label></p>
<hr>
<h2>Brackets</h2>
<p><input id=code_mb type=checkbox><label for=code_mb ><u>H</u>ighlight matching brackets: <tt>()[]{}</tt></label></p>
<p><input id=code_acbr type=checkbox><label for=code_acbr>Au<u>t</u>o-close brackets</label></p>
<hr>
<h2>Contextual help</h2>
<p><label>Autocom<u>p</u>letion
<select id=code_ac>
<option value="off">off</option>
<option value="classic">classic</option>
<option value="shell">shell</option>
</select>
</label></p>
<p><label>Autocompletion a<u>f</u>ter <input id=code_acd size=5>ms</label></p>
<p><label>Make suggestions a<u>f</u>ter <input id=code_acl size=5>characters</label></p>
<p><input id=code_ss type=checkbox><label for=code_ss >Autocomplete control structures with snippets</label></p>
<p><input id=code_sh type=checkbox><label for=code_sh >Highlight matching words</label></p>
<p><input id=code_vt type=checkbox><label for=code_vt >Show <u>v</u>alue tips</label></p>
<p><input id=code_sqt type=checkbox><label for=code_sqt>Show tips for <u>g</u>lyphs</label></p>
<hr>
<h2>Session</h2>
<p><input id=code_apw type=checkbox><label for=code_apw>Auto <u>P</u>W</label></p>
<p><input id=code_ph type=checkbox><label for=code_ph >Persistent history</label>
<input id=code_phs size=4><label for=code_phs> lines</label>
</p>
<p><label for=code_sls>Session log size
<input id=code_sls size=6> lines (0 = unlimited)</label>
</p>
<hr>
<h2>Cursor</h2>
<p><input id=code_bc type=checkbox><label for=code_bc><u>B</u>lock cursor</label></p>
<p><label>Cursor blinking
<select id=code_cb>
<option value="blink">blink</option>
<option value="smooth">smooth</option>
<option value="phase">phase</option>
<option value="expand">expand</option>
<option value="solid">solid</option>
</select>
</label></p>
<p><label>Highlight current line
<select id=code_rlh>
<option value="none">none</option>
<option value="gutter">gutter</option>
<option value="line">line</option>
<option value="all">all</option>
</select>
</label></p>
<hr>
<h2>Minimap</h2>
<p><input id=code_mme type=checkbox><label for=code_mme>Minimap enabled</label></p>
<p><input id=code_mmrc type=checkbox><label for=code_mmrc>Minimap render characters</label></p>
<p>
<label>Minimap show slider
<select id=code_mmss>
<option value="always">always</option>
<option value="mouseover">mouseover</option>
</select>
</label>
</p>
<hr>
<h2>Other</h2>
<p><input id=code_dce type=checkbox><label for=code_dce>Double click to edit</label></p>
<p><input id=code_sqp type=checkbox><label for=code_sqp>Show <u>q</u>uit prompt</label></p>
<p><input id=code_set type=checkbox><label for=code_set>Show toolbar in editor/trace windows</label></p>
<p><input id=code_coq type=checkbox><label for=code_coq>Connect on quit</label></p>
<p><input id=code_fit type=checkbox><label for=code_fit>Include filename in editor title</label></p>
</div>
<!--Colours-->
<div id=col hidden>
<div id=col_top>
<label><u>S</u>cheme: <select id=col_scm></select></label>
<input id=col_new_name>
<button id=col_cln>C<u>l</u>one</button>
<button id=col_ren><u>R</u>ename</button>
<button id=col_del><u>D</u>elete</button>
</div>
<div id=col_me></div>
<div id=col_settings>
<datalist id=col_list></datalist>
<label><u>C</u>hrome:
<select id=col_chrome>
<option value="light">Light</option>
<option value="dark">Dark</option>
</select>
</label>
<p><label><u>T</u>oken type:<br><select id=col_grp></select></label></p>
<p id=col_fg_p>
<input type=checkbox id=col_fg_cb><label for=col_fg_cb><u>F</u>oreground</label>
<input type=color id=col_fg list=col_list>
<p id=col_fgo_p><label>Opacity: <input id=col_fgo type=range min=0 max=1 step=.25></label>
<p id=col_bg_p>
<input type=checkbox id=col_bg_cb><label for=col_bg_cb>B<u>a</u>ckground</label>
<input type=color id=col_bg list=col_list>
<p id=col_bgo_p><label>Opacity: <input id=col_bgo type=range min=0 max=1 step=.25></label>
<p id=col_BIU_p>
<input type=checkbox id=col_B><label for=col_B><u>B</u></label>
<input type=checkbox id=col_I><label for=col_I><u>I</u></label>
<input type=checkbox id=col_U><label for=col_U><u>U</u></label>
<p id=col_bc_p>
<input type=checkbox id=col_bc_cb><label for=col_bc_cb>Border colour</label>
<input type=color id=col_bc list=col_list>
</div>
</div>
<!--Title-->
<div id=title hidden>
<button id=title_rst><u>R</u>eset</button>
<label for=title_inp>Window title:</label><input id=title_inp>
<table id=title_subs>
<tr><td>Workspace name</td><td><a>{WSID}</a></td></tr>
<tr><td>Interpreter's TCP endpoint</td><td><a>{HOST}</a>:<a href=#>{PORT}</a></td></tr>
<tr><td>Connect profile in use</td><td><a>{PROFILE}</a></td></tr>
<tr><td>PID of the interpreter process</td><td><a>{PID}</a></td></tr>
<tr><td>Unicode or Classic</td><td><a>{CHARS}</a></td></tr>
<tr><td>64 or 32</td><td><a>{BITS}</a></td></tr>
<tr><td>Interpreter version</td><td><a>{VER}</a></td></tr>
<tr><td>- major</td><td>- <a>{VER_A}</a></td></tr>
<tr><td>- minor</td><td>- <a>{VER_B}</a></td></tr>
<tr><td>- svn revision</td><td>- <a>{VER_C}</a></td></tr>
<tr><td>PID of RIDE process</td><td><a>{RIDE_PID}</a></td></tr>
<tr><td>RIDE version</td><td><a>{RIDE_VER}</a></td></tr>
<tr><td>- major</td><td>- <a>{RIDE_VER_A}</a></td></tr>
<tr><td>- minor</td><td>- <a>{RIDE_VER_B}</a></td></tr>
<tr><td>- git commit number</td><td>- <a>{RIDE_VER_C}</a></td></tr>
</table>
</div>
<!--Menu-->
<div id=pmenu hidden>
<div><button id=pmenu_rst><u>R</u>eset</button>
<label>Menu configuration:</label>
</div>
<div id=pmenu_ta_wr><textarea id=pmenu_ta wrap=off></textarea></div>
</div>
<!--Windows-->
<div id=wins hidden>
<div class="row">
<div class="col col-xs-5">
<input id=wins_fw type=checkbox>
<label for=wins_fw><u>F</u>loating windows</label>
</div>
</div>
<div class="row">
<div class="col col-xs-5">
<input id=wins_fs type=checkbox>
<label for=wins_fs><u>S</u>ingle floating window</label>
</div>
</div>
<div class="row">
<div class="col col-xs-12">
<input id=wins_mm type=checkbox>
<label for=wins_mm><u>R</u>emember previous window position</label>
</div>
</div>
<div class="row">
<div class="col col-xs-2"><label for=wins_sw>Size <u>w</u>idth:</label></div>
<div class="col col-xs-1"><input id=wins_sw size=4></div>
<div class="col col-xs-1"><label for=wins_sh><u>h</u>eight:</label></div>
<div class="col col-xs-1"><input id=wins_sh size=4></div>
</div>
<div class="row">
<div class="col col-xs-2"><label for=wins_px>Posn <u>x</u>:</label></div>
<div class="col col-xs-1"><input id=wins_px size=4></div>
<div class="col col-xs-1"><label for=wins_py><u>y</u>:</label></div>
<div class="col col-xs-1"><input id=wins_py size=4></div>
</div>
<div class="row">
<div class="col col-xs-2"><label for=wins_ox>Offset <u>x</u>:</label></div>
<div class="col col-xs-1"><input id=wins_ox size=4></div>
<div class="col col-xs-1"><label for=wins_oy><u>y</u>:</label></div>
<div class="col col-xs-1"><input id=wins_oy size=4></div>
</div>
</div>
</div>
<div class=dlg_btns>
<button id=prf_dlg_ok><u>O</u>K</button>
<button id=prf_dlg_apply><u>A</u>pply</button>
<button id=prf_dlg_cancel><u>C</u>ancel</button>
</div>
</div>
<!-- need to force loading the apl font for the monaco editor to be able to detect character widths on load -->
<span id="apl_font" style="font-family: apl;">RIDE</span>
<script>
// Monaco uses a custom amd loader that over-rides node's require.
// Keep a reference to node's require so we can restore it after executing the amd loader file.
if(typeof require !== 'undefined') { var nodeRequire = require; delete require; }
if(typeof module !== 'undefined') { var mod = module; delete module; }
if(typeof exports !== 'undefined') { var exp = exports; delete exports; }
</script>
<!--libs-->
<script src=node_modules/jquery/dist/jquery.min.js ></script>
<script src=node_modules/toastr/build/toastr.min.js ></script>
<script src=lib/punycode.min.js ></script>
<script src=lib/jquery-ui.min.js ></script>
<script src=lib/jquery.bind-first-0.2.3.min.js ></script>
<script src=lib/jquery.ba-throttle-debounce.min.js ></script>
<!-- <script src=node_modules/golden-layout/dist/goldenlayout.min.js ></script> -->
<!-- use local lib which is generated by the fork on https://github.com/OptimaSystems/golden-layout -->
<script src=lib/goldenlayout.min.js ></script>
<script>
// Restore module
if(typeof nodeRequire !== 'undefined') { require = nodeRequire; }
if(typeof mod !== 'undefined') { module = mod; delete mod; }
if(typeof exp !== 'undefined') { exports = exp; delete exp; }
</script>
<script src="node_modules/monaco-editor/min/vs/loader.js"></script>
<script>
// Save Monaco's amd require and restore Node's require
var amdRequire = require;
if(typeof nodeRequire !== 'undefined') require = nodeRequire;
</script>
<script>
let dir = typeof __dirname !== 'undefined' ? `${__dirname}/` : '';
amdRequire.config({
baseUrl: dir + 'node_modules/monaco-editor/min'
});
self.module = undefined;
self.process && (self.process.browser = true);
</script>
<!--RIDE UI-->
<script src=_/version.js ></script>
<script src=src/pre_init.js ></script>
<script src=src/syntax_info.js></script>
<script src=src/bonsai.js ></script>
<script src=src/jq_list.js ></script>
<script src=src/jq_splitter.js></script>
<script src=src/lb.js ></script>
<script src=src/kbds.js ></script>
<script src=src/hlp.js ></script>
<script src=src/util.js ></script>
<script src=src/abt.js ></script>
<script src=src/prf.js ></script>
<script src=src/cmds.js ></script>
<script src=src/menu.js ></script>
<script src=src/wse.js ></script>
<script src=src/dbg.js ></script>
<script src=src/listview.js ></script>
<script src=src/demo.js ></script>
<script src=src/ac.js ></script>
<script src=src/prf_ui.js ></script>
<script src=src/prf_lyt.js ></script>
<script src=src/prf_shc.js ></script>
<script src=src/prf_resp.js ></script>
<script src=src/prf_code.js ></script>
<script src=src/prf_col.js ></script>
<script src=src/prf_title.js ></script>
<script src=src/prf_menu.js ></script>
<script src=src/prf_wins.js ></script>
<script src=src/ed.js ></script>
<script src=src/se.js ></script>
<script src=src/bq.js ></script>
<script src=src/km.js ></script>
<script src=src/ide.js ></script>
<script src=src/ipc.js ></script>
<script src=src/mon_apl.js ></script>
<script src=src/init.js ></script>
</body>
</html>