home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / wwed034b.zip / fte-0.34 / config / m_java.fte < prev    next >
Text File  |  1995-10-15  |  2KB  |  45 lines

  1. mode JAVA: PLAIN, '\\.\\c{JAVA}$' {      # JAVA Mode
  2.     HilitOn             = 1;
  3.     HilitMode           = 'C';
  4.     AutoIndent          = 1;
  5.     IndentMode          = 'C';
  6.     TabSize             = 8;
  7.     SpaceTabs           = 1;
  8.     MatchCase           = 1;
  9.     Trim                = 1;
  10.     MultiLineHilit      = 1;
  11.     
  12.     SaveFolds           = 2;      # save fold info at end of line
  13.     CommentStart        = ' /*';
  14.     CommentEnd          = '*/';
  15.  
  16.     key       [Tab]     { LineIndent; LineTrim }
  17.     key       [Enter]   { LineIndent; LineNew }
  18.     key       [{]       { SelfInsert; LineIndent }
  19.     key       [}]       { SelfInsert; LineIndent }
  20.     key       [:]       { SelfInsert; LineIndent }
  21.     key       [#]       { SelfInsert; LineIndent }
  22.     key     [A-\\]      { BlockReIndent }
  23.     key     [C-O_\\]    { ChangeCIndent }
  24.     key     [C-O_{]     { ChangeCBraceOfs }
  25.     key     [C-O_}]     { ChangeCBraceOfs }
  26.     key       [F9]      { Compile; CompileViewErrors }
  27.     key       [F11]     { CompilePrevError }
  28.     key       [F12]     { CompileNextError }
  29.     key       [S-F9]   { CompileViewErrors }
  30.  
  31.     keyword '-' {
  32.         'abstract',  'default',  'goto',       'null',      'synchronized',
  33.         'boolean',   'do',       'if',         'package',   'this',
  34.         'break',     'double',   'implements', 'private',   'threadsafe', 
  35.         'byte',      'else',     'import',     'protected', 'throw', 
  36.         'byvalue',   'extends',  'instanceof', 'public',    'transient',
  37.         'case',      'false',    'int',        'return',    'true',
  38.         'catch',     'final',    'interface',  'short',     'try',
  39.         'char',      'finally',  'long',       'static',    'void',
  40.         'class',     'float',    'native',     'super',     'while',
  41.         'const',     'for',      'new',        'switch',    'continue',
  42.         
  43.     };
  44. }
  45.