home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Software / Utils / Universal Viewer / UniversalViewer.exe / Plugins / Syn2 / HL / PAXPascal.lcf < prev    next >
Encoding:
Text File  |  2007-12-12  |  24.0 KB  |  1,054 lines

  1. object SyntAnal24: TLibSyntAnalyzer
  2.   Formats = <
  3.     item
  4.       DisplayName = 'Default'
  5.       Font.Charset = DEFAULT_CHARSET
  6.       Font.Color = clWindowText
  7.       Font.Height = -13
  8.       Font.Name = 'Courier New'
  9.       Font.Style = []
  10.       FormatType = ftCustomFont
  11.     end
  12.     item
  13.       DisplayName = 'Symbol'
  14.       Font.Charset = DEFAULT_CHARSET
  15.       Font.Color = clMaroon
  16.       Font.Height = -13
  17.       Font.Name = 'Courier New'
  18.       Font.Style = [fsBold]
  19.     end
  20.     item
  21.       DisplayName = 'Number'
  22.       Font.Charset = DEFAULT_CHARSET
  23.       Font.Color = clNavy
  24.       Font.Height = -13
  25.       Font.Name = 'Courier New'
  26.       Font.Style = [fsBold]
  27.     end
  28.     item
  29.       DisplayName = 'String'
  30.       Font.Charset = DEFAULT_CHARSET
  31.       Font.Color = clBlue
  32.       Font.Height = -13
  33.       Font.Name = 'Courier New'
  34.       Font.Style = []
  35.     end
  36.     item
  37.       DisplayName = 'Identifier'
  38.       Font.Charset = DEFAULT_CHARSET
  39.       Font.Color = clWindowText
  40.       Font.Height = -13
  41.       Font.Name = 'Courier New'
  42.       Font.Style = []
  43.     end
  44.     item
  45.       DisplayName = 'Reserved word'
  46.       Font.Charset = DEFAULT_CHARSET
  47.       Font.Color = clWindowText
  48.       Font.Height = -13
  49.       Font.Name = 'Courier New'
  50.       Font.Style = [fsBold]
  51.     end
  52.     item
  53.       DisplayName = 'Comment'
  54.       Font.Charset = DEFAULT_CHARSET
  55.       Font.Color = clRed
  56.       Font.Height = -13
  57.       Font.Name = 'Courier New'
  58.       Font.Style = [fsBold]
  59.     end
  60.     item
  61.       DisplayName = 'Preprocessor'
  62.       Font.Charset = DEFAULT_CHARSET
  63.       Font.Color = clGreen
  64.       Font.Height = -13
  65.       Font.Name = 'Courier New'
  66.       Font.Style = [fsItalic]
  67.     end
  68.     item
  69.       DisplayName = 'Marked block'
  70.       Font.Charset = DEFAULT_CHARSET
  71.       Font.Color = clHighlightText
  72.       Font.Height = -13
  73.       Font.Name = 'Courier New'
  74.       Font.Style = []
  75.       BgColor = clHighlight
  76.       FormatType = ftColor
  77.     end
  78.     item
  79.       DisplayName = 'Interface section'
  80.       Font.Charset = DEFAULT_CHARSET
  81.       Font.Color = clHighlight
  82.       Font.Height = -13
  83.       Font.Name = 'Courier New'
  84.       Font.Style = []
  85.       BgColor = 13303807
  86.       FormatType = ftBackGround
  87.     end
  88.     item
  89.       DisplayName = 'Implemenation Section'
  90.       Font.Charset = DEFAULT_CHARSET
  91.       Font.Color = clWindowText
  92.       Font.Height = -13
  93.       Font.Name = 'Courier New'
  94.       Font.Style = []
  95.       BgColor = 14811095
  96.       FormatType = ftBackGround
  97.     end
  98.     item
  99.       DisplayName = 'Function separator'
  100.       Font.Charset = DEFAULT_CHARSET
  101.       Font.Color = clWindowText
  102.       Font.Height = -13
  103.       Font.Name = 'Courier New'
  104.       Font.Style = []
  105.       BgColor = clLime
  106.       FormatType = ftBackGround
  107.     end
  108.     item
  109.       DisplayName = 'Current block'
  110.       Font.Charset = DEFAULT_CHARSET
  111.       Font.Color = clMaroon
  112.       Font.Height = -13
  113.       Font.Name = 'Courier New'
  114.       Font.Style = [fsBold]
  115.       BgColor = 65408
  116.       FormatType = ftColor
  117.       BorderTypeLeft = blSolid
  118.       BorderColorLeft = clSilver
  119.       BorderTypeTop = blSolid
  120.       BorderColorTop = clSilver
  121.       BorderTypeRight = blSolid
  122.       BorderColorRight = clSilver
  123.       BorderTypeBottom = blSolid
  124.       BorderColorBottom = clSilver
  125.     end
  126.     item
  127.       DisplayName = 'Current function'
  128.       Font.Charset = DEFAULT_CHARSET
  129.       Font.Color = clMaroon
  130.       Font.Height = -13
  131.       Font.Name = 'Courier New'
  132.       Font.Style = []
  133.       BgColor = 15269886
  134.       FormatType = ftBackGround
  135.       MultiLineBorder = True
  136.     end
  137.     item
  138.       DisplayName = 'Current Line'
  139.       Font.Charset = DEFAULT_CHARSET
  140.       Font.Color = clWindowText
  141.       Font.Height = -13
  142.       Font.Name = 'Courier New'
  143.       Font.Style = []
  144.       BgColor = 16772341
  145.       FormatType = ftBackGround
  146.     end
  147.     item
  148.       DisplayName = 'Search Match'
  149.       Font.Charset = DEFAULT_CHARSET
  150.       Font.Color = clWindow
  151.       Font.Height = -16
  152.       Font.Name = 'Courier New'
  153.       Font.Style = [fsBold]
  154.       BgColor = clBlack
  155.       FormatType = ftCustomFont
  156.     end
  157.     item
  158.       DisplayName = 'Base types'
  159.       Font.Charset = DEFAULT_CHARSET
  160.       Font.Color = clNavy
  161.       Font.Height = -13
  162.       Font.Name = 'Courier New'
  163.       Font.Style = []
  164.     end>
  165.   TokenRules = <
  166.     item
  167.       DisplayName = 'Any name'
  168.       StyleName = 'Identifier'
  169.       TokenType = 2
  170.       Expression = '[a-z_]\w*'
  171.       ColumnFrom = 0
  172.       ColumnTo = 0
  173.     end
  174.     item
  175.       DisplayName = 'String'
  176.       StyleName = 'String'
  177.       TokenType = 4
  178.       Expression = #39'.*?('#39'|$)'#13#10
  179.       ColumnFrom = 0
  180.       ColumnTo = 0
  181.     end
  182.     item
  183.       DisplayName = 'Float'
  184.       StyleName = 'Number'
  185.       TokenType = 6
  186.       Expression = 
  187.         '#with exp. dot is optional '#13#10'\d+ \.? \d+ e [\+\-]? \d+ |'#13#10'#witho' +
  188.         'ut exp. dot is required'#13#10'\d+ \. \d+'
  189.       ColumnFrom = 0
  190.       ColumnTo = 0
  191.     end
  192.     item
  193.       DisplayName = 'Integer'
  194.       StyleName = 'Number'
  195.       TokenType = 5
  196.       Expression = '\d+'
  197.       ColumnFrom = 0
  198.       ColumnTo = 0
  199.     end
  200.     item
  201.       DisplayName = 'Preprocessor 1'
  202.       StyleName = 'Preprocessor'
  203.       TokenType = 9
  204.       Expression = '\{\$.*?\}'
  205.       ColumnFrom = 0
  206.       ColumnTo = 0
  207.     end
  208.     item
  209.       DisplayName = 'Preprocessor 2'
  210.       StyleName = 'Preprocessor'
  211.       TokenType = 9
  212.       Expression = '\(\*\$.*?\*\)'
  213.       ColumnFrom = 0
  214.       ColumnTo = 0
  215.     end
  216.     item
  217.       DisplayName = 'Comment 1'
  218.       StyleName = 'Comment'
  219.       TokenType = 1
  220.       Expression = '(?s)\(\*.*?(\*\)|\Z)'
  221.       ColumnFrom = 0
  222.       ColumnTo = 0
  223.     end
  224.     item
  225.       DisplayName = 'Comment 2'
  226.       StyleName = 'Comment'
  227.       TokenType = 1
  228.       Expression = '(?s)\{.*?(\}|\Z)'#13#10
  229.       ColumnFrom = 0
  230.       ColumnTo = 0
  231.     end
  232.     item
  233.       DisplayName = 'Comment 3'
  234.       StyleName = 'Comment'
  235.       TokenType = 1
  236.       Expression = '//.*'
  237.       ColumnFrom = 0
  238.       ColumnTo = 0
  239.     end
  240.     item
  241.       DisplayName = 'HEX'
  242.       StyleName = 'Number'
  243.       TokenType = 7
  244.       Expression = '\$[a-f\d]+'
  245.       ColumnFrom = 0
  246.       ColumnTo = 0
  247.     end
  248.     item
  249.       DisplayName = 'Symbol'
  250.       StyleName = 'Symbol'
  251.       TokenType = 3
  252.       Expression = '[/\*,\.;:\(\)=<>\+\-\[\]]'
  253.       ColumnFrom = 0
  254.       ColumnTo = 0
  255.     end
  256.     item
  257.       DisplayName = 'Char'
  258.       StyleName = 'String'
  259.       TokenType = 8
  260.       Expression = '\#(\d+|\$[\da-f]+)'
  261.       ColumnFrom = 0
  262.       ColumnTo = 0
  263.     end>
  264.   BlockRules = <
  265.     item
  266.       DisplayName = 'Key words'
  267.       StyleName = 'Reserved word'
  268.       BlockType = btTagDetect
  269.       ConditionList = <
  270.         item
  271.           TagList.Strings = (
  272.             'and'
  273.             'array'
  274.             'begin'
  275.             'break'
  276.             'case'
  277.             'class'
  278.             'const'
  279.             'constructor'
  280.             'continue'
  281.             'do'
  282.             'downto'
  283.             'else'
  284.             'end'
  285.             'enum'
  286.             'except'
  287.             'exit'
  288.             'finally'
  289.             'for'
  290.             'forward'
  291.             'function'
  292.             'goto'
  293.             'halt'
  294.             'if'
  295.             'inherited'
  296.             'label'
  297.             'mod'
  298.             'namespace'
  299.             'not'
  300.             'of'
  301.             'on'
  302.             'or'
  303.             'print'
  304.             'private'
  305.             'procedure'
  306.             'program'
  307.             'property'
  308.             'public'
  309.             'raise'
  310.             'record'
  311.             'repeat'
  312.             'shl'
  313.             'shr'
  314.             'string'
  315.             'then'
  316.             'to'
  317.             'try'
  318.             'type'
  319.             'until'
  320.             'uses'
  321.             'var'
  322.             'while'
  323.             'with'
  324.             'xor')
  325.           TokenTypes = 4
  326.           IgnoreCase = True
  327.         end>
  328.       HighlightPos = cpAny
  329.       IgnoreAsParent = False
  330.     end
  331.     item
  332.       DisplayName = 'Base types'
  333.       StyleName = 'Base types'
  334.       BlockType = btTagDetect
  335.       ConditionList = <
  336.         item
  337.           TagList.Strings = (
  338.             'Boolean'
  339.             'Byte'
  340.             'Cardinal'
  341.             'Double'
  342.             'Int64'
  343.             'Integer'
  344.             'ShortInt'
  345.             'SmallInt'
  346.             'String'
  347.             'Variant'
  348.             'Word')
  349.           TokenTypes = 4
  350.           IgnoreCase = True
  351.         end>
  352.       HighlightPos = cpAny
  353.       IgnoreAsParent = False
  354.     end
  355.     item
  356.       DisplayName = 'program'
  357.       ConditionList = <
  358.         item
  359.           TagList.Strings = (
  360.             'program'
  361.             'unit')
  362.           TokenTypes = 4
  363.           IgnoreCase = True
  364.         end>
  365.       IdentIndex = -1
  366.       BlockEnd = 'Unit end'
  367.       EndOfTextClose = True
  368.       NameFmt = '%s0 %s-1'
  369.       HighlightPos = cpAny
  370.       CollapseFmt = '%s0 %s-1'
  371.       IgnoreAsParent = False
  372.     end
  373.     item
  374.       DisplayName = 'begin'
  375.       StyleName = 'Current block'
  376.       ConditionList = <
  377.         item
  378.           TagList.Strings = (
  379.             'begin'
  380.             'case'
  381.             'try')
  382.           TokenTypes = 4
  383.         end>
  384.       BlockEnd = 'End'
  385.       DisplayInTree = False
  386.       DynHighlight = dhBound
  387.       HighlightPos = cpRange
  388.       DynSelectMin = True
  389.       DrawStaple = True
  390.       CollapseFmt = '%s0 ...'
  391.       IgnoreAsParent = False
  392.     end
  393.     item
  394.       DisplayName = 'End'
  395.       BlockType = btRangeEnd
  396.       ConditionList = <
  397.         item
  398.           TagList.Strings = (
  399.             'end')
  400.           TokenTypes = 4
  401.           IgnoreCase = True
  402.         end>
  403.       HighlightPos = cpAny
  404.       IgnoreAsParent = False
  405.     end
  406.     item
  407.       DisplayName = '('
  408.       StyleName = 'Current block'
  409.       ConditionList = <
  410.         item
  411.           TagList.Strings = (
  412.             '(')
  413.           TokenTypes = 8
  414.         end>
  415.       BlockEnd = ')'
  416.       NotCollapsed = True
  417.       DisplayInTree = False
  418.       DynHighlight = dhBound
  419.       HighlightPos = cpBoundTagBegin
  420.       DynSelectMin = True
  421.       IgnoreAsParent = False
  422.     end
  423.     item
  424.       DisplayName = ')'
  425.       BlockType = btRangeEnd
  426.       ConditionList = <
  427.         item
  428.           TagList.Strings = (
  429.             ')')
  430.           TokenTypes = 8
  431.         end>
  432.       HighlightPos = cpAny
  433.       IgnoreAsParent = False
  434.     end
  435.     item
  436.       DisplayName = '['
  437.       StyleName = 'Current block'
  438.       ConditionList = <
  439.         item
  440.           TagList.Strings = (
  441.             '[')
  442.           TokenTypes = 8
  443.         end>
  444.       BlockEnd = ']'
  445.       NotCollapsed = True
  446.       DisplayInTree = False
  447.       DynHighlight = dhBound
  448.       HighlightPos = cpBoundTagBegin
  449.       DynSelectMin = True
  450.       IgnoreAsParent = False
  451.     end
  452.     item
  453.       DisplayName = ']'
  454.       BlockType = btRangeEnd
  455.       ConditionList = <
  456.         item
  457.           TagList.Strings = (
  458.             ']')
  459.           TokenTypes = 8
  460.         end>
  461.       HighlightPos = cpAny
  462.       IgnoreAsParent = False
  463.     end
  464.     item
  465.       DisplayName = 'class'
  466.       ConditionList = <
  467.         item
  468.           TagList.Strings = (
  469.             ';')
  470.           CondType = tcNotEqual
  471.           TokenTypes = 8
  472.         end
  473.         item
  474.           TagList.Strings = (
  475.             'class'
  476.             'dispinterface'
  477.             'interface'
  478.             'record')
  479.           TokenTypes = 4
  480.           IgnoreCase = True
  481.         end
  482.         item
  483.           TagList.Strings = (
  484.             '=')
  485.           TokenTypes = 8
  486.         end
  487.         item
  488.           TokenTypes = 4
  489.         end>
  490.       IdentIndex = 3
  491.       BlockOffset = 3
  492.       BlockEnd = 'End'
  493.       NameFmt = '%s1 %s3'
  494.       HighlightPos = cpAny
  495.       DrawStaple = True
  496.       CollapseFmt = '%s1 %s3'
  497.       IgnoreAsParent = False
  498.     end
  499.     item
  500.       DisplayName = 'Single function'
  501.       StyleName = 'Current function'
  502.       BlockName = 'class'
  503.       NotParent = True
  504.       ConditionList = <
  505.         item
  506.           TagList.Strings = (
  507.             '.')
  508.           CondType = tcNotEqual
  509.           TokenTypes = 8
  510.         end
  511.         item
  512.           TokenTypes = 4
  513.         end
  514.         item
  515.           TagList.Strings = (
  516.             'function'
  517.             'procedure')
  518.           TokenTypes = 4
  519.           IgnoreCase = True
  520.         end>
  521.       IdentIndex = 1
  522.       BlockOffset = 2
  523.       BlockEnd = 'End of function'
  524.       Highlight = True
  525.       NameFmt = '%s2 %s1'
  526.       GroupFmt = 'Functions'
  527.       DynHighlight = dhRange
  528.       HighlightPos = cpRange
  529.       DrawStaple = True
  530.       CollapseFmt = '%s2 %s1'
  531.       IgnoreAsParent = False
  532.     end
  533.     item
  534.       DisplayName = 'End of function'
  535.       BlockName = 'Single function'
  536.       StrictParent = True
  537.       BlockType = btRangeEnd
  538.       ConditionList = <
  539.         item
  540.           TagList.Strings = (
  541.             ';')
  542.           TokenTypes = 8
  543.         end
  544.         item
  545.           TagList.Strings = (
  546.             'end')
  547.           TokenTypes = 4
  548.         end>
  549.       HighlightPos = cpAny
  550.       IgnoreAsParent = False
  551.     end
  552.     item
  553.       DisplayName = 'forward decl'
  554.       BlockType = btRangeEnd
  555.       ConditionList = <
  556.         item
  557.           TagList.Strings = (
  558.             'forward')
  559.           TokenTypes = 4
  560.           IgnoreCase = True
  561.         end>
  562.       BlockEnd = 'Single function'
  563.       HighlightPos = cpAny
  564.       IgnoreAsParent = False
  565.     end
  566.     item
  567.       DisplayName = 'function of class'
  568.       StyleName = 'Current function'
  569.       ConditionList = <
  570.         item
  571.           TagList.Strings = (
  572.             '.')
  573.           TokenTypes = 8
  574.         end
  575.         item
  576.           TokenTypes = 4
  577.         end
  578.         item
  579.           TagList.Strings = (
  580.             'constructor'
  581.             'destructor'
  582.             'function'
  583.             'procedure')
  584.           TokenTypes = 4
  585.           IgnoreCase = True
  586.         end>
  587.       IdentIndex = -1
  588.       BlockOffset = 2
  589.       BlockEnd = 'End of class function'
  590.       Highlight = True
  591.       NameFmt = '%s-1'
  592.       GroupFmt = 'class %s1'
  593.       DynHighlight = dhRange
  594.       HighlightPos = cpRange
  595.       DrawStaple = True
  596.       CollapseFmt = '%s2 %s1%s0%s-1'
  597.       IgnoreAsParent = False
  598.     end
  599.     item
  600.       DisplayName = 'End of class function'
  601.       BlockName = 'function of class'
  602.       StrictParent = True
  603.       BlockType = btRangeEnd
  604.       ConditionList = <
  605.         item
  606.           TagList.Strings = (
  607.             ';')
  608.           TokenTypes = 8
  609.         end
  610.         item
  611.           TagList.Strings = (
  612.             'end')
  613.           TokenTypes = 4
  614.           IgnoreCase = True
  615.         end>
  616.       HighlightPos = cpAny
  617.       IgnoreAsParent = False
  618.     end
  619.     item
  620.       DisplayName = 'Internal function'
  621.       BlockName = 'function of class'
  622.       StrictParent = True
  623.       ConditionList = <
  624.         item
  625.           TagList.Strings = (
  626.             'function'
  627.             'procedure')
  628.           TokenTypes = 4
  629.           IgnoreCase = True
  630.         end>
  631.       IdentIndex = -1
  632.       BlockEnd = 'End of internal'
  633.       HighlightPos = cpAny
  634.       CollapseFmt = '%s0 %s-1'
  635.       IgnoreAsParent = False
  636.     end
  637.     item
  638.       DisplayName = 'End of internal'
  639.       BlockName = 'Internal function'
  640.       StrictParent = True
  641.       BlockType = btRangeEnd
  642.       ConditionList = <
  643.         item
  644.           TagList.Strings = (
  645.             ';')
  646.           TokenTypes = 8
  647.         end
  648.         item
  649.           TagList.Strings = (
  650.             'end')
  651.           TokenTypes = 4
  652.         end>
  653.       HighlightPos = cpAny
  654.       CancelNextRules = True
  655.       IgnoreAsParent = False
  656.     end
  657.     item
  658.       DisplayName = 'until'
  659.       BlockType = btRangeEnd
  660.       ConditionList = <
  661.         item
  662.           TagList.Strings = (
  663.             'until')
  664.           TokenTypes = 4
  665.           IgnoreCase = True
  666.         end>
  667.       HighlightPos = cpAny
  668.       IgnoreAsParent = False
  669.     end
  670.     item
  671.       DisplayName = 'repeat'
  672.       ConditionList = <
  673.         item
  674.           TagList.Strings = (
  675.             'repeat')
  676.           TokenTypes = 4
  677.           IgnoreCase = True
  678.         end>
  679.       BlockEnd = 'until'
  680.       DisplayInTree = False
  681.       HighlightPos = cpAny
  682.       CollapseFmt = 'repeat ...'
  683.       IgnoreAsParent = False
  684.     end
  685.     item
  686.       DisplayName = 'Block comment'
  687.       BlockName = 'Block comment'
  688.       NotParent = True
  689.       ConditionList = <
  690.         item
  691.           TokenTypes = 2
  692.         end>
  693.       BlockEnd = 'Block comment end'
  694.       DisplayInTree = False
  695.       HighlightPos = cpAny
  696.       CollapseFmt = '{ ... }'
  697.       IgnoreAsParent = False
  698.     end
  699.     item
  700.       DisplayName = 'Block comment end'
  701.       BlockType = btRangeEnd
  702.       ConditionList = <
  703.         item
  704.           CondType = tcNotEqual
  705.           TokenTypes = 2
  706.         end
  707.         item
  708.           TokenTypes = 2
  709.         end>
  710.       BlockOffset = 1
  711.       HighlightPos = cpAny
  712.       IgnoreAsParent = False
  713.     end
  714.     item
  715.       DisplayName = 'Unit end'
  716.       BlockType = btRangeEnd
  717.       ConditionList = <
  718.         item
  719.           TagList.Strings = (
  720.             '.')
  721.           TokenTypes = 8
  722.         end
  723.         item
  724.           TagList.Strings = (
  725.             'end')
  726.           TokenTypes = 4
  727.           IgnoreCase = True
  728.         end>
  729.       BlockOffset = 2
  730.       HighlightPos = cpAny
  731.       IgnoreAsParent = False
  732.     end
  733.     item
  734.       DisplayName = 'Function separator'
  735.       StyleName = 'Function separator'
  736.       BlockName = 'class'
  737.       NotParent = True
  738.       BlockType = btLineBreak
  739.       ConditionList = <
  740.         item
  741.           TagList.Strings = (
  742.             'constructor'
  743.             'destructor'
  744.             'function'
  745.             'procedure')
  746.           TokenTypes = 4
  747.           IgnoreCase = True
  748.         end>
  749.       HighlightPos = cpAny
  750.       IgnoreAsParent = False
  751.     end
  752.     item
  753.       DisplayName = '{$ifdef}'
  754.       Enabled = False
  755.       ConditionList = <
  756.         item
  757.           TagList.Strings = (
  758.             '\{\$if[n]?def')
  759.           CondType = tcMask
  760.           TokenTypes = 512
  761.           IgnoreCase = True
  762.         end>
  763.       BlockEnd = '{$endif}'
  764.       DisplayInTree = False
  765.       HighlightPos = cpAny
  766.       CollapseFmt = '%s0'
  767.       IgnoreAsParent = False
  768.     end
  769.     item
  770.       DisplayName = '{$endif}'
  771.       Enabled = False
  772.       BlockType = btRangeEnd
  773.       ConditionList = <
  774.         item
  775.           TagList.Strings = (
  776.             '{$endif}')
  777.           TokenTypes = 512
  778.           IgnoreCase = True
  779.         end>
  780.       HighlightPos = cpAny
  781.       IgnoreAsParent = False
  782.     end>
  783.   CodeTemplates = <
  784.     item
  785.       Name = 'be'
  786.       Description = 'begin end'
  787.       Code.Strings = (
  788.         'begin'
  789.         '  <caret>'
  790.         'end;')
  791.       Advanced = True
  792.     end
  793.     item
  794.       Name = 'arrayd'
  795.       Description = 'array declaration (var)'
  796.       Code.Strings = (
  797.         'array[0..|] of ;')
  798.     end
  799.     item
  800.       Name = 'arrayc'
  801.       Description = 'array declaration (const)'
  802.       Code.Strings = (
  803.         'array[0..|] of = ();')
  804.     end
  805.     item
  806.       Name = 'cases'
  807.       Description = 'case statement'
  808.       Code.Strings = (
  809.         'case | of'
  810.         '  : ;'
  811.         '  : ;'
  812.         'end;')
  813.     end
  814.     item
  815.       Name = 'casee'
  816.       Description = 'case statement (with else)'
  817.       Code.Strings = (
  818.         'case | of'
  819.         '  : ;'
  820.         '  : ;'
  821.         'else ;'
  822.         'end;')
  823.     end
  824.     item
  825.       Name = 'classf'
  826.       Description = 'class declaration (all parts)'
  827.       Code.Strings = (
  828.         'T| = class(T)'
  829.         'private'
  830.         ''
  831.         'protected'
  832.         ''
  833.         'public'
  834.         ''
  835.         'published'
  836.         ''
  837.         'end;')
  838.     end
  839.     item
  840.       Name = 'classd'
  841.       Description = 'class declaration (no parts)'
  842.       Code.Strings = (
  843.         'T| = class(T)'
  844.         ''
  845.         'end;')
  846.     end
  847.     item
  848.       Name = 'classc'
  849.       Description = 'class declaration (with Create/Destroy overrides)'
  850.       Code.Strings = (
  851.         'T| = class(T)'
  852.         'private'
  853.         ''
  854.         'protected'
  855.         ''
  856.         'public'
  857.         '  constructor Create; override;'
  858.         '  destructor Destroy; override;'
  859.         'published'
  860.         ''
  861.         'end;')
  862.     end
  863.     item
  864.       Name = 'fors'
  865.       Description = 'for (no begin/end)'
  866.       Code.Strings = (
  867.         'for | :=  to  do')
  868.     end
  869.     item
  870.       Name = 'forb'
  871.       Description = 'for statement'
  872.       Code.Strings = (
  873.         'for | :=  to  do'
  874.         'begin'
  875.         ''
  876.         'end;')
  877.     end
  878.     item
  879.       Name = 'function'
  880.       Description = 'function declaration'
  881.       Code.Strings = (
  882.         'function |(): ;'
  883.         'begin'
  884.         ''
  885.         'end;')
  886.     end
  887.     item
  888.       Name = 'ifs'
  889.       Description = 'if (no begin/end)'
  890.       Code.Strings = (
  891.         'if | then')
  892.     end
  893.     item
  894.       Name = 'ifb'
  895.       Description = 'if statement'
  896.       Code.Strings = (
  897.         'if | then'
  898.         'begin'
  899.         ''
  900.         'end;')
  901.     end
  902.     item
  903.       Name = 'ife'
  904.       Description = 'if then (no begin/end) else (no begin/end)'
  905.       Code.Strings = (
  906.         'if | then'
  907.         ''
  908.         'else')
  909.     end
  910.     item
  911.       Name = 'ifeb'
  912.       Description = 'if then else'
  913.       Code.Strings = (
  914.         'if | then'
  915.         'begin'
  916.         ''
  917.         'end'
  918.         'else'
  919.         'begin'
  920.         ''
  921.         'end;'
  922.         '')
  923.     end
  924.     item
  925.       Name = 'procedure'
  926.       Description = 'procedure declaration'
  927.       Code.Strings = (
  928.         'procedure |();'
  929.         'begin'
  930.         ''
  931.         'end;')
  932.     end
  933.     item
  934.       Name = 'trye'
  935.       Description = 'try except'
  936.       Code.Strings = (
  937.         'try'
  938.         '  |'
  939.         'except'
  940.         ''
  941.         'end;')
  942.     end
  943.     item
  944.       Name = 'tryf'
  945.       Description = 'try finally'
  946.       Code.Strings = (
  947.         'try'
  948.         '  |'
  949.         'finally'
  950.         ''
  951.         'end;')
  952.     end
  953.     item
  954.       Name = 'trycf'
  955.       Description = 'try finally (with Create/Free)'
  956.       Code.Strings = (
  957.         '|variable := typename.Create;'
  958.         'try'
  959.         ''
  960.         'finally'
  961.         '  variable.Free;'
  962.         'end;')
  963.     end
  964.     item
  965.       Name = 'whileb'
  966.       Description = 'while statement'
  967.       Code.Strings = (
  968.         'while | do'
  969.         'begin'
  970.         ''
  971.         'end;')
  972.     end
  973.     item
  974.       Name = 'whiles'
  975.       Description = 'while (no begin)'
  976.       Code.Strings = (
  977.         'while | do')
  978.     end
  979.     item
  980.       Name = 'withb'
  981.       Description = 'with statement'
  982.       Code.Strings = (
  983.         'with | do'
  984.         'begin'
  985.         ''
  986.         'end;')
  987.     end
  988.     item
  989.       Name = 'withs'
  990.       Description = 'with (no begin)'
  991.       Code.Strings = (
  992.         'with | do')
  993.     end
  994.     item
  995.       Name = 'prop'
  996.       Description = 'property'
  997.       Code.Strings = (
  998.         'property | read  write;')
  999.     end>
  1000.   SubAnalyzers = <>
  1001.   SampleText.Strings = (
  1002.     '{Syntax highlighting}'
  1003.     'namespace Shapes'
  1004.     '  type'
  1005.     '    TPoint = class(TObject)'
  1006.     '       X, Y: Integer;'
  1007.     '       constructor Create(X, Y: Integer);'
  1008.     '       begin'
  1009.     '         inherited Create;'
  1010.     '         Self.X := X;'
  1011.     '         Self.Y := Y;'
  1012.     '       end;'
  1013.     '    end;'
  1014.     ''
  1015.     '    TCircle = class(TPoint)'
  1016.     '      R: Integer;'
  1017.     '      constructor Create(X, Y, R);'
  1018.     '    end;'
  1019.     '    '
  1020.     '  constructor TCircle.Create(X, Y, R);'
  1021.     '  begin'
  1022.     '    inherited Create(X, Y);'
  1023.     '    Self.R := R;'
  1024.     '  end;'
  1025.     ''
  1026.     'end;'
  1027.     ''
  1028.     'var'
  1029.     '  Point = Shapes.TPoint.Create(3, 5);'
  1030.     '  Circle = Shapes.TCircle.Create(3, 5, 7);'
  1031.     'begin'
  1032.     '  print Point, Circle;'
  1033.     'end.'
  1034.     '')
  1035.   TokenTypeNames.Strings = (
  1036.     'Unknown'
  1037.     'Comment'
  1038.     'Identifier'
  1039.     'Symbol'
  1040.     'String'
  1041.     'Integer const'
  1042.     'Float const'
  1043.     'Hex const'
  1044.     'Char const'
  1045.     'Preprocessor')
  1046.   MarkedBlockStyle = 'Marked block'
  1047.   SearchMatchStyle = 'Search Match'
  1048.   CurrentLineStyle = 'Current Line'
  1049.   DefaultStyleName = 'Default'
  1050.   Extentions = 'pas'
  1051.   LexerName = 'PAX Pascal'
  1052.   Internal = True
  1053. end
  1054.