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

  1. object SyntAnal40: 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 = 'Text'
  14.       Font.Charset = DEFAULT_CHARSET
  15.       Font.Color = clBlack
  16.       Font.Height = -13
  17.       Font.Name = 'Courier New'
  18.       Font.Style = []
  19.       BgColor = clInfoBk
  20.       MultiLineBorder = True
  21.     end
  22.     item
  23.       DisplayName = 'Tag bound'
  24.       Font.Charset = DEFAULT_CHARSET
  25.       Font.Color = clGray
  26.       Font.Height = -13
  27.       Font.Name = 'Courier New'
  28.       Font.Style = [fsBold]
  29.     end
  30.     item
  31.       DisplayName = 'Comment'
  32.       Font.Charset = DEFAULT_CHARSET
  33.       Font.Color = clRed
  34.       Font.Height = -13
  35.       Font.Name = 'Courier New'
  36.       Font.Style = [fsBold]
  37.     end
  38.     item
  39.       DisplayName = 'Tag param'
  40.       Font.Charset = DEFAULT_CHARSET
  41.       Font.Color = clBlue
  42.       Font.Height = -13
  43.       Font.Name = 'Courier New'
  44.       Font.Style = []
  45.     end
  46.     item
  47.       DisplayName = 'Tag properties'
  48.       Font.Charset = DEFAULT_CHARSET
  49.       Font.Color = clPurple
  50.       Font.Height = -13
  51.       Font.Name = 'Courier New'
  52.       Font.Style = []
  53.     end
  54.     item
  55.       DisplayName = 'Unknown tag content'
  56.       Font.Charset = DEFAULT_CHARSET
  57.       Font.Color = clFuchsia
  58.       Font.Height = -13
  59.       Font.Name = 'Courier New'
  60.       Font.Style = [fsBold, fsUnderline]
  61.     end
  62.     item
  63.       DisplayName = 'Tag Key'
  64.       Font.Charset = DEFAULT_CHARSET
  65.       Font.Color = clWindowText
  66.       Font.Height = -13
  67.       Font.Name = 'Courier New'
  68.       Font.Style = [fsBold]
  69.     end
  70.     item
  71.       DisplayName = 'Number'
  72.       Font.Charset = DEFAULT_CHARSET
  73.       Font.Color = clNavy
  74.       Font.Height = -13
  75.       Font.Name = 'Courier New'
  76.       Font.Style = [fsBold]
  77.     end
  78.     item
  79.       DisplayName = 'Bound'
  80.       Enabled = False
  81.       Font.Charset = DEFAULT_CHARSET
  82.       Font.Color = clWindowText
  83.       Font.Height = -13
  84.       Font.Name = 'Courier New'
  85.       Font.Style = []
  86.       BorderTypeLeft = blSolid
  87.       BorderColorLeft = clGray
  88.       BorderTypeTop = blSolid
  89.       BorderColorTop = clGray
  90.       BorderTypeRight = blSolid
  91.       BorderColorRight = clGray
  92.       BorderTypeBottom = blSolid
  93.       BorderColorBottom = clGray
  94.       MultiLineBorder = True
  95.     end
  96.     item
  97.       DisplayName = 'Marked block'
  98.       Font.Charset = DEFAULT_CHARSET
  99.       Font.Color = clHighlightText
  100.       Font.Height = -13
  101.       Font.Name = 'Courier New'
  102.       Font.Style = []
  103.       BgColor = clHighlight
  104.       FormatType = ftColor
  105.     end
  106.     item
  107.       DisplayName = 'Tree item (attribute)'
  108.       Font.Charset = DEFAULT_CHARSET
  109.       Font.Color = clBlue
  110.       Font.Height = -13
  111.       Font.Name = 'Courier New'
  112.       Font.Style = []
  113.       BgColor = 14155775
  114.       FormatType = ftColor
  115.     end
  116.     item
  117.       DisplayName = 'Tree item (tag)'
  118.       Font.Charset = DEFAULT_CHARSET
  119.       Font.Color = clWindowText
  120.       Font.Height = -13
  121.       Font.Name = 'Courier New'
  122.       Font.Style = [fsBold]
  123.     end
  124.     item
  125.       DisplayName = 'CF keys'
  126.       Font.Charset = DEFAULT_CHARSET
  127.       Font.Color = clNavy
  128.       Font.Height = -13
  129.       Font.Name = 'Courier New'
  130.       Font.Style = [fsBold, fsItalic]
  131.     end
  132.     item
  133.       DisplayName = 'CFQuery in tree'
  134.       Font.Charset = RUSSIAN_CHARSET
  135.       Font.Color = clBlue
  136.       Font.Height = -13
  137.       Font.Name = 'Times New Roman'
  138.       Font.Style = [fsBold, fsUnderline]
  139.       BgColor = clYellow
  140.       FormatType = ftCustomFont
  141.     end
  142.     item
  143.       DisplayName = 'CF ident'
  144.       Font.Charset = DEFAULT_CHARSET
  145.       Font.Color = clTeal
  146.       Font.Height = -13
  147.       Font.Name = 'Courier New'
  148.       Font.Style = []
  149.     end
  150.     item
  151.       DisplayName = 'CF Symbol'
  152.       Font.Charset = RUSSIAN_CHARSET
  153.       Font.Color = clMaroon
  154.       Font.Height = -13
  155.       Font.Name = 'Courier New'
  156.       Font.Style = [fsBold]
  157.     end
  158.     item
  159.       DisplayName = 'CF string'
  160.       Font.Charset = DEFAULT_CHARSET
  161.       Font.Color = clBlue
  162.       Font.Height = -13
  163.       Font.Name = 'Courier New'
  164.       Font.Style = []
  165.       FormatType = ftColor
  166.     end
  167.     item
  168.       DisplayName = 'Query reserved'
  169.       Font.Charset = DEFAULT_CHARSET
  170.       Font.Color = clWindowText
  171.       Font.Height = -13
  172.       Font.Name = 'Courier New'
  173.       Font.Style = [fsBold]
  174.     end
  175.     item
  176.       DisplayName = 'Query param,output'
  177.       Font.Charset = DEFAULT_CHARSET
  178.       Font.Color = cl3DDkShadow
  179.       Font.Height = -13
  180.       Font.Name = 'Courier New'
  181.       Font.Style = [fsUnderline]
  182.     end>
  183.   TokenRules = <
  184.     item
  185.       DisplayName = 'Comment'
  186.       StyleName = 'Comment'
  187.       TokenType = 1
  188.       Expression = '(?ms)<!--.*?(-->|\Z)'
  189.       ColumnFrom = 0
  190.       ColumnTo = 0
  191.     end
  192.     item
  193.       DisplayName = 'Comment end'
  194.       StyleName = 'Comment'
  195.       TokenType = 1
  196.       Expression = '# for use in <SCRIPT>'#13#10'-->'#13#10
  197.       ColumnFrom = 0
  198.       ColumnTo = 0
  199.     end
  200.     item
  201.       DisplayName = 'Query Symbol'
  202.       StyleName = 'CF Symbol'
  203.       BlockName = 'CF query open'
  204.       TokenType = 13
  205.       Expression = '[/,\.;:\(\)=\+\-\*\#]'
  206.       ColumnFrom = 0
  207.       ColumnTo = 0
  208.     end
  209.     item
  210.       DisplayName = 'Query Symbol <>'
  211.       StyleName = 'CF Symbol'
  212.       TokenType = 13
  213.       Expression = '<\x20 | \x20>'
  214.       ColumnFrom = 0
  215.       ColumnTo = 0
  216.     end
  217.     item
  218.       DisplayName = '<'
  219.       StyleName = 'Tag bound'
  220.       TokenType = 10
  221.       Expression = '<[/!\-]*'
  222.       ColumnFrom = 0
  223.       ColumnTo = 0
  224.     end
  225.     item
  226.       DisplayName = '>'
  227.       StyleName = 'Tag bound'
  228.       TokenType = 11
  229.       Expression = '>'#13#10
  230.       ColumnFrom = 0
  231.       ColumnTo = 0
  232.     end
  233.     item
  234.       DisplayName = 'Integer'
  235.       StyleName = 'Number'
  236.       BlockName = 'Tag begin'
  237.       TokenType = 5
  238.       Expression = '\d+'
  239.       ColumnFrom = 0
  240.       ColumnTo = 0
  241.     end
  242.     item
  243.       DisplayName = 'HEX'
  244.       StyleName = 'Number'
  245.       BlockName = 'Tag begin'
  246.       TokenType = 7
  247.       Expression = '\#[a-f\d]+'
  248.       ColumnFrom = 0
  249.       ColumnTo = 0
  250.     end
  251.     item
  252.       DisplayName = 'Tag param'
  253.       StyleName = 'Tag param'
  254.       BlockName = 'Tag begin'
  255.       TokenType = 4
  256.       Expression = '(?s)".*?("|\Z)'
  257.       ColumnFrom = 0
  258.       ColumnTo = 0
  259.     end
  260.     item
  261.       DisplayName = 'Tag ident'
  262.       BlockName = 'Tag begin'
  263.       TokenType = 2
  264.       Expression = '[^\s=>]+'
  265.       ColumnFrom = 0
  266.       ColumnTo = 0
  267.     end
  268.     item
  269.       DisplayName = '='
  270.       StyleName = 'Tag bound'
  271.       BlockName = 'Tag begin'
  272.       TokenType = 3
  273.       Expression = '='#13#10
  274.       ColumnFrom = 0
  275.       ColumnTo = 0
  276.     end
  277.     item
  278.       DisplayName = 'Unknow tag content'
  279.       StyleName = 'Unknown tag content'
  280.       BlockName = 'Tag begin'
  281.       Expression = '[^>]*'
  282.       ColumnFrom = 0
  283.       ColumnTo = 0
  284.     end
  285.     item
  286.       DisplayName = '&...'
  287.       StyleName = 'Tag Key'
  288.       TokenType = 9
  289.       Expression = '&\w+;'
  290.       ColumnFrom = 0
  291.       ColumnTo = 0
  292.     end
  293.     item
  294.       DisplayName = 'Query String'
  295.       StyleName = 'Tag properties'
  296.       BlockName = 'CF query open'
  297.       TokenType = 4
  298.       Expression = #39'.*?('#39'|$)'
  299.       ColumnFrom = 0
  300.       ColumnTo = 0
  301.     end
  302.     item
  303.       DisplayName = 'Query ident'
  304.       StyleName = 'CF ident'
  305.       BlockName = 'CF query open'
  306.       TokenType = 12
  307.       Expression = '[a-z_]\w*'
  308.       ColumnFrom = 0
  309.       ColumnTo = 0
  310.     end
  311.     item
  312.       DisplayName = 'Query Float'
  313.       StyleName = 'Number'
  314.       BlockName = 'CF query open'
  315.       TokenType = 6
  316.       Expression = 
  317.         '#with exp. dot is optional '#13#10'\d+ \.? \d+ e [\+\-]? \d+ |'#13#10'#witho' +
  318.         'ut exp. dot is required'#13#10'\d+ \. \d+'
  319.       ColumnFrom = 0
  320.       ColumnTo = 0
  321.     end
  322.     item
  323.       DisplayName = 'Query int'
  324.       StyleName = 'Number'
  325.       BlockName = 'CF query open'
  326.       TokenType = 5
  327.       Expression = '\d+'
  328.       ColumnFrom = 0
  329.       ColumnTo = 0
  330.     end
  331.     item
  332.       DisplayName = '#param'
  333.       StyleName = 'Query param,output'
  334.       TokenType = 9
  335.       Expression = '\#[\w_\.]*\#'
  336.       ColumnFrom = 0
  337.       ColumnTo = 0
  338.     end
  339.     item
  340.       DisplayName = 'Text'
  341.       StyleName = 'Text'
  342.       TokenType = 9
  343.       Expression = '[^<&\#]*'
  344.       ColumnFrom = 0
  345.       ColumnTo = 0
  346.     end>
  347.   BlockRules = <
  348.     item
  349.       DisplayName = 'Tag keys'
  350.       StyleName = 'Tag Key'
  351.       BlockType = btTagDetect
  352.       ConditionList = <
  353.         item
  354.           TokenTypes = 4
  355.         end
  356.         item
  357.           TagList.Strings = (
  358.             '<'
  359.             '</')
  360.           TokenTypes = 1024
  361.         end>
  362.       HighlightPos = cpAny
  363.       IgnoreAsParent = False
  364.     end
  365.     item
  366.       DisplayName = 'CF keys'
  367.       StyleName = 'CF keys'
  368.       BlockType = btTagDetect
  369.       ConditionList = <
  370.         item
  371.           TagList.Strings = (
  372.             'cf*')
  373.           CondType = tcMask
  374.           TokenTypes = 4
  375.           IgnoreCase = True
  376.         end
  377.         item
  378.           TagList.Strings = (
  379.             '<'
  380.             '</')
  381.           TokenTypes = 1024
  382.         end>
  383.       HighlightPos = cpAny
  384.       IgnoreAsParent = False
  385.     end
  386.     item
  387.       DisplayName = 'Tag property'
  388.       StyleName = 'Tag properties'
  389.       BlockType = btTagDetect
  390.       ConditionList = <
  391.         item
  392.           TagList.Strings = (
  393.             '=')
  394.           TokenTypes = 8
  395.         end
  396.         item
  397.           TokenTypes = 4
  398.         end>
  399.       IdentIndex = 1
  400.       HighlightPos = cpAny
  401.       IgnoreAsParent = False
  402.     end
  403.     item
  404.       DisplayName = 'Tag property value'
  405.       StyleName = 'Tag param'
  406.       BlockType = btTagDetect
  407.       ConditionList = <
  408.         item
  409.           TokenTypes = 20
  410.         end
  411.         item
  412.           TagList.Strings = (
  413.             '=')
  414.           TokenTypes = 8
  415.         end>
  416.       HighlightPos = cpAny
  417.       IgnoreAsParent = False
  418.     end
  419.     item
  420.       DisplayName = 'Tag begin'
  421.       ConditionList = <
  422.         item
  423.           TokenTypes = 1024
  424.         end>
  425.       BlockEnd = 'Tag end'
  426.       NotCollapsed = True
  427.       DisplayInTree = False
  428.       DynHighlight = dhRange
  429.       HighlightPos = cpAny
  430.       IgnoreAsParent = False
  431.     end
  432.     item
  433.       DisplayName = 'Simple tag block'
  434.       StyleName = 'Comment'
  435.       ConditionList = <
  436.         item
  437.           TagList.Strings = (
  438.             'br'
  439.             'cfparam'
  440.             'hr'
  441.             'image'
  442.             'img'
  443.             'link')
  444.           TokenTypes = 4
  445.           IgnoreCase = True
  446.         end
  447.         item
  448.           TagList.Strings = (
  449.             '<')
  450.           TokenTypes = 1024
  451.         end>
  452.       BlockEnd = 'Simple tag block end'
  453.       DynHighlight = dhRange
  454.       HighlightPos = cpAny
  455.       CancelNextRules = True
  456.       TreeItemStyle = 'Tree item (tag)'
  457.       IgnoreAsParent = False
  458.     end
  459.     item
  460.       DisplayName = 'Simple tag block end'
  461.       BlockName = 'Simple tag block'
  462.       BlockType = btRangeEnd
  463.       ConditionList = <
  464.         item
  465.           TokenTypes = 2048
  466.         end>
  467.       HighlightPos = cpAny
  468.       IgnoreAsParent = False
  469.     end
  470.     item
  471.       DisplayName = 'Tag end'
  472.       BlockType = btRangeEnd
  473.       ConditionList = <
  474.         item
  475.           TokenTypes = 2048
  476.         end>
  477.       HighlightPos = cpAny
  478.       IgnoreAsParent = False
  479.     end
  480.     item
  481.       DisplayName = 'CF query open'
  482.       ConditionList = <
  483.         item
  484.           TagList.Strings = (
  485.             'cfquery')
  486.           CondType = tcMask
  487.           TokenTypes = 4
  488.           IgnoreCase = True
  489.         end
  490.         item
  491.           TagList.Strings = (
  492.             '<')
  493.           TokenTypes = 1024
  494.         end>
  495.       BlockEnd = 'CF query close'
  496.       HighlightPos = cpAny
  497.       CancelNextRules = True
  498.       TreeItemStyle = 'CFQuery in tree'
  499.       IgnoreAsParent = False
  500.     end
  501.     item
  502.       DisplayName = 'CF query close'
  503.       BlockType = btRangeEnd
  504.       ConditionList = <
  505.         item
  506.           TokenTypes = 4
  507.         end
  508.         item
  509.           TagList.Strings = (
  510.             '</')
  511.           TokenTypes = 1024
  512.         end>
  513.       SameIdent = True
  514.       HighlightPos = cpAny
  515.       IgnoreAsParent = False
  516.     end
  517.     item
  518.       DisplayName = 'Tag block begin'
  519.       ConditionList = <
  520.         item
  521.           TagList.Strings = (
  522.             'br'
  523.             'cfparam'
  524.             'hr'
  525.             'image'
  526.             'img'
  527.             'link')
  528.           CondType = tcNotEqual
  529.           TokenTypes = 4
  530.           IgnoreCase = True
  531.         end
  532.         item
  533.           TagList.Strings = (
  534.             '<'
  535.             '<!')
  536.           TokenTypes = 1024
  537.         end>
  538.       BlockOffset = 1
  539.       BlockEnd = 'Tag block end'
  540.       HighlightPos = cpAny
  541.       CollapseFmt = '< %s0 >'
  542.       TreeItemStyle = 'Tree item (tag)'
  543.       IgnoreAsParent = False
  544.     end
  545.     item
  546.       DisplayName = 'Tag block end'
  547.       BlockType = btRangeEnd
  548.       ConditionList = <
  549.         item
  550.           TokenTypes = 4
  551.           IgnoreCase = True
  552.         end
  553.         item
  554.           TagList.Strings = (
  555.             '</')
  556.           TokenTypes = 1024
  557.         end>
  558.       BlockOffset = -1
  559.       SameIdent = True
  560.       HighlightPos = cpAny
  561.       IgnoreAsParent = False
  562.     end
  563.     item
  564.       DisplayName = 'Comment begin'
  565.       ConditionList = <
  566.         item
  567.           TokenTypes = 2
  568.         end>
  569.       BlockEnd = 'Comment end'
  570.       DisplayInTree = False
  571.       HighlightPos = cpAny
  572.       CollapseFmt = '<!--  ...  -->'
  573.       IgnoreAsParent = False
  574.     end
  575.     item
  576.       DisplayName = 'Comment end'
  577.       BlockType = btRangeEnd
  578.       ConditionList = <
  579.         item
  580.           TokenTypes = 2
  581.         end>
  582.       HighlightPos = cpAny
  583.       IgnoreAsParent = False
  584.     end
  585.     item
  586.       DisplayName = 'Tag attribute'
  587.       BlockName = 'Tag begin'
  588.       ConditionList = <
  589.         item
  590.           TokenTypes = 20
  591.         end
  592.         item
  593.           TagList.Strings = (
  594.             '=')
  595.           TokenTypes = 8
  596.         end
  597.         item
  598.           TokenTypes = 4
  599.         end>
  600.       NotCollapsed = True
  601.       NameFmt = '%s0 %s-1 %s-2'
  602.       HighlightPos = cpAny
  603.       NoEndRule = True
  604.       TreeItemStyle = 'Tree item (attribute)'
  605.       IgnoreAsParent = False
  606.     end
  607.     item
  608.       DisplayName = 'Query keys'
  609.       StyleName = 'Query reserved'
  610.       BlockType = btTagDetect
  611.       ConditionList = <
  612.         item
  613.           TagList.Strings = (
  614.             'and'
  615.             'by'
  616.             'from'
  617.             'having'
  618.             'or'
  619.             'order'
  620.             'select'
  621.             'where')
  622.           TokenTypes = 4096
  623.           IgnoreCase = True
  624.         end>
  625.       HighlightPos = cpAny
  626.       IgnoreAsParent = False
  627.     end>
  628.   CodeTemplates = <>
  629.   SubAnalyzers = <
  630.     item
  631.       DisplayName = 'Style sheet'
  632.       AlwaysEnabled = True
  633.       StartExpression = '(?si)<style[^>]*> '#13#10
  634.       EndExpression = '</style>'#13#10
  635.       SyntAnalyzer = SyntAnalyzer10
  636.     end
  637.     item
  638.       DisplayName = 'VB script'
  639.       AlwaysEnabled = True
  640.       StartExpression = '(?si)<script[^>]*vbscript[^>]*>\s*(<!--)?'#13#10
  641.       EndExpression = '(?i)(-->)?\s*</script>'#13#10
  642.     end
  643.     item
  644.       DisplayName = 'Java script 1'
  645.       AlwaysEnabled = True
  646.       StartExpression = '(?si)<script[^>]*javascript[^>]*>\s*(<!--)?'#13#10
  647.       EndExpression = '(?i)(//)?(-->)?\s*</script>'#13#10
  648.       SyntAnalyzer = SyntAnal6
  649.     end
  650.     item
  651.       DisplayName = 'ASP'
  652.       AlwaysEnabled = True
  653.       StartExpression = '<%'#13#10'#(?i)<%@[^>]*?vbscript[^>]*>'#13#10'#\s*<%'#13#10
  654.       EndExpression = '%>'#13#10
  655.     end
  656.     item
  657.       DisplayName = 'PHP'
  658.       AlwaysEnabled = True
  659.       StartExpression = '(?si)<script[^>]*php[^>]*>\s*(<!--)?'#13#10
  660.       EndExpression = '(?i)(-->)?\s*</script>'#13#10
  661.       SyntAnalyzer = SyntAnal16
  662.     end
  663.     item
  664.       DisplayName = 'PHP 2'
  665.       AlwaysEnabled = True
  666.       StartExpression = '(?i)<\?(php)?'#13#10
  667.       EndExpression = '\?>'#13#10
  668.       SyntAnalyzer = SyntAnal16
  669.     end
  670.     item
  671.       DisplayName = 'Java script'
  672.       AlwaysEnabled = True
  673.       StartExpression = '(?si)<script>'#13#10
  674.       EndExpression = '(?i)(//)?(-->)?\s*</script>'#13#10
  675.       SyntAnalyzer = SyntAnal6
  676.     end>
  677.   TokenTypeNames.Strings = (
  678.     'Unknown'
  679.     'Comment'
  680.     'Identifier'
  681.     'Symbol'
  682.     'String'
  683.     'Integer const'
  684.     'Float const'
  685.     'Hex const'
  686.     'Char const'
  687.     'Text'
  688.     'Open Tag'
  689.     'Close Tag'
  690.     'CF ident'
  691.     'CF symbol')
  692.   MarkedBlockStyle = 'Marked block'
  693.   DefaultStyleName = 'Default'
  694.   Extentions = 'cfm'
  695.   LexerName = 'Coldfusion'
  696.   Left = 144
  697.   Top = 184
  698. end
  699.