-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGcodeClassifierFormat.cs
More file actions
1008 lines (929 loc) · 39.2 KB
/
GcodeClassifierFormat.cs
File metadata and controls
1008 lines (929 loc) · 39.2 KB
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
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
using System.ComponentModel.Composition;
using System.Windows.Media;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Utilities;
namespace GcodeLanguage
{
#region Keyword Undefined
/// <summary>
/// Defines the editor format for the G-Code item name. Text is NOT color, rather using default.
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_Undefined")]
[Name("Gcode_Undefined")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_Undefined : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode Undefined classification type
/// </summary>
public Gcode_Undefined()
{
DisplayName = "Gcode - Undefined"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
}
}
#endregion
#region Keyword A
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_A")]
[Name("Gcode_A")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_A : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode A classification type
/// </summary>
public Gcode_A()
{
DisplayName = "Gcode - A"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword B
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_B")]
[Name("Gcode_B")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_B : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode B classification type
/// </summary>
public Gcode_B()
{
DisplayName = "Gcode - B"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword C
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_C")]
[Name("Gcode_C")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_C : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode C classification type
/// </summary>
public Gcode_C()
{
DisplayName = "Gcode - C"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword D
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_D")]
[Name("Gcode_D")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_D : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode D classification type
/// </summary>
public Gcode_D()
{
DisplayName = "Gcode - D"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword E
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_E")]
[Name("Gcode_E")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_E : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode E classification type
/// </summary>
public Gcode_E()
{
DisplayName = "Gcode - E"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword F
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_F")]
[Name("Gcode_F")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_F : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode F classification type
/// </summary>
public Gcode_F()
{
DisplayName = "Gcode - F"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword G
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_G")]
[Name("Gcode_G")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_G : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode G classification type
/// </summary>
public Gcode_G()
{
DisplayName = "Gcode - G"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.Coral;
}
}
#endregion
#region Keyword H
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_H")]
[Name("Gcode_H")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_H : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode H classification type
/// </summary>
public Gcode_H()
{
DisplayName = "Gcode - H"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword I
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_I")]
[Name("Gcode_I")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_I : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode I classification type
/// </summary>
public Gcode_I()
{
DisplayName = "Gcode - I"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword J
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_J")]
[Name("Gcode_J")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_J : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode J classification type
/// </summary>
public Gcode_J()
{
DisplayName = "Gcode - J"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword K
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_K")]
[Name("Gcode_K")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_K : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode K classification type
/// </summary>
public Gcode_K()
{
DisplayName = "Gcode - K"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword L
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_L")]
[Name("Gcode_L")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_L : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode L classification type
/// </summary>
public Gcode_L()
{
DisplayName = "Gcode - L"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword M
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_M")]
[Name("Gcode_M")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_M : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode M classification type
/// </summary>
public Gcode_M()
{
DisplayName = "Gcode - M"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.Coral;
}
}
#endregion
#region Keyword N
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_N")]
[Name("Gcode_N")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_N : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode N classification type
/// </summary>
public Gcode_N()
{
DisplayName = "Gcode - N"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword O
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_O")]
[Name("Gcode_O")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_O : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode O classification type
/// </summary>
public Gcode_O()
{
DisplayName = "Gcode - O"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword P
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_P")]
[Name("Gcode_P")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_P : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode P classification type
/// </summary>
public Gcode_P()
{
DisplayName = "Gcode - P"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword Q
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_Q")]
[Name("Gcode_Q")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_Q : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode Q classification type
/// </summary>
public Gcode_Q()
{
DisplayName = "Gcode - Q"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword R
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_R")]
[Name("Gcode_R")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_R : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode R classification type
/// </summary>
public Gcode_R()
{
DisplayName = "Gcode - R"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword S
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_S")]
[Name("Gcode_S")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_S : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode S classification type
/// </summary>
public Gcode_S()
{
DisplayName = "Gcode - S"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword T
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_T")]
[Name("Gcode_T")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_T : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode T classification type
/// </summary>
public Gcode_T()
{
DisplayName = "Gcode - T"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword U
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_U")]
[Name("Gcode_U")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_U : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode U classification type
/// </summary>
public Gcode_U()
{
DisplayName = "Gcode - U"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword V
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_V")]
[Name("Gcode_V")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_V : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode V classification type
/// </summary>
public Gcode_V()
{
DisplayName = "Gcode - V"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword W
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_W")]
[Name("Gcode_W")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_W : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode W classification type
/// </summary>
public Gcode_W()
{
DisplayName = "Gcode - W"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.BlueViolet;
}
}
#endregion
#region Keyword X
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_X")]
[Name("Gcode_X")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_X : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode X classification type
/// </summary>
public Gcode_X()
{
DisplayName = "Gcode - X"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.Tomato;
BackgroundColor = Colors.MidnightBlue;
}
}
#endregion
#region Keyword Y
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_Y")]
[Name("Gcode_Y")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_Y : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode Y classification type
/// </summary>
public Gcode_Y()
{
DisplayName = "Gcode - Y"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.LawnGreen;
BackgroundColor = Colors.MidnightBlue;
}
}
#endregion
#region Keyword Z
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_Z")]
[Name("Gcode_Z")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_Z : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode Z classification type
/// </summary>
public Gcode_Z()
{
DisplayName = "Gcode - Z"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.Cyan;
BackgroundColor = Colors.MidnightBlue;
}
}
#endregion
#region Keyword minus
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_minus")]
[Name("Gcode_minus")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_minus : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode minus classification type
/// </summary>
public Gcode_minus()
{
DisplayName = "Gcode - minus"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.Cornsilk;
}
}
#endregion
#region Keyword 0
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_0")]
[Name("Gcode_0")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_0 : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode 0 classification type
/// </summary>
public Gcode_0()
{
DisplayName = "Gcode - 0"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.Cornsilk;
}
}
#endregion
#region Keyword 1
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_1")]
[Name("Gcode_1")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_1 : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode 1 classification type
/// </summary>
public Gcode_1()
{
DisplayName = "Gcode - 1"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.Cornsilk;
}
}
#endregion
#region Keyword 2
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_2")]
[Name("Gcode_2")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_2 : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode 2 classification type
/// </summary>
public Gcode_2()
{
DisplayName = "Gcode - 2"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.Cornsilk;
}
}
#endregion
#region Keyword 3
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_3")]
[Name("Gcode_3")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_3 : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode 3 classification type
/// </summary>
public Gcode_3()
{
DisplayName = "Gcode - 3"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.Cornsilk;
}
}
#endregion
#region Keyword 4
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_4")]
[Name("Gcode_4")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_4 : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode 4 classification type
/// </summary>
public Gcode_4()
{
DisplayName = "Gcode - 4"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.Cornsilk;
}
}
#endregion
#region Keyword 5
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_5")]
[Name("Gcode_5")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_5 : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode 5 classification type
/// </summary>
public Gcode_5()
{
DisplayName = "Gcode - 5"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.Cornsilk;
}
}
#endregion
#region Keyword 6
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_6")]
[Name("Gcode_6")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_6 : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode 6 classification type
/// </summary>
public Gcode_6()
{
DisplayName = "Gcode - 6"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.Cornsilk;
}
}
#endregion
#region Keyword 7
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_7")]
[Name("Gcode_7")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_7 : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode 7 classification type
/// </summary>
public Gcode_7()
{
DisplayName = "Gcode - 7"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.Cornsilk;
}
}
#endregion
#region Keyword 8
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_8")]
[Name("Gcode_8")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_8 : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode 8 classification type
/// </summary>
public Gcode_8()
{
DisplayName = "Gcode - 8"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.Cornsilk;
}
}
#endregion
#region Keyword 9
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_9")]
[Name("Gcode_9")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_9 : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode 9 classification type
/// </summary>
public Gcode_9()
{
DisplayName = "Gcode - 9"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.Cornsilk;
}
}
#endregion
#region Comment
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_Comment")]
[Name("Gcode_Comment")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_Comment : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode 9 classification type
/// </summary>
public Gcode_Comment()
{
DisplayName = "Gcode - Comment"; //human readable version of the name (in Tools>Options>Environment>Fonts and Colors>Text Editor
ForegroundColor = Colors.Green;
}
}
#endregion
#region ocode
/// <summary>
/// Defines the editor format for the G-Code item name. Text is colored
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = "Gcode_ocode")]
[Name("Gcode_ocode")]
//this should be visible to the end user
[UserVisible(true)] // sets this editor format definition visible for the user (in Tools>Options>Environment>Fonts and Colors>Text Editor
//set the priority to be after the default classifiers
[Order(After = Priority.Default)]
internal sealed class Gcode_ocode : ClassificationFormatDefinition
{
/// <summary>
/// Defines the visual format for the gcode 9 classification type
/// </summary>