⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 editunit.dfm.svn-base

📁 支持自定义语法高亮显示的编辑器控件
💻 SVN-BASE
📖 第 1 页 / 共 5 页
字号:
      'Token=tnone'
      'Token=tstring'
      'Token=tcomment'
      'Token=tident'
      'Token=tinteger'
      'Token=tfloat'
      'Token=tresword'
      'Token=tassembler'
      'Token=turl'
      'Token=twhitespace'
      'Token=tresword1'
      '//delims'
      'Delimiters=;.,:'#39'"{}[]()?!@#$%^&*-+=|\/'
      ''
      '// numbers'
      'shtmltag [0-9][0-9]*              shtmltag  tinteger'
      'shtmltag \#[0-9A-F]+              shtmltag  tinteger'
      'shtmltag [1-9][0-9]*\.[0-9]*                    shtmltag  tfloat'
      
        'shtmltag [1-9][0-9]*{\.[0-9]+}|e{[\+\-]}|[0-9]+ shtmltag   tfloa' +
        't'
      ''
      ''
      '//white space'
      'snormal #32*                      snormal   twhitespace'
      ''
      ''
      '//strings'
      'shtmltag   \'#39'                     sstring1   tstring'
      'sstring1   [^\'#39']*                 sstring1   tstring'
      'sstring1   \'#39'                     shtmltag   tstring'
      'sstring1   \'#39'\'#39'                   sstring1   tstring'
      'sstring1   $                      shtmltag   tstring'
      ''
      '//strings'
      'shtmltag    \"                    sstring2   tstring'
      'sstring2   [^\"]*                 sstring2   tstring'
      'sstring2   \"                     shtmltag   tstring'
      'sstring2   \"\"                   sstring2   tstring'
      'sstring2   $                      shtmltag   tstring'
      ''
      '//Common'
      'snormal <                          shtmltag  tresword1'
      
        'shtmltag [^\>^\'#39'^\"^\0-9^#32^\=][^\>^\'#39'^\"^#32^\=]*  shtmltag  t' +
        'resword1'
      'shtmltag >                         snormal   tresword1'
      ''
      '//comments'
      'snormal   <\!--                    scomment1 tcomment'
      'scomment1 [^\-]*                   scomment1 tcomment'
      'scomment1  -->                     snormal   tcomment'
      ''
      '//JS'
      'snormal     <script#32language="jscript">    sHTMLjs   tresword'
      
        'snormal     <script[#1-#255]*language="javascript"> sHTMLjs   tr' +
        'esword'
      'sHTMLjs      </script>                        snormal  tresword'
      ''
      'snormal     <script#32language="javascript"> sHTMLjs   tresword'
      'sHTMLjs      </script>                        snormal  tresword'
      ''
      ''
      '// reswords'
      'sHTMLjs '#39'break'#39'     sHTMLjs tresword'
      'sHTMLjs '#39'case'#39'      sHTMLjs tresword'
      'sHTMLjs '#39'catch'#39'     sHTMLjs tresword'
      'sHTMLjs '#39'class'#39'     sHTMLjs tresword'
      'sHTMLjs '#39'const'#39'     sHTMLjs tresword'
      'sHTMLjs '#39'continue'#39'  sHTMLjs tresword'
      'sHTMLjs '#39'debugger'#39'  sHTMLjs tresword'
      'sHTMLjs '#39'default'#39'   sHTMLjs tresword'
      'sHTMLjs '#39'delete'#39'    sHTMLjs tresword'
      'sHTMLjs '#39'do'#39'        sHTMLjs tresword'
      'sHTMLjs '#39'else'#39'      sHTMLjs tresword'
      'sHTMLjs '#39'enum'#39'      sHTMLjs tresword'
      'sHTMLjs '#39'export'#39'    sHTMLjs tresword'
      'sHTMLjs '#39'extends'#39'   sHTMLjs tresword'
      'sHTMLjs '#39'false'#39'     sHTMLjs tresword'
      'sHTMLjs '#39'finally'#39'   sHTMLjs tresword'
      'sHTMLjs '#39'for'#39'       sHTMLjs tresword'
      'sHTMLjs '#39'function'#39'  sHTMLjs tresword'
      'sHTMLjs '#39'if'#39'        sHTMLjs tresword'
      'sHTMLjs '#39'import'#39'    sHTMLjs tresword'
      'sHTMLjs '#39'in'#39'        sHTMLjs tresword'
      'sHTMLjs '#39'new'#39'       sHTMLjs tresword'
      'sHTMLjs '#39'null'#39'      sHTMLjs tresword'
      'sHTMLjs '#39'return'#39'    sHTMLjs tresword'
      'sHTMLjs '#39'super'#39'     sHTMLjs tresword'
      'sHTMLjs '#39'switch'#39'    sHTMLjs tresword'
      'sHTMLjs '#39'this'#39'      sHTMLjs tresword'
      'sHTMLjs '#39'throw'#39'     sHTMLjs tresword'
      'sHTMLjs '#39'true'#39'      sHTMLjs tresword'
      'sHTMLjs '#39'try'#39'       sHTMLjs tresword'
      'sHTMLjs '#39'typeof'#39'    sHTMLjs tresword'
      'sHTMLjs '#39'var'#39'       sHTMLjs tresword'
      'sHTMLjs '#39'void'#39'      sHTMLjs tresword'
      'sHTMLjs '#39'while'#39'     sHTMLjs tresword'
      'sHTMLjs '#39'with'#39'      sHTMLjs tresword'
      ''
      '//idents'
      'sHTMLjs   [a-z_A-Z][a-z_A-Z0-9]*  sHTMLjs   tident'
      ''
      '// numbers'
      'sHTMLjs [0-9][0-9]*                            sHTMLjs  tinteger'
      'sHTMLjs 0x[0-9A-F]+                            sHTMLjs  tinteger'
      'sHTMLjs 0X[0-9A-F]+                            sHTMLjs  tinteger'
      'sHTMLjs [1-9][0-9]*\.[0-9]*                    sHTMLjs  tfloat'
      'sHTMLjs [1-9][0-9]*{\.[0-9]+}|e{[\+\-]}|[0-9]+ sHTMLjs   tfloat'
      ''
      '//strings'
      'sHTMLjs   \"                     sstring3   tstring'
      'sstring3  [^\"]*                 sstring3   tstring'
      'sstring3  \"                     sHTMLjs    tstring'
      'sstring3  \"\"                   sstring3   tstring'
      'sstring3  \\                     sstring3   tstring'
      'sstring3  \\\"                   sstring3   tstring'
      'sstring3  $                      sHTMLjs    tstring'
      ''
      'sHTMLjs   \'#39'                     sstring4   tstring'
      'sstring4  [^\'#39']*                 sstring4   tstring'
      'sstring4  \'#39'                     sHTMLjs    tstring'
      'sstring4  \'#39'\'#39'                   sstring4   tstring'
      'sstring4  \\                     sstring4   tstring'
      'sstring4  \\\'#39'                   sstring4   tstring'
      'sstring4  $                      sHTMLjs    tstring'
      ''
      '//comments'
      'sHTMLjs    //                      scomment2   tcomment'
      'scomment2  [#1-#255]*              sHTMLjs     tcomment'
      'scomment2 $                        sHTMLjs     tcomment'
      ''
      'sHTMLjs   /\*                     scomment3  tcomment'
      'scomment3 [^\*]*                  scomment3  tcomment'
      'scomment3 \*[^/]                  scomment3  tcomment'
      'scomment3 [\*]*/                  sHTMLjs   tcomment'
      ''
      ''
      ' ')
    Styles = <
      item
        FontColor = clBlack
        Name = 'tnone'
      end
      item
        FontColor = clMaroon
        Name = 'tstring'
      end
      item
        FontColor = clNavy
        FontStyle = [fsItalic]
        Name = 'tcomment'
      end
      item
        FontColor = clBlack
        Name = 'tident'
      end
      item
        FontColor = clBlack
        Name = 'tinteger'
      end
      item
        FontColor = clBlack
        Name = 'tfloat'
      end
      item
        FontColor = clBlack
        FontStyle = [fsBold]
        Name = 'tresword'
      end
      item
        FontColor = clGreen
        Name = 'tassembler'
      end
      item
        FontColor = clBlue
        FontStyle = [fsUnderline]
        Name = 'turl'
      end
      item
        FontColor = clBlack
        Name = 'twhitespace'
      end
      item
        FontColor = clTeal
        FontStyle = [fsBold, fsItalic]
        Name = 'tresword1'
      end
      item
        FontColor = clHighlightText
        Color = clHighlight
        Name = 'Active Selection'
      end
      item
        Color = clBtnFace
        Name = 'Inactive Selection'
      end
      item
        FontColor = clLime
        Color = clBlack
        Name = 'Search Match'
      end
      item
        FontColor = clBtnFace
        Color = -1
        Name = 'Disabled Color'
      end
      item
        FontColor = clBtnFace
        Color = -1
        Name = 'ReadOnly Color'
      end>
    ColorMapping = cmDefault
    UseGlobalSettings = True
    Left = 136
    Top = 40
  end
  object ChangeTimer: TTimer
    Enabled = False
    OnTimer = ChangeTimerTimer
    Left = 168
    Top = 40
  end
  object ImageList1: TImageList
    Left = 56
    Top = 40
    Bitmap = {
      494C010105000900040010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
      0000000000003600000028000000400000003000000001002000000000000030
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -