2 $BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
24 $this->colours =
array(
"blue",
"purple",
"gray",
"brown",
"blue");
25 $this->quotecolour =
"blue";
26 $this->blockcommentcolour =
"green";
27 $this->linecommentcolour =
"green";
31 $this->indent =
array(
"DO\"\"REPEAT\"\"THEN");
32 $this->unindent =
array(
"ELSE",
"END");
36 $this->stringchars =
array();
37 $this->delimiters =
array();
42 $this->linecommenton =
array(
"!");
43 $this->blockcommenton =
array(
"{");
44 $this->blockcommentoff =
array(
"}");
48 $this->keywords =
array(
104 "curvecenters" =>
"2",
111 "dimminustol" =>
"2",
114 "domplustolang" =>
"2",
115 "dimimustolang" =>
"2",
117 "dimtolerance" =>
"2",
120 "dimcontrolpts" =>
"2",
121 "dimtxtcolor" =>
"2",
123 "dimticcolor" =>
"2",
124 "distancesync" =>
"2",
167 "layoutextents" =>
"2",
168 "layerswitch" =>
"2",
204 "pltpenspeed" =>
"2",
205 "pltpenwidth" =>
"2",
208 "pltrotcentx" =>
"2",
209 "pltrotcenty" =>
"2",
210 "plotscalenum" =>
"2",
234 "snaplyrsearch" =>
"2",
235 "snapsymfast" =>
"2",
257 "wallhiliteout" =>
"2",
258 "wallhilitecolor" =>
"2",
259 "wallhilitewidth" =>
"2",
272 "arc_to_bulge" =>
"3",
274 "angnormalize" =>
"3",
279 "atr_add2ent" =>
"3",
280 "atr_add2lyr" =>
"3",
281 "atr_add2sym" =>
"3",
282 "atr_add2sys" =>
"3",
287 "atr_entfind" =>
"3",
288 "atr_entfirst" =>
"3",
291 "atr_lyrFind" =>
"3",
292 "atr_lyrfirst" =>
"3",
294 "atr_symfind" =>
"3",
295 "atr_symfirst" =>
"3",
296 "atr_sysfind" =>
"3",
297 "atr_sysfirst" =>
"3",
306 "bulge_to_arc" =>
"3",
307 "cart_cylind" =>
"3",
308 "cart_sphere" =>
"3",
337 "cylind_cart" =>
"3",
346 "dis_from_arc" =>
"3",
347 "dis_from_line" =>
"3",
348 "disfrompolyvert" =>
"3",
349 "dis_from_seg" =>
"3",
354 "dragBoxMove" =>
"3",
359 "dragModeMove" =>
"3",
360 "dragModeRot" =>
"3",
368 "ent_draw_2d" =>
"3",
369 "ent_draw_dl" =>
"3",
370 "ent_drawmode" =>
"3",
371 "ent_enlarge" =>
"3",
372 "ent_explode" =>
"3",
382 "ent_setunused" =>
"3",
386 "ent2polyvert" =>
"3",
399 "file_pattern" =>
"3",
422 "getcurrfont" =>
"3",
423 "getCurrInMat" =>
"3",
436 "getpolyline" =>
"3",
452 "intr_arcarc" =>
"3",
453 "intr_crcarc" =>
"3",
454 "intr_crccrc" =>
"3",
455 "intr_linarc" =>
"3",
456 "intr_lincrc" =>
"3",
457 "intr_linlin" =>
"3",
464 "keyForceExit" =>
"3",
488 "lyr_viewfile" =>
"3",
492 "menu1lntrim" =>
"3",
493 "menu2lntrim" =>
"3",
497 "menuArccentang" =>
"3",
498 "menuArccentarc" =>
"3",
499 "menuArccentchrd" =>
"3",
501 "menuArraycirc" =>
"3",
502 "menuArrayrect" =>
"3",
504 "menuChamfer" =>
"3",
506 "menuChange3d" =>
"3",
507 "menuCleanup" =>
"3",
508 "menuClipCube" =>
"3",
510 "menuControls" =>
"3",
517 "menuCutwall" =>
"3",
518 "menuCylnHori" =>
"3",
519 "menuCylnVert" =>
"3",
520 "menuDataCAD3" =>
"3",
521 "menuDirectry" =>
"3",
522 "menuDisplay" =>
"3",
524 "menuDmension" =>
"3",
526 "menuDoorswng" =>
"3",
528 "menuEditPlane" =>
"3",
529 "menuElevation" =>
"3",
530 "menuEllipse" =>
"3",
531 "menuEnlarge" =>
"3",
532 "menuEnlarge3d" =>
"3",
533 "menuEntity3d" =>
"3",
535 "menuErase3d" =>
"3",
536 "menuExplode3d" =>
"3",
538 "menuFillets" =>
"3",
539 "menuFreehand" =>
"3",
540 "menuGoodies" =>
"3",
541 "menuGotoview" =>
"3",
542 "menuGotoView3d" =>
"3",
546 "menuIdentify" =>
"3",
547 "menuIntrsect" =>
"3",
549 "menuLinetype" =>
"3",
550 "menuLinkline" =>
"3",
551 "menuLintsct" =>
"3",
553 "menuMeasures" =>
"3",
554 "menuMeshSurf" =>
"3",
558 "menuMovedrag" =>
"3",
559 "menuObjsnap" =>
"3",
560 "menuPartial" =>
"3",
561 "menuPlaneSnap" =>
"3",
562 "menuPlotter" =>
"3",
563 "menuPolygon" =>
"3",
564 "menuPolygons" =>
"3",
565 "menuPolyHori" =>
"3",
566 "menuPolyIncl" =>
"3",
567 "menuPolyRect" =>
"3",
568 "menuPolyVert" =>
"3",
569 "menuRevSurf" =>
"3",
571 "menuRotate3d" =>
"3",
572 "menuSaveImage" =>
"3",
573 "menuSetObliq" =>
"3",
574 "menuSetPersp" =>
"3",
575 "menuSettings" =>
"3",
576 "menuSettings3d" =>
"3",
578 "menuSlabHori" =>
"3",
579 "menuSlabIncl" =>
"3",
580 "menuSlabRect" =>
"3",
581 "menuSlabVert" =>
"3",
583 "menuStretch" =>
"3",
584 "menuStretch3d" =>
"3",
585 "menuTangents" =>
"3",
586 "menuTemplate" =>
"3",
588 "menuTintsct" =>
"3",
590 "menuToscale" =>
"3",
591 "menuTruncCone" =>
"3",
594 "menuWalkThru" =>
"3",
595 "menuWeldline" =>
"3",
596 "menuWindowin" =>
"3",
597 "menuWindows" =>
"3",
602 "mode_enttype" =>
"3",
605 "mode_ignore" =>
"3",
622 "pline_centroid" =>
"3",
623 "pline_perim" =>
"3",
627 "pnt_in_poly" =>
"3",
630 "polyvert2ent" =>
"3",
631 "polyvert_add" =>
"3",
632 "polyvert_copy" =>
"3",
633 "polyvert_count" =>
"3",
634 "polyvert_del" =>
"3",
635 "polyvert_get" =>
"3",
636 "polyvert_init" =>
"3",
637 "polyvert_ins" =>
"3",
638 "polyvert_update" =>
"3",
643 "pntscolinear" =>
"3",
656 "setcurrfont" =>
"3",
671 "sphere_cart" =>
"3",
695 "sym_clearref" =>
"3",
701 "sym_get_atr" =>
"3",
716 "view_calcoblq" =>
"3",
717 "view_calcorth" =>
"3",
718 "view_calcpara" =>
"3",
719 "view_calcpers" =>
"3",
720 "view_checkmode" =>
"3",
721 "view_currmode" =>
"3",
725 "view_getcurr" =>
"3",
728 "view_setcurr" =>
"3",
729 "view_setmode" =>
"3",
730 "view_update" =>
"3",
733 "void_del_all" =>
"3",
735 "void_get_di" =>
"3",
737 "void_update" =>
"3",
750 "atr_name_len" =>
"4",
773 "drmode_black" =>
"4",
774 "drmode_flip" =>
"4",
775 "drmode_white" =>
"4",
800 "fl_access_denice" =>
"4",
801 "fl_invalid_access_code" =>
"4",
802 "fl_invalid_function" =>
"4",
803 "fl_invalid_handle" =>
"4",
804 "fl_no_handles_left" =>
"4",
805 "fl_not_found" =>
"4",
807 "fl_path_not_found" =>
"4",
809 "fmode_read_write" =>
"4",
810 "fmode_write" =>
"4",
822 "htype_normal" =>
"4",
823 "htype_outer" =>
"4",
824 "htype_ignore" =>
"4",
828 "ltype_solid" =>
"4",
829 "ltype_dotted" =>
"4",
830 "ltype_dashed" =>
"4",
831 "ltype_dotdash" =>
"4",
834 "osnap_center" =>
"4",
835 "osnap_endpoint" =>
"4",
836 "osnap_intsect" =>
"4",
837 "osnap_midpoint" =>
"4",
838 "osnap_nearest" =>
"4",
839 "osnap_npoint" =>
"4",
842 "osnap_quick" =>
"4",
965 "dimarration" =>
"5",
966 "dimtxtaspect" =>
"5",
969 "dimtxtslant" =>
"5",
973 "dimtxtweight" =>
"5",
983 "dimnolftmrk" =>
"5",
984 "dimnorhtmrk" =>
"5",
985 "dimticweight" =>
"5",
1062 "plyfrstvoid" =>
"5",
1063 "plylastvoid" =>
"5",
1095 "slbfrstvoid" =>
"5",
1096 "slblastvoid" =>
"5",
1103 "scanlinetype" =>
"5",
1145 $this->linkscripts =
array(
1150 "5" =>
"donothing");
Create styles array
The data for the language used.