home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / fte0827.zip / config / global.fte < prev    next >
Text File  |  1999-05-26  |  3KB  |  90 lines

  1. object GLOBAL {
  2. #    ScreenSizeX = 80; ScreenSizeY = 25;
  3.  
  4.     CursorInsertStart   = 84; CursorInsertEnd = 100;  # % size in ins mode
  5.     CursorOverStart     = 0;  CursorOverEnd   = 100;  # % size in over mode
  6.  
  7.     SysClipboard        = 0;   # use system (PM) clipboard if available
  8.     SelectPathname      = 1;   # select pathname when asking for file
  9.         
  10.     OpenAfterClose      = 1;   # prompt to load new file after closing last
  11.         
  12.     ShowMenuBar         = 1;   # show main menu bar
  13.     ShowToolBar         = 1;   # builtin tool bar (OS/2 PM version only)
  14.                                # 0=none, 1=top 1=bottom of window
  15.     ShowVScroll         = 1;   # show vertical scroll bar (text)
  16.     ShowHScroll         = 0;   # show horizontal scroll bar (text)
  17.     WeirdScroll         = 0; 
  18.  
  19.     PMDisableAccel      = 0;   # disable Alt+Fx PM accelerators
  20.  
  21.     DefaultModeName     = 'PLAIN'; 
  22.     
  23.     KeepHistory         = 0;   # load/save history on entry/exit
  24.     LoadDesktopOnEntry  = 0;   # load desktop on fte start (2 = when no files)
  25.     SaveDesktopOnExit   = 0;   # save desktop in ExitEditor
  26.     
  27.     CompletionFilter    = /^{\c.+\.o|a|{bak}|{exe}|{lib}|{class}|{jar}|{zip}|{gz}|{tar.gz}|{tgz}}|{.+~}|{CVS}$/;
  28.     # {obj} file is also ASCII Object File Format for MAYA graphics editor
  29.     # so it is removed from Completion Filter
  30.     
  31. %if(OS_UNIX)
  32.     PrintDevice         = "|lpr";
  33. %endif
  34. %if(!OS_UNIX)
  35.     PrintDevice         = '\\DEV\\PRN';
  36. %endif
  37.     
  38.     CompileCommand      = 'make ';
  39.     KeepMessages        = 1;
  40.  
  41. %if(OS_UNIX)
  42.     HelpCommand         = "man";
  43. %endif
  44. %if(OS_OS2)
  45.     HelpCommand         = "start view.exe";
  46. %endif
  47.  
  48.     ScrollBorderX       = 0;
  49.     ScrollBorderY       = 0;
  50.     ScrollJumpX         = 8;
  51.     ScrollJumpY         = 1;
  52.     
  53. # smart indentation.        
  54.     C_Indent            = 4;
  55.     C_Continuation      = 4;
  56.     C_BraceOfs          = 0;
  57.     C_CaseOfs           = 0;
  58.     C_CaseDelta         = 4;
  59.     C_ClassOfs          = 0;
  60.     C_ClassDelta        = 4;
  61.     C_ColonOfs          = -4;
  62.     C_CommentOfs        = 0;
  63.     C_CommentDelta      = 1;
  64.     C_FirstLevelWidth   = -1;
  65.     C_FirstLevelIndent  = 4;
  66.     C_ParenDelta        = -1;
  67.     
  68.     REXX_Indent         = 4;
  69. #    REXX_Do_Offset      = 0;
  70.  
  71. # grep -n
  72.     CompileRx = { 1, 2, 3, /^([\w:._\-\/\\]#):(\d+):/ };
  73. # GCC
  74.     CompileRx = { 1, 2, 3, /^([\w:._\-\/\\]+):(\d+):\s(.*)$/ };
  75. # Borland C++              
  76.     CompileRx = { 1, 2, 3, /^{Error}|{Warning}\s(\S+)\s(\d+):\s(.*)$/ };
  77. # CSet++
  78.     CompileRx = { 1, 2, 3, /^([\w:._\-\/\\]+)\((\d+):\d+\)(.*)$/ };
  79. # Watcom C++
  80.     CompileRx = { 1, 2, 3, /^([\w:._\-\/\\]+)\((\d+)\):\x20{Error!}|{Warning!}(.*)$/ };
  81. # TI CC ?
  82.     CompileRx = { 1, 2, 3, /^"([\w:._\-\/\\]+)", line (\d+): (.*)$/ };
  83. # IPF compiler
  84.     CompileRx = { 1, 2, 3, /^\<([^:]+):(\d+)\> (.*)$/ };
  85.  
  86.     CompileRx = { 1, 2, 3, /^([\w:._\-\/\\]+)\((\d+)\)\s*:\s*(.*)$/ };
  87.     CompileRx = { 2, 3, 1, /^([^\t]+)\t([^\t]+)\t(\d+)$/ };
  88.     CompileRx = { 2, 3, 1, /^\s*at\s*([^\(]+)\(([^\:]+)\:(\d+)\)$/ };  # PAF@design.ru
  89. }
  90.