home *** CD-ROM | disk | FTP | other *** search
/ Bila Vrana / BILA_VRANA.iso / 028A / AUROR.ZIP / XC.AML < prev    next >
Text File  |  1996-07-17  |  2KB  |  48 lines

  1. //--------------------------------------------------------------------
  2. // XC.AML
  3. // Syntax highlighting for C/C++ files (C, Cpp, H, Hpp)
  4. //
  5. // After making changes, save this file and compile with <shift f10>.
  6. //--------------------------------------------------------------------
  7.  
  8. include bootpath "define.aml"
  9.  
  10. syntax
  11.   'bcfn'                          // options:
  12.                                   //   b=show through marked block
  13.                                   //   c=highlight cursor line
  14.                                   //   d=show through closed folds
  15.                                   //   f=use only foreground colors
  16.                                   //   i=ignore keyword case
  17.                                   //   n=highlight numbers
  18.   '()[]{}.=+-*/%:;<>|&,~!^?\t'    // symbol set 1
  19.   ''                              // symbol set 2
  20.   '\'"'                           // string characters
  21.   '\\'                            // string literal char
  22.   ''                              // numeric symbol
  23.   '//'          0                 // eol comment 1 / start column
  24.   ''            0                 // eol comment 2 / start column
  25.   '/*'          '*/'              // multi-line comment 1
  26.   ''            ''                // multi-line comment 2
  27.   0                               // number of lines to scan backward
  28.  
  29.   // colors
  30.   color brightcyan   on black     // keyword
  31.   color gray         on cyan      // symbol set 1
  32.   color gray         on cyan      // symbol set 2
  33.   color brightred    on black     // string
  34.   color brightred    on black     // numeric
  35.   color brightgreen  on black     // eol comment 1
  36.   color brightgreen  on black     // eol comment 2
  37.   color brightgreen  on black     // comment 1
  38.   color brightgreen  on black     // comment 2
  39.  
  40. keyword
  41.   #define, #else, #endif, #ifdef, #ifndef, #if, #include, #line,
  42.   #undef, asm, auto, break, case, catch, cdecl, char, class, const,
  43.   continue, default, delete, double, do, else, enum, extern, far,
  44.   float, for, friend, goto, huge, if, inline, interrupt, int, long,
  45.   near, new, operator, pascal, private, protected, public, register,
  46.   return, short, signed, sizeof, static, struct, switch, template,
  47.   this, typedef, union, unsigned, virtual, void, volatile, while
  48.