home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / fteo46b5.zip / fteo46b5 / config / m_clario.fte < prev    next >
Text File  |  1997-05-30  |  2KB  |  67 lines

  1. # CLARION
  2. # Contributed by: thoye@sn.no (Thore Harald Hoye)
  3.  
  4. colorize CLARION {
  5.     SyntaxParser        = 'Ada'; # ?
  6.     
  7.     color {
  8.         { 'Normal',      'Lang_Default' },
  9.         { 'Number',      'Lang_Number' },
  10.         { 'Punctuation', 'Lang_Punctuation' },
  11.         { 'String',      'Lang_String' },
  12.         { 'Comment',     'Lang_Comment' },
  13.         { 'Function',    'Lang_Function' },
  14.     };
  15.     
  16.     keyword 'Editor_Keywords' {
  17.         'accept', 'and', 'begin', 'break', 'by', 'case', 'compile', 'cycle',
  18.         'do','eject', 'else', 'elsif', 'embed', 'end', 'endembed', 'execute',
  19.         'exit', 'function', 'goto', 'if', 'include', 'loop', 'member', 'not',
  20.         'of', 'omit', 'or', 'orof', 'procedure', 'program', 'return',
  21.         'routine', 'section', 'then', 'times', 'to', 'until', 'while', 'xor',
  22.     }; 
  23.  
  24.     keyword 'Editor_Keywords4' {
  25.         'application', 'code', 'detail', 'file', 'footer', 'form', 'group',
  26.         'header', 'item', 'map', 'menu', 'menubar', 'module', 'option',
  27.         'queue', 'record', 'report', 'subtitle', 'title', 'toolbar', 'view',
  28.         'window',
  29.     }; 
  30.  
  31.     keyword 'Editor_Keywords2' {
  32.         'localrequest', 'originalrequest', 'localresponse', 'windowopened',
  33.         'windowinitialized', 'forcerefresh', 'currenttab', 'globalrequest',
  34.         'requestcancelled', 'globalresponse', 'selectrecord', 'recordfiltered',
  35.     }; 
  36.  
  37.     keyword 'Editor_Keywords3' {
  38.         'initializewindow', 'refreshwindow', 'syncwindow', 'main',
  39.     }; 
  40.  
  41.     keyword 'Editor_Keywords5' {
  42.         'byte', 'short', 'ushort', 'long', 'ulong', 'sreal', 'real', 'bfloat4',
  43.         'bfloat8', 'date', 'time', 'string', 'decimal', 'pdecimal', 'pstring',
  44.         'cstring', 'group',
  45.     }; 
  46. }
  47.  
  48. mode CLARION: PLAIN {       # CLARION mode
  49.     FileNameRx          = '\\.\\c{CLW}$';
  50.     Colorizer           = 'CLARION';
  51.     HilitOn             = 1;
  52.     AutoIndent          = 1;
  53.     IndentMode          = 'PLAIN';
  54.     TabSize             = 8;
  55.     SpaceTabs           = 1;
  56.     MatchCase           = 1;
  57.     Trim                = 1;
  58.     MultiLineHilit      = 0;
  59.     
  60.     RoutineRegexp       = /^\s*{function}|{procedure}\s/;
  61.     
  62. #    SaveFolds           = 2;      # save fold info at end of line
  63. #    CommentStart        = ' --';
  64. #    CommentEnd          = '';
  65. }
  66.  
  67.