Syntax highlighting for Windows registry files

Syntax highlighting for Windows registry files

9
NewbieNewbie
9

    Feb 16, 2005#1

    Can someone improve this please.

    Code: Select all

    /L18"Windows Registry Files" Nocase Noquote Block Comment On = [ Block Comment Off = ] Line Comment = ;; String Chars = '" File Extensions = reg 
    /Delimiters = ~!@%^&*()-+|\/{}[]:;="'<> , .?
    /Function String = "%^[*^]$"
    /Marker Characters = "{}"
    /C1"C1"
    "
    :
    @
    /C2"C2"
    {}
    /C3"C3"
    $DLL $Function
    /C4"Type"
    clsid
    dword
    hex
    /C5"Values"
    no
    yes
    
    The character between , and . in second line is a tab and not a space character.

      Feb 18, 2005#2

      I made some adjustments:

      Code: Select all

      /L18"Windows Registry Files" Nocase Noquote Block Comment On = [ Block Comment Off = ] Line Comment = ;; String Chars = '" File Extensions = reg 
      /Delimiters = ~!@%^&*()-+|\/{}[]:;="'<> ,	.?
      /Function String = "%^[*^]$"
      /Function String 1 = "%"^(*^)""
      /Marker Characters = "{}"
      /C1"Symbols"
      "
      :
      @
      /C2"Hex"
      aa ab ac ad ae af a0 a1 a2 a3 a4 a5 a6 a7 a8 a9
      ba bb bc bd be bf b0 b1 b2 b3 b4 b5 b6 b7 b8 b9
      ca cb cc cd ce cf c0 c1 c2 c3 c4 c5 c6 c7 c8 c9
      da db dc dd de df d0 d1 d2 d3 d4 d5 d6 d7 d8 d9
      ea eb ec ed ee ef e0 e1 e2 e3 e4 e5 e6 e7 e8 e9
      fa fb fc fd fe ff f0 f1 f2 f3 f4 f5 f6 f7 f8 f9
      /C3"CLSID_Etc"
      {}
      /C4"Type"
      $DLL $Function
      clsid
      dword
      hex
      /C5"Values"
      no
      yes