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

  1. object SyntAnal2: 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 = 'Comment'
  14.       Font.Charset = DEFAULT_CHARSET
  15.       Font.Color = clGray
  16.       Font.Height = -13
  17.       Font.Name = 'Courier New'
  18.       Font.Style = [fsBold]
  19.     end
  20.     item
  21.       DisplayName = 'Compiler Directive'
  22.       Font.Charset = DEFAULT_CHARSET
  23.       Font.Color = clTeal
  24.       Font.Height = -13
  25.       Font.Name = 'Courier New'
  26.       Font.Style = [fsBold]
  27.     end
  28.     item
  29.       DisplayName = 'Specifications'
  30.       Font.Charset = DEFAULT_CHARSET
  31.       Font.Color = clRed
  32.       Font.Height = -13
  33.       Font.Name = 'Courier New'
  34.       Font.Style = [fsBold]
  35.     end
  36.     item
  37.       DisplayName = 'Line Indent'
  38.       Enabled = False
  39.       Font.Charset = DEFAULT_CHARSET
  40.       Font.Color = clWindowText
  41.       Font.Height = -13
  42.       Font.Name = 'Courier New'
  43.       Font.Style = []
  44.       BgColor = 14211288
  45.       FormatType = ftBackGround
  46.     end
  47.     item
  48.       DisplayName = 'Types'
  49.       Font.Charset = DEFAULT_CHARSET
  50.       Font.Color = clGreen
  51.       Font.Height = -13
  52.       Font.Name = 'Courier New'
  53.       Font.Style = [fsBold]
  54.     end
  55.     item
  56.       DisplayName = 'Number'
  57.       Font.Charset = DEFAULT_CHARSET
  58.       Font.Color = clNavy
  59.       Font.Height = -13
  60.       Font.Name = 'Courier New'
  61.       Font.Style = [fsBold]
  62.     end
  63.     item
  64.       DisplayName = 'String'
  65.       Font.Charset = DEFAULT_CHARSET
  66.       Font.Color = clBlue
  67.       Font.Height = -13
  68.       Font.Name = 'Courier New'
  69.       Font.Style = []
  70.     end
  71.     item
  72.       DisplayName = 'C keywords'
  73.       Font.Charset = DEFAULT_CHARSET
  74.       Font.Color = clWindowText
  75.       Font.Height = -13
  76.       Font.Name = 'Courier New'
  77.       Font.Style = [fsBold]
  78.     end
  79.     item
  80.       DisplayName = 'Symbol'
  81.       Font.Charset = DEFAULT_CHARSET
  82.       Font.Color = clMaroon
  83.       Font.Height = -13
  84.       Font.Name = 'Courier New'
  85.       Font.Style = [fsBold]
  86.     end
  87.     item
  88.       DisplayName = 'Current block'
  89.       Font.Charset = DEFAULT_CHARSET
  90.       Font.Color = clBlue
  91.       Font.Height = -13
  92.       Font.Name = 'Courier New'
  93.       Font.Style = [fsBold]
  94.       BgColor = cl3DLight
  95.       FormatType = ftColor
  96.       BorderTypeLeft = blDot
  97.       BorderColorLeft = clMaroon
  98.       BorderTypeTop = blDot
  99.       BorderColorTop = clMaroon
  100.       BorderTypeRight = blDot
  101.       BorderColorRight = clMaroon
  102.       BorderTypeBottom = blDot
  103.       BorderColorBottom = clMaroon
  104.     end
  105.     item
  106.       DisplayName = 'C background'
  107.       Font.Charset = DEFAULT_CHARSET
  108.       Font.Color = clWindowText
  109.       Font.Height = -13
  110.       Font.Name = 'Courier New'
  111.       Font.Style = []
  112.       BgColor = 12910561
  113.       FormatType = ftBackGround
  114.     end
  115.     item
  116.       DisplayName = 'D background'
  117.       Font.Charset = DEFAULT_CHARSET
  118.       Font.Color = clWindowText
  119.       Font.Height = -13
  120.       Font.Name = 'Courier New'
  121.       Font.Style = []
  122.       BgColor = 15528703
  123.       FormatType = ftBackGround
  124.     end
  125.     item
  126.       DisplayName = 'D keywords'
  127.       Font.Charset = DEFAULT_CHARSET
  128.       Font.Color = clBlue
  129.       Font.Height = -13
  130.       Font.Name = 'Courier New'
  131.       Font.Style = [fsBold]
  132.     end
  133.     item
  134.       DisplayName = 'H keywords'
  135.       Font.Charset = DEFAULT_CHARSET
  136.       Font.Color = clMaroon
  137.       Font.Height = -13
  138.       Font.Name = 'Courier New'
  139.       Font.Style = [fsBold]
  140.     end
  141.     item
  142.       DisplayName = '%name'
  143.       Font.Charset = DEFAULT_CHARSET
  144.       Font.Color = clNavy
  145.       Font.Height = -13
  146.       Font.Name = 'Courier New'
  147.       Font.Style = [fsBold, fsItalic]
  148.     end
  149.     item
  150.       DisplayName = 'P background'
  151.       Font.Charset = DEFAULT_CHARSET
  152.       Font.Color = clWindowText
  153.       Font.Height = -13
  154.       Font.Name = 'Courier New'
  155.       Font.Style = []
  156.       BgColor = 16769021
  157.       FormatType = ftBackGround
  158.     end
  159.     item
  160.       DisplayName = 'Comment background'
  161.       Font.Charset = DEFAULT_CHARSET
  162.       Font.Color = clWindowText
  163.       Font.Height = -13
  164.       Font.Name = 'Courier New'
  165.       Font.Style = []
  166.       BgColor = 14548991
  167.       FormatType = ftBackGround
  168.     end
  169.     item
  170.       DisplayName = 'Free syntax'
  171.       Enabled = False
  172.       Font.Charset = DEFAULT_CHARSET
  173.       Font.Color = clWindowText
  174.       Font.Height = -13
  175.       Font.Name = 'Courier New'
  176.       Font.Style = []
  177.       BgColor = clLime
  178.       FormatType = ftBackGround
  179.     end>
  180.   TokenRules = <
  181.     item
  182.       DisplayName = 'Comment'
  183.       StyleName = 'Comment'
  184.       TokenType = 1
  185.       Expression = '# Make comment to get all line'#13#10'(?m)^\x20*\*.*\r\n'
  186.       ColumnFrom = 0
  187.       ColumnTo = 0
  188.     end
  189.     item
  190.       DisplayName = 'End line comment'
  191.       StyleName = 'Comment'
  192.       TokenType = 1
  193.       Expression = '.*'
  194.       ColumnFrom = 80
  195.       ColumnTo = 0
  196.     end
  197.     item
  198.       DisplayName = 'Indent'
  199.       StyleName = 'Line Indent'
  200.       Expression = '(?m)^\x20{5}'
  201.       ColumnFrom = 0
  202.       ColumnTo = 0
  203.     end
  204.     item
  205.       DisplayName = 'Any Directive'
  206.       StyleName = 'Compiler Directive'
  207.       TokenType = 5
  208.       Expression = '/[\w\-]+'
  209.       ColumnFrom = 7
  210.       ColumnTo = 7
  211.     end
  212.     item
  213.       DisplayName = 'Specifications'
  214.       StyleName = 'Specifications'
  215.       TokenType = 3
  216.       Expression = '(?m)[CDFHIOP]'
  217.       ColumnFrom = 6
  218.       ColumnTo = 6
  219.     end
  220.     item
  221.       DisplayName = 'Line end'
  222.       TokenType = 4
  223.       Expression = '# supports any type of line end'#13#10'\r\n|[\r\n]'
  224.       ColumnFrom = 0
  225.       ColumnTo = 0
  226.     end
  227.     item
  228.       DisplayName = 'Data type'
  229.       StyleName = 'Types'
  230.       BlockName = 'D line'
  231.       TokenType = 2
  232.       Expression = '\w{1,2}'
  233.       ColumnFrom = 24
  234.       ColumnTo = 24
  235.     end
  236.     item
  237.       DisplayName = 'File type'
  238.       StyleName = 'Types'
  239.       BlockName = 'F line'
  240.       TokenType = 2
  241.       Expression = '[IOUC]'
  242.       ColumnFrom = 17
  243.       ColumnTo = 17
  244.     end
  245.     item
  246.       DisplayName = 'File designation'
  247.       StyleName = 'Types'
  248.       BlockName = 'F line'
  249.       TokenType = 2
  250.       Expression = '[TF]'
  251.       ColumnFrom = 18
  252.       ColumnTo = 18
  253.     end
  254.     item
  255.       DisplayName = 'File addition'
  256.       StyleName = 'Types'
  257.       BlockName = 'F line'
  258.       TokenType = 2
  259.       Expression = 'A'
  260.       ColumnFrom = 20
  261.       ColumnTo = 20
  262.     end
  263.     item
  264.       DisplayName = 'File format'
  265.       StyleName = 'Types'
  266.       BlockName = 'F line'
  267.       TokenType = 2
  268.       Expression = '[FE]'
  269.       ColumnFrom = 22
  270.       ColumnTo = 22
  271.     end
  272.     item
  273.       DisplayName = 'Record Address type'
  274.       StyleName = 'Types'
  275.       BlockName = 'F line'
  276.       TokenType = 2
  277.       Expression = 'K'
  278.       ColumnFrom = 34
  279.       ColumnTo = 34
  280.     end
  281.     item
  282.       DisplayName = 'Device'
  283.       StyleName = 'Types'
  284.       BlockName = 'F line'
  285.       TokenType = 2
  286.       Expression = '\w+'
  287.       ColumnFrom = 36
  288.       ColumnTo = 42
  289.     end
  290.     item
  291.       DisplayName = 'F keywords'
  292.       StyleName = 'Types'
  293.       BlockName = 'F line'
  294.       TokenType = 2
  295.       Expression = '\w+'
  296.       ColumnFrom = 44
  297.       ColumnTo = 80
  298.     end
  299.     item
  300.       DisplayName = 'Control keywords'
  301.       StyleName = 'H keywords'
  302.       BlockName = 'H line'
  303.       TokenType = 2
  304.       Expression = '\x20[a-z,A-Z]+'
  305.       ColumnFrom = 0
  306.       ColumnTo = 0
  307.     end
  308.     item
  309.       DisplayName = 'B and E procedure'
  310.       StyleName = 'Types'
  311.       BlockName = 'P line'
  312.       TokenType = 2
  313.       Expression = '[BE]'
  314.       ColumnFrom = 24
  315.       ColumnTo = 24
  316.     end
  317.     item
  318.       DisplayName = 'String'
  319.       StyleName = 'String'
  320.       AlwaysEnabled = True
  321.       TokenType = 7
  322.       Expression = #39'.*'#39
  323.       ColumnFrom = 0
  324.       ColumnTo = 0
  325.     end
  326.     item
  327.       DisplayName = 'Float'
  328.       StyleName = 'Number'
  329.       AlwaysEnabled = True
  330.       TokenType = 6
  331.       Expression = 
  332.         '#with exp. dot is optional '#13#10'\d+ \.? \d+ e [\+\-]? \d+ |'#13#10'#witho' +
  333.         'ut exp. dot is required'#13#10'\d+ \. \d+'
  334.       ColumnFrom = 0
  335.       ColumnTo = 0
  336.     end
  337.     item
  338.       DisplayName = 'Integer'
  339.       StyleName = 'Number'
  340.       AlwaysEnabled = True
  341.       TokenType = 6
  342.       Expression = '\d+'
  343.       ColumnFrom = 0
  344.       ColumnTo = 0
  345.     end
  346.     item
  347.       DisplayName = 'Hex number'
  348.       StyleName = 'Number'
  349.       AlwaysEnabled = True
  350.       TokenType = 6
  351.       Expression = 'X'#39'[a-f\d]+'#39
  352.       ColumnFrom = 0
  353.       ColumnTo = 0
  354.     end
  355.     item
  356.       DisplayName = 'ident'
  357.       AlwaysEnabled = True
  358.       TokenType = 2
  359.       Expression = '#any name'#13#10'\w+'
  360.       ColumnFrom = 0
  361.       ColumnTo = 0
  362.     end
  363.     item
  364.       DisplayName = 'Symbol'
  365.       StyleName = 'Symbol'
  366.       TokenType = 8
  367.       Expression = '[/\*,\.;:\(\)=<>\+\-\[\]]'
  368.       ColumnFrom = 0
  369.       ColumnTo = 0
  370.     end
  371.     item
  372.       DisplayName = 'Space'
  373.       Enabled = False
  374.       BlockName = 'C line'
  375.       Expression = '\x20+'
  376.       ColumnFrom = 0
  377.       ColumnTo = 0
  378.     end
  379.     item
  380.       DisplayName = '%names'
  381.       StyleName = '%name'
  382.       BlockName = 'C line'
  383.       TokenType = 2
  384.       Expression = '%\w+'
  385.       ColumnFrom = 0
  386.       ColumnTo = 0
  387.     end>
  388.   BlockRules = <
  389.     item
  390.       DisplayName = 'Block comment'
  391.       StyleName = 'Comment background'
  392.       BlockName = 'Block comment'
  393.       NotParent = True
  394.       ConditionList = <
  395.         item
  396.           TokenTypes = 2
  397.         end>
  398.       BlockEnd = 'Block comment end'
  399.       Highlight = True
  400.       DisplayInTree = False
  401.       DynHighlight = dhRange
  402.       HighlightPos = cpAny
  403.       CollapseFmt = '     * ... *'
  404.       IgnoreAsParent = False
  405.     end
  406.     item
  407.       DisplayName = 'Block comment end'
  408.       BlockName = 'Block comment'
  409.       BlockType = btRangeEnd
  410.       ConditionList = <
  411.         item
  412.           CondType = tcNotEqual
  413.           TokenTypes = 2
  414.         end
  415.         item
  416.           TokenTypes = 2
  417.         end>
  418.       BlockOffset = 1
  419.       HighlightPos = cpAny
  420.       IgnoreAsParent = False
  421.     end
  422.     item
  423.       DisplayName = 'line end'
  424.       BlockType = btRangeEnd
  425.       ConditionList = <
  426.         item
  427.           TokenTypes = 16
  428.         end>
  429.       HighlightPos = cpAny
  430.       IgnoreAsParent = False
  431.     end
  432.     item
  433.       DisplayName = 'Directive line'
  434.       ConditionList = <
  435.         item
  436.           TokenTypes = 32
  437.         end>
  438.       BlockEnd = 'line end'
  439.       NotCollapsed = True
  440.       DisplayInTree = False
  441.       HighlightPos = cpAny
  442.       IgnoreAsParent = False
  443.     end
  444.     item
  445.       DisplayName = 'C line'
  446.       StyleName = 'C background'
  447.       ConditionList = <
  448.         item
  449.           TagList.Strings = (
  450.             'C')
  451.           TokenTypes = 8
  452.           IgnoreCase = True
  453.         end>
  454.       BlockOffset = 1
  455.       BlockEnd = 'line end'
  456.       NotCollapsed = True
  457.       DisplayInTree = False
  458.       DynHighlight = dhRange
  459.       HighlightPos = cpAny
  460.       IgnoreAsParent = False
  461.     end
  462.     item
  463.       DisplayName = 'D line'
  464.       StyleName = 'D background'
  465.       ConditionList = <
  466.         item
  467.           TagList.Strings = (
  468.             'D')
  469.           TokenTypes = 8
  470.           IgnoreCase = True
  471.         end>
  472.       BlockOffset = 1
  473.       BlockEnd = 'line end'
  474.       NotCollapsed = True
  475.       DisplayInTree = False
  476.       DynHighlight = dhRange
  477.       HighlightPos = cpAny
  478.       IgnoreAsParent = False
  479.     end
  480.     item
  481.       DisplayName = 'F line'
  482.       ConditionList = <
  483.         item
  484.           TagList.Strings = (
  485.             'F')
  486.           TokenTypes = 8
  487.           IgnoreCase = True
  488.         end>
  489.       BlockEnd = 'line end'
  490.       NotCollapsed = True
  491.       DisplayInTree = False
  492.       HighlightPos = cpAny
  493.       IgnoreAsParent = False
  494.     end
  495.     item
  496.       DisplayName = 'H line'
  497.       ConditionList = <
  498.         item
  499.           TagList.Strings = (
  500.             'H')
  501.           TokenTypes = 8
  502.           IgnoreCase = True
  503.         end>
  504.       BlockEnd = 'line end'
  505.       NotCollapsed = True
  506.       DisplayInTree = False
  507.       HighlightPos = cpAny
  508.       IgnoreAsParent = False
  509.     end
  510.     item
  511.       DisplayName = 'I line'
  512.       ConditionList = <
  513.         item
  514.           TagList.Strings = (
  515.             'I')
  516.           TokenTypes = 8
  517.           IgnoreCase = True
  518.         end>
  519.       BlockEnd = 'line end'
  520.       NotCollapsed = True
  521.       DisplayInTree = False
  522.       HighlightPos = cpAny
  523.       IgnoreAsParent = False
  524.     end
  525.     item
  526.       DisplayName = 'O line'
  527.       ConditionList = <
  528.         item
  529.           TagList.Strings = (
  530.             'O')
  531.           TokenTypes = 8
  532.           IgnoreCase = True
  533.         end>
  534.       BlockEnd = 'line end'
  535.       NotCollapsed = True
  536.       DisplayInTree = False
  537.       HighlightPos = cpAny
  538.       IgnoreAsParent = False
  539.     end
  540.     item
  541.       DisplayName = 'P line'
  542.       ConditionList = <
  543.         item
  544.           TagList.Strings = (
  545.             'P')
  546.           TokenTypes = 8
  547.           IgnoreCase = True
  548.         end>
  549.       BlockEnd = 'line end'
  550.       NotCollapsed = True
  551.       DisplayInTree = False
  552.       HighlightPos = cpAny
  553.       IgnoreAsParent = False
  554.     end
  555.     item
  556.       DisplayName = 'C keywords (only C specific)'
  557.       StyleName = 'C keywords'
  558.       BlockName = 'C line'
  559.       BlockType = btTagDetect
  560.       ConditionList = <
  561.         item
  562.           TagList.Strings = (
  563.             'add'
  564.             'adddur'
  565.             'alloc'
  566.             'and'
  567.             'begact'
  568.             'begsr'
  569.             'bitoff'
  570.             'biton'
  571.             'cab'
  572.             'cas'
  573.             'cat'
  574.             'chain'
  575.             'check'
  576.             'checkr'
  577.             'clear'
  578.             'close'
  579.             'clswin'
  580.             'commit'
  581.             'comp'
  582.             'dealloc'
  583.             'define'
  584.             'delete'
  585.             'div'
  586.             'dsply'
  587.             'else'
  588.             'elseif'
  589.             'end'
  590.             'endact'
  591.             'endcs'
  592.             'enddo'
  593.             'endfor'
  594.             'endif'
  595.             'endmon'
  596.             'endsl'
  597.             'endsr'
  598.             'eval'
  599.             'evalr'
  600.             'except'
  601.             'exsr'
  602.             'extrct'
  603.             'feod'
  604.             'for'
  605.             'getatr'
  606.             'goto'
  607.             'if'
  608.             'in'
  609.             'iter'
  610.             'kfld'
  611.             'klist'
  612.             'leave'
  613.             'leavesr'
  614.             'lookup'
  615.             'monitor'
  616.             'move'
  617.             'movea'
  618.             'movel'
  619.             'mult'
  620.             'mvr'
  621.             'not'
  622.             'occur'
  623.             'on-error'
  624.             'or'
  625.             'other'
  626.             'out'
  627.             'parm'
  628.             'plist'
  629.             'post'
  630.             'read'
  631.             'readc'
  632.             'reade'
  633.             'readp'
  634.             'readpe'
  635.             'reads'
  636.             'realloc'
  637.             'reset'
  638.             'return'
  639.             'rolbk'
  640.             'scan'
  641.             'select'
  642.             'setatr'
  643.             'setgt'
  644.             'setll'
  645.             'setoff'
  646.             'seton'
  647.             'showwin'
  648.             'sorta'
  649.             'sqrt'
  650.             'start'
  651.             'stop'
  652.             'sub'
  653.             'subdur'
  654.             'subst'
  655.             'tag'
  656.             'test'
  657.             'testb'
  658.             'testn'
  659.             'testz'
  660.             'time'
  661.             'to'
  662.             'unlock'
  663.             'update'
  664.             'when'
  665.             'write'
  666.             'xfoot'
  667.             'xlate'
  668.             'z-add'
  669.             'z-sub')
  670.           TokenTypes = 4
  671.           IgnoreCase = True
  672.         end>
  673.       HighlightPos = cpAny
  674.       IgnoreAsParent = False
  675.     end
  676.     item
  677.       DisplayName = 'D keywords'
  678.       StyleName = 'D keywords'
  679.       BlockName = 'D line'
  680.       BlockType = btTagDetect
  681.       ConditionList = <
  682.         item
  683.           TagList.Strings = (
  684.             'align'
  685.             'alt'
  686.             'ascend'
  687.             'based'
  688.             'button'
  689.             'ccsid'
  690.             'class'
  691.             'cltpgm'
  692.             'const'
  693.             'ctdata'
  694.             'datfmt'
  695.             'descend'
  696.             'dim'
  697.             'dll'
  698.             'dtaara'
  699.             'extfld'
  700.             'extfmt'
  701.             'extname'
  702.             'extpgm'
  703.             'extproc'
  704.             'fromfile'
  705.             'inz'
  706.             'like'
  707.             'likeds'
  708.             'likerec'
  709.             'linkage'
  710.             'msgdata'
  711.             'msgnbr'
  712.             'msgtext'
  713.             'msgtitle'
  714.             'noopt'
  715.             'nowait'
  716.             'occurs'
  717.             'options'
  718.             'overlay'
  719.             'packeven'
  720.             'perrcd'
  721.             'prefix'
  722.             'procptr'
  723.             'qualified'
  724.             'static'
  725.             'style'
  726.             'timfmt'
  727.             'tofile'
  728.             'value'
  729.             'varying')
  730.           TokenTypes = 4
  731.           IgnoreCase = True
  732.         end>
  733.       HighlightPos = cpAny
  734.       IgnoreAsParent = False
  735.     end
  736.     item
  737.       DisplayName = 'Directive keywords'
  738.       StyleName = 'Compiler Directive'
  739.       BlockName = 'Directive line'
  740.       BlockType = btTagDetect
  741.       ConditionList = <
  742.         item
  743.           TagList.Strings = (
  744.             'defined'
  745.             'not')
  746.           TokenTypes = 4
  747.           IgnoreCase = True
  748.         end>
  749.       HighlightPos = cpAny
  750.       IgnoreAsParent = False
  751.     end
  752.     item
  753.       DisplayName = '/IF'
  754.       ConditionList = <
  755.         item
  756.           TagList.Strings = (
  757.             '/IF')
  758.           TokenTypes = 32
  759.           IgnoreCase = True
  760.         end>
  761.       DisplayInTree = False
  762.       HighlightPos = cpAny
  763.       CollapseFmt = 'IF ...'
  764.       IgnoreAsParent = False
  765.     end
  766.     item
  767.       DisplayName = '/ENDIF'
  768.       BlockType = btRangeEnd
  769.       ConditionList = <
  770.         item
  771.           TagList.Strings = (
  772.             '/ENDIF')
  773.           TokenTypes = 32
  774.           IgnoreCase = True
  775.         end>
  776.       BlockEnd = '/IF'
  777.       HighlightPos = cpAny
  778.       IgnoreAsParent = False
  779.     end
  780.     item
  781.       DisplayName = 'procedure begin'
  782.       StyleName = 'P background'
  783.       ConditionList = <
  784.         item
  785.           TagList.Strings = (
  786.             'B')
  787.           TokenTypes = 4
  788.           IgnoreCase = True
  789.         end
  790.         item
  791.           TokenTypes = 4
  792.         end
  793.         item
  794.           TagList.Strings = (
  795.             'P')
  796.           TokenTypes = 8
  797.           IgnoreCase = True
  798.         end>
  799.       IdentIndex = 1
  800.       BlockOffset = 3
  801.       BlockEnd = 'procedure end'
  802.       Highlight = True
  803.       InvertColors = True
  804.       DynHighlight = dhBound
  805.       HighlightPos = cpAny
  806.       CollapseFmt = 'PROC   %s1'
  807.       IgnoreAsParent = False
  808.     end
  809.     item
  810.       DisplayName = 'procedure end'
  811.       BlockType = btRangeEnd
  812.       ConditionList = <
  813.         item
  814.           TagList.Strings = (
  815.             'E')
  816.           TokenTypes = 4
  817.           IgnoreCase = True
  818.         end
  819.         item
  820.           TokenTypes = 4
  821.         end
  822.         item
  823.           TagList.Strings = (
  824.             'P')
  825.           TokenTypes = 8
  826.           IgnoreCase = True
  827.         end>
  828.       BlockOffset = -1
  829.       HighlightPos = cpAny
  830.       IgnoreAsParent = False
  831.     end
  832.     item
  833.       DisplayName = '/FREE'
  834.       ConditionList = <
  835.         item
  836.           TagList.Strings = (
  837.             '/FREE')
  838.           TokenTypes = 32
  839.           IgnoreCase = True
  840.         end>
  841.       BlockEnd = '/END-FREE'
  842.       DisplayInTree = False
  843.       HighlightPos = cpAny
  844.       CollapseFmt = '/ FREE SYNTAX /'
  845.       IgnoreAsParent = False
  846.     end
  847.     item
  848.       DisplayName = '/END-FREE'
  849.       BlockType = btRangeEnd
  850.       ConditionList = <
  851.         item
  852.           TagList.Strings = (
  853.             '/END-FREE')
  854.           TokenTypes = 32
  855.           IgnoreCase = True
  856.         end>
  857.       HighlightPos = cpAny
  858.       IgnoreAsParent = False
  859.     end
  860.     item
  861.       DisplayName = '('
  862.       StyleName = 'Current block'
  863.       AlwaysEnabled = True
  864.       ConditionList = <
  865.         item
  866.           TagList.Strings = (
  867.             '(')
  868.           TokenTypes = 256
  869.         end>
  870.       BlockEnd = ')'
  871.       DisplayInTree = False
  872.       DynHighlight = dhBound
  873.       HighlightPos = cpBoundTagBegin
  874.       DynSelectMin = True
  875.       CollapseFmt = '( ... )'
  876.       IgnoreAsParent = False
  877.     end
  878.     item
  879.       DisplayName = ')'
  880.       AlwaysEnabled = True
  881.       BlockType = btRangeEnd
  882.       ConditionList = <
  883.         item
  884.           TagList.Strings = (
  885.             ')')
  886.           TokenTypes = 256
  887.         end>
  888.       HighlightPos = cpAny
  889.       IgnoreAsParent = False
  890.     end
  891.     item
  892.       DisplayName = 'END'
  893.       AlwaysEnabled = True
  894.       BlockType = btRangeEnd
  895.       ConditionList = <
  896.         item
  897.           TagList.Strings = (
  898.             'END')
  899.           TokenTypes = 4
  900.           IgnoreCase = True
  901.         end>
  902.       HighlightPos = cpAny
  903.       IgnoreAsParent = False
  904.     end
  905.     item
  906.       DisplayName = 'CASyy'
  907.       AlwaysEnabled = True
  908.       ConditionList = <
  909.         item
  910.           TagList.Strings = (
  911.             'cas'
  912.             'cas\w\w')
  913.           CondType = tcMask
  914.           TokenTypes = 4
  915.           IgnoreCase = True
  916.         end>
  917.       BlockEnd = 'END'
  918.       DisplayInTree = False
  919.       HighlightPos = cpAny
  920.       CollapseFmt = '%s0 ...'
  921.       IgnoreAsParent = False
  922.     end
  923.     item
  924.       DisplayName = 'ENDCS'
  925.       AlwaysEnabled = True
  926.       BlockType = btRangeEnd
  927.       ConditionList = <
  928.         item
  929.           TagList.Strings = (
  930.             'endcs')
  931.           TokenTypes = 4
  932.           IgnoreCase = True
  933.         end>
  934.       BlockEnd = 'CASyy'
  935.       HighlightPos = cpAny
  936.       IgnoreAsParent = False
  937.     end
  938.     item
  939.       DisplayName = 'DO'
  940.       AlwaysEnabled = True
  941.       ConditionList = <
  942.         item
  943.           TagList.Strings = (
  944.             'DO'
  945.             'DOU'
  946.             'DOU\w\w'
  947.             'DOW'
  948.             'DOW\w\w')
  949.           TokenTypes = 4
  950.           IgnoreCase = True
  951.         end>
  952.       BlockEnd = 'END'
  953.       DisplayInTree = False
  954.       HighlightPos = cpAny
  955.       CollapseFmt = '%s0 ...'
  956.       IgnoreAsParent = False
  957.     end
  958.     item
  959.       DisplayName = 'ENDDO'
  960.       AlwaysEnabled = True
  961.       BlockType = btRangeEnd
  962.       ConditionList = <
  963.         item
  964.           TagList.Strings = (
  965.             'enddo')
  966.           TokenTypes = 4
  967.           IgnoreCase = True
  968.         end>
  969.       BlockEnd = 'DO'
  970.       HighlightPos = cpAny
  971.       IgnoreAsParent = False
  972.     end
  973.     item
  974.       DisplayName = 'IF'
  975.       AlwaysEnabled = True
  976.       ConditionList = <
  977.         item
  978.           TagList.Strings = (
  979.             'IF'
  980.             'IF\w\w')
  981.           TokenTypes = 4
  982.           IgnoreCase = True
  983.         end>
  984.       BlockEnd = 'END'
  985.       DisplayInTree = False
  986.       HighlightPos = cpAny
  987.       CollapseFmt = '%s0 ...'
  988.       IgnoreAsParent = False
  989.     end
  990.     item
  991.       DisplayName = 'ENDIF'
  992.       AlwaysEnabled = True
  993.       BlockType = btRangeEnd
  994.       ConditionList = <
  995.         item
  996.           TagList.Strings = (
  997.             'endif')
  998.           TokenTypes = 4
  999.           IgnoreCase = True
  1000.         end>
  1001.       BlockEnd = 'IF'
  1002.       HighlightPos = cpAny
  1003.       IgnoreAsParent = False
  1004.     end
  1005.     item
  1006.       DisplayName = 'ELSE'
  1007.       AlwaysEnabled = True
  1008.       ConditionList = <
  1009.         item
  1010.           TagList.Strings = (
  1011.             'ELSE')
  1012.           TokenTypes = 4
  1013.           IgnoreCase = True
  1014.         end>
  1015.       BlockEnd = 'ENDIF (for else)'
  1016.       DisplayInTree = False
  1017.       HighlightPos = cpAny
  1018.       CollapseFmt = '%s0 ...'
  1019.       IgnoreAsParent = False
  1020.     end
  1021.     item
  1022.       DisplayName = 'ENDIF (for else)'
  1023.       AlwaysEnabled = True
  1024.       BlockType = btRangeEnd
  1025.       ConditionList = <
  1026.         item
  1027.           TagList.Strings = (
  1028.             'ENDIF')
  1029.           TokenTypes = 4
  1030.           IgnoreCase = True
  1031.         end>
  1032.       HighlightPos = cpAny
  1033.       IgnoreAsParent = False
  1034.     end
  1035.     item
  1036.       DisplayName = 'FOR'
  1037.       AlwaysEnabled = True
  1038.       ConditionList = <
  1039.         item
  1040.           TagList.Strings = (
  1041.             'for')
  1042.           TokenTypes = 4
  1043.           IgnoreCase = True
  1044.         end>
  1045.       BlockEnd = 'END'
  1046.       DisplayInTree = False
  1047.       HighlightPos = cpAny
  1048.       CollapseFmt = '%s0 ...'
  1049.       IgnoreAsParent = False
  1050.     end
  1051.     item
  1052.       DisplayName = 'ENDFOR'
  1053.       BlockType = btRangeEnd
  1054.       ConditionList = <
  1055.         item
  1056.           TagList.Strings = (
  1057.             'endfor')
  1058.           TokenTypes = 4
  1059.           IgnoreCase = True
  1060.         end>
  1061.       BlockEnd = 'FOR'
  1062.       HighlightPos = cpAny
  1063.       IgnoreAsParent = False
  1064.     end
  1065.     item
  1066.       DisplayName = 'MONITOR'
  1067.       AlwaysEnabled = True
  1068.       ConditionList = <
  1069.         item
  1070.           TagList.Strings = (
  1071.             'MONITOR')
  1072.           TokenTypes = 4
  1073.           IgnoreCase = True
  1074.         end>
  1075.       BlockEnd = 'END'
  1076.       DisplayInTree = False
  1077.       HighlightPos = cpAny
  1078.       CollapseFmt = '%s0 ...'
  1079.       IgnoreAsParent = False
  1080.     end
  1081.     item
  1082.       DisplayName = 'ENDMON'
  1083.       AlwaysEnabled = True
  1084.       BlockType = btRangeEnd
  1085.       ConditionList = <
  1086.         item
  1087.           TagList.Strings = (
  1088.             'ENDMON')
  1089.           TokenTypes = 4
  1090.           IgnoreCase = True
  1091.         end>
  1092.       BlockEnd = 'MONITOR'
  1093.       HighlightPos = cpAny
  1094.       IgnoreAsParent = False
  1095.     end
  1096.     item
  1097.       DisplayName = 'SELECT'
  1098.       AlwaysEnabled = True
  1099.       ConditionList = <
  1100.         item
  1101.           TagList.Strings = (
  1102.             'SELECT')
  1103.           TokenTypes = 4
  1104.           IgnoreCase = True
  1105.         end>
  1106.       BlockEnd = 'END'
  1107.       DisplayInTree = False
  1108.       HighlightPos = cpAny
  1109.       CollapseFmt = '%s0 ...'
  1110.       IgnoreAsParent = False
  1111.     end
  1112.     item
  1113.       DisplayName = 'ENDSL'
  1114.       AlwaysEnabled = True
  1115.       BlockType = btRangeEnd
  1116.       ConditionList = <
  1117.         item
  1118.           TagList.Strings = (
  1119.             'ENDSL')
  1120.           TokenTypes = 4
  1121.           IgnoreCase = True
  1122.         end>
  1123.       BlockEnd = 'SELECT'
  1124.       HighlightPos = cpAny
  1125.       IgnoreAsParent = False
  1126.     end
  1127.     item
  1128.       DisplayName = 'begsr'
  1129.       AlwaysEnabled = True
  1130.       ConditionList = <
  1131.         item
  1132.           TagList.Strings = (
  1133.             'begsr')
  1134.           TokenTypes = 4
  1135.           IgnoreCase = True
  1136.         end>
  1137.       DisplayInTree = False
  1138.       HighlightPos = cpAny
  1139.       CollapseFmt = 'begsr ... endsr'
  1140.       IgnoreAsParent = False
  1141.     end
  1142.     item
  1143.       DisplayName = 'endsr'
  1144.       AlwaysEnabled = True
  1145.       BlockType = btRangeEnd
  1146.       ConditionList = <
  1147.         item
  1148.           TagList.Strings = (
  1149.             'endsr')
  1150.           TokenTypes = 4
  1151.           IgnoreCase = True
  1152.         end>
  1153.       HighlightPos = cpAny
  1154.       IgnoreAsParent = False
  1155.     end
  1156.     item
  1157.       DisplayName = 'common keywords (C)'
  1158.       StyleName = 'C keywords'
  1159.       AlwaysEnabled = True
  1160.       BlockType = btTagDetect
  1161.       ConditionList = <
  1162.         item
  1163.           TagList.Strings = (
  1164.             'add'
  1165.             'adddur'
  1166.             'alloc'
  1167.             'and'
  1168.             'begact'
  1169.             'begsr'
  1170.             'bitoff'
  1171.             'biton'
  1172.             'chain'
  1173.             'check'
  1174.             'checkr'
  1175.             'clear'
  1176.             'close'
  1177.             'clswin'
  1178.             'commit'
  1179.             'comp'
  1180.             'dealloc'
  1181.             'define'
  1182.             'delete'
  1183.             'div'
  1184.             'do'
  1185.             'dou'
  1186.             'dow'
  1187.             'dsply'
  1188.             'else'
  1189.             'elseif'
  1190.             'end'
  1191.             'endact'
  1192.             'endcs'
  1193.             'enddo'
  1194.             'endfor'
  1195.             'endif'
  1196.             'endmon'
  1197.             'endsl'
  1198.             'endsr'
  1199.             'eval'
  1200.             'evalr'
  1201.             'except'
  1202.             'exsr'
  1203.             'extrct'
  1204.             'feod'
  1205.             'for'
  1206.             'getatr'
  1207.             'goto'
  1208.             'if'
  1209.             'in'
  1210.             'iter'
  1211.             'kfld'
  1212.             'klist'
  1213.             'leave'
  1214.             'leavesr'
  1215.             'lookup'
  1216.             'monitor'
  1217.             'move'
  1218.             'movea'
  1219.             'movel'
  1220.             'mult'
  1221.             'mvr'
  1222.             'not'
  1223.             'occur'
  1224.             'on-error'
  1225.             'or'
  1226.             'other'
  1227.             'out'
  1228.             'parm'
  1229.             'plist'
  1230.             'post'
  1231.             'read'
  1232.             'readc'
  1233.             'reade'
  1234.             'readp'
  1235.             'readpe'
  1236.             'reads'
  1237.             'realloc'
  1238.             'reset'
  1239.             'return'
  1240.             'rolbk'
  1241.             'scan'
  1242.             'select'
  1243.             'setatr'
  1244.             'setgt'
  1245.             'setll'
  1246.             'setoff'
  1247.             'seton'
  1248.             'showwin'
  1249.             'sorta'
  1250.             'sqrt'
  1251.             'start'
  1252.             'stop'
  1253.             'sub'
  1254.             'subdur'
  1255.             'subst'
  1256.             'tag'
  1257.             'time'
  1258.             'to'
  1259.             'unlock'
  1260.             'update'
  1261.             'when'
  1262.             'write'
  1263.             'xfoot'
  1264.             'xlate'
  1265.             'z-add'
  1266.             'z-sub')
  1267.           TokenTypes = 4
  1268.           IgnoreCase = True
  1269.         end>
  1270.       HighlightPos = cpAny
  1271.       IgnoreAsParent = False
  1272.     end
  1273.     item
  1274.       DisplayName = 'common masked keywords (C)'
  1275.       StyleName = 'C keywords'
  1276.       AlwaysEnabled = True
  1277.       BlockType = btTagDetect
  1278.       ConditionList = <
  1279.         item
  1280.           TagList.Strings = (
  1281.             'ca[bst]'
  1282.             'call[bp]?'
  1283.             'cas\w\w'
  1284.             'dou\w\w\b'
  1285.             'dow\w\w'
  1286.             'if\w\w'
  1287.             'test[bnz]?')
  1288.           CondType = tcMask
  1289.           TokenTypes = 4
  1290.           IgnoreCase = True
  1291.         end>
  1292.       HighlightPos = cpAny
  1293.       IgnoreAsParent = False
  1294.     end>
  1295.   CodeTemplates = <>
  1296.   SubAnalyzers = <
  1297.     item
  1298.       DisplayName = 'Free Syntax rule'
  1299.       StyleName = 'Free syntax'
  1300.       StartExpression = '(?i)/FREE'
  1301.       EndExpression = '(?i)/END\-FREE'
  1302.       SyntAnalyzer = SyntAnal30
  1303.     end>
  1304.   SampleText.Strings = (
  1305.     '      /IF NOT DEFINED(DATA_TYPES)'
  1306.     '      /DEFINE DATA_TYPES'
  1307.     ''
  1308.     '     ***********'
  1309.     '     **  RPG  **'
  1310.     '     ***********'
  1311.     '     D short           S              5I 0'
  1312.     '     D int             S             10I 0'
  1313.     '     D long            S             10I 0'
  1314.     '     D float           S              8F'
  1315.     '     D double          S                   Like(float)'
  1316.     '      /Free   '
  1317.     '        do        '
  1318.     '        // Comment'
  1319.     '         dou'
  1320.     '           if   '
  1321.     '            monitor    '
  1322.     '             select  '
  1323.     '              CASfe'
  1324.     '              endcs'
  1325.     '             endsl'
  1326.     '            endmon'
  1327.     '           endif'
  1328.     '         end'
  1329.     '        enddo'
  1330.     '        '
  1331.     '      /end-free'
  1332.     ''
  1333.     '      /ENDIF'
  1334.     '')
  1335.   TokenTypeNames.Strings = (
  1336.     'Unknown'
  1337.     'Comment'
  1338.     'Identifier'
  1339.     'Line Type'
  1340.     'Line End'
  1341.     'Directives'
  1342.     'Number'
  1343.     'String'
  1344.     'Symbol')
  1345.   DefaultStyleName = 'Default'
  1346.   Extentions = 'rpg rpgle'
  1347.   LexerName = 'RPG/IV'
  1348.   SkipSpaces = False
  1349.   RestartFromLineStart = True
  1350.   Left = 140
  1351.   Top = 160
  1352. end
  1353.