object SyntAnal4: TLibSyntAnalyzer
  Formats = <
    item
      DisplayName = 'Label'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clRed
      Font.Height = -13
      Font.Name = 'Courier New'
      Font.Style = []
    end
    item
      DisplayName = 'Comment'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clGray
      Font.Height = -13
      Font.Name = 'Courier New'
      Font.Style = [fsItalic]
    end
    item
      DisplayName = 'Keywords'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'Courier New'
      Font.Style = [fsBold]
    end
    item
      DisplayName = 'Text'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'Courier New'
      Font.Style = []
    end
    item
      DisplayName = 'String'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clTeal
      Font.Height = -13
      Font.Name = 'Courier New'
      Font.Style = []
    end
    item
      DisplayName = 'Symbol'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clMaroon
      Font.Height = -13
      Font.Name = 'Courier New'
      Font.Style = [fsBold]
    end
    item
      DisplayName = 'Number'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clNavy
      Font.Height = -13
      Font.Name = 'Courier New'
      Font.Style = []
    end
    item
      DisplayName = 'Var'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clGreen
      Font.Height = -13
      Font.Name = 'Courier New'
      Font.Style = []
    end>
  TokenRules = <
    item
      DisplayName = 'Comment'
      StyleName = 'Comment'
      TokenType = 1
      Expression = '^[\x20\x09]* @? [\x20\x09]* rem\b .*'
      ColumnFrom = 0
      ColumnTo = 0
    end
    item
      DisplayName = 'Comment2'
      StyleName = 'Comment'
      TokenType = 1
      Expression = '\: [\:\+\=,;\x20] .*'
      ColumnFrom = 0
      ColumnTo = 0
    end
    item
      DisplayName = 'Label'
      StyleName = 'Label'
      TokenType = 3
      Expression = '^[\x20\x09]* :\w+ |'#13#10'(?<=goto\x20+)\w+'
      ColumnFrom = 0
      ColumnTo = 0
    end
    item
      DisplayName = 'Variable'
      StyleName = 'Var'
      TokenType = 7
      Expression = '%\d | %\w+%'
      ColumnFrom = 0
      ColumnTo = 0
    end
    item
      DisplayName = 'IP-Address'
      StyleName = 'Number'
      TokenType = 5
      Expression = '\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b'
      ColumnFrom = 0
      ColumnTo = 0
    end
    item
      DisplayName = 'Symbol'
      StyleName = 'Symbol'
      TokenType = 6
      Expression = '[\+\-\*\(\)\[\]\{\}<>\.,~!&\|;:=%\^\#@\\/]'
      ColumnFrom = 0
      ColumnTo = 0
    end
    item
      DisplayName = 'Echo'
      StyleName = 'String'
      StrictParent = True
      TokenType = 4
      Expression = '(?<=\b echo \x20) [^<>\|\n\r&]*'
      ColumnFrom = 0
      ColumnTo = 0
    end
    item
      DisplayName = 'String'
      StyleName = 'String'
      TokenType = 4
      Expression = '".*?("|$)'
      ColumnFrom = 0
      ColumnTo = 0
    end
    item
      DisplayName = 'Number'
      StyleName = 'Number'
      TokenType = 5
      Expression = '0x[0-9a-f]+ | \d+'
      ColumnFrom = 0
      ColumnTo = 0
    end
    item
      DisplayName = 'Text'
      StyleName = 'Text'
      TokenType = 2
      Expression = '\w+'
      ColumnFrom = 0
      ColumnTo = 0
    end>
  BlockRules = <
    item
      DisplayName = 'Keywords'
      StyleName = 'Keywords'
      BlockType = btTagDetect
      ConditionList = <
        item
          TagList.Strings = (
            'Arp'
            'Assoc'
            'At'
            'Atmadm'
            'Attrib'
            'Bootcfg'
            'Break'
            'Cacls'
            'call'
            'cd'
            'Change'
            'Chcp'
            'Chdir'
            'Chkdsk'
            'Chkntfs'
            'choice'
            'Cipher'
            'cls'
            'Cmd'
            'Cmstp'
            'Color'
            'Comp'
            'Compact'
            'Convert'
            'copy'
            'Cprofile'
            'CScript'
            'Date'
            'defined'
            'Defrag'
            'del'
            'Dir'
            'Diskcomp'
            'Diskcopy'
            'DiskPart'
            'do'
            'Doskey'
            'Driverquery'
            'echo'
            'echo.'
            'else'
            'Endlocal'
            'Equ'
            'errorlevel'
            'Eventcreate'
            'Eventquery'
            'Eventtriggers'
            'Evntcmd'
            'exist'
            'Exit'
            'Expand'
            'Fc'
            'Find'
            'Findstr'
            'Finger'
            'Flattemp'
            'for'
            'Format'
            'Fsutil'
            'Ftp'
            'Ftype'
            'Getmac'
            'goto'
            'Gpresult'
            'Gpupdate'
            'Graftabl'
            'Help'
            'Helpctr'
            'Hostname'
            'if'
            'in'
            'Ipconfig'
            'Ipseccmd'
            'Ipxroute'
            'Irftp'
            'Label'
            'Lodctr'
            'Logman'
            'Lpq'
            'Lpr'
            'Macfile'
            'md'
            'Mkdir'
            'Mmc'
            'Mode'
            'More'
            'Mountvol'
            'Move'
            'MS-DOS'
            'Msiexec'
            'Msinfo32'
            'Nbtstat'
            'Net'
            'Netsh'
            'Netstat'
            'not'
            'Nslookup'
            'Ntbackup'
            'Ntcmdprompt'
            'Ntsd'
            'OOpenfiles'
            'Pagefileconfig'
            'Path'
            'Pathping'
            'pause'
            'Pbadmin'
            'Pentnt'
            'Perfmon'
            'Ping'
            'Popd'
            'powershell'
            'Print'
            'Prncnfg'
            'Prndrvr'
            'Prnjobs'
            'Prnmngr'
            'Prnport'
            'Prnqctl'
            'Prompt'
            'Pushd'
            'Query'
            'Rcp'
            'Recover'
            'Reg'
            'Regsvr32'
            'Relog'
            'Rem'
            'Ren'
            'Rename'
            'Replace'
            'Resetsession'
            'Rexec'
            'Rmdir'
            'Route'
            'RRasdial'
            'Rsh'
            'Rsm'
            'Runas'
            'SC'
            'Schtasks'
            'Secedit'
            'set'
            'Setlocal'
            'Sfc'
            'shift'
            'Shutdown'
            'Sort'
            'Start'
            'Subst'
            'sys'
            'Systeminfo'
            'Taskkill'
            'Tasklist'
            'Tcmsetup'
            'TCP/IP'
            'Telnet'
            'Tftp'
            'Time'
            'Title'
            'Tracerpt'
            'Tracert'
            'Tree'
            'Type'
            'Typeperf'
            'Unlodctr'
            'Verify'
            'Vol'
            'Vssadmin'
            'VVer'
            'W32tm'
            'Winnt'
            'Winnt32'
            'WMIC'
            'Xcopy')
          TokenTypes = 4
          IgnoreCase = True
        end>
      HighlightPos = cpBound
      IgnoreAsParent = False
    end>
  CodeTemplates = <>
  SubAnalyzers = <>
  SampleText.Strings = (
    'rem Batch file'
    '@echo off'
    'echo Params: %1 %2 %3'
    '@rem'
    '  @rem Comment'
    ':label'
    '::comment'
    'somecmd Test Param'
    'copy c:\%dirname%\*.pas "d:\dir name"'
    'if errorlevel 1 echo Error in copy action'
    'goto label'
    'ping 10.10.10.100')
  TokenTypeNames.Strings = (
    'Unknown'
    'Comment'
    'Text'
    'Label'
    'String'
    'Number'
    'Symbol'
    'Var')
  Extentions = 'bat cmd'
  LexerName = 'Batch files'
  SkipSpaces = False
  Notes.Strings = (
    'Alexey (SynWrite)')
  RestartFromLineStart = True
  LineComment = '::'
  Charset = DEFAULT_CHARSET
end
