home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / ftes46b5.zip / ftes46b5 / config / global.fte < prev    next >
Text File  |  1998-01-27  |  3KB  |  87 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        = 1;   # 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         = 1;   # load/save history on entry/exit
  24.     LoadDesktopOnEntry  = 2;   # load desktop on fte start (2 = when no files)
  25.     SaveDesktopOnExit   = 1;   # save desktop in ExitEditor 
  26.     
  27.     CompletionFilter    = /^{\c.+\.o|a|{obj}|{bak}|{exe}|{lib}{class}{jar}{zip}{gz}{tar.gz}{tgz}}|{.+~}|{CVS}$/;
  28.     
  29. %if(OS_UNIX)
  30.     PrintDevice         = "|lpr";
  31. %endif
  32. %if(!OS_UNIX)
  33.     PrintDevice         = '\\DEV\\PRN';
  34. %endif
  35.     
  36.     CompileCommand      = 'make';
  37.     KeepMessages        = 1;
  38.  
  39. %if(OS_UNIX)
  40.     HelpCommand         = "man";
  41. %endif
  42. %if(OS_OS2)
  43.     HelpCommand         = "start view.exe";
  44. %endif
  45.  
  46.     ScrollBorderX       = 0;
  47.     ScrollBorderY       = 0;
  48.     ScrollJumpX         = 8;
  49.     ScrollJumpY         = 1;
  50.     
  51. # smart indentation.        
  52.     C_Indent            = 4;
  53.     C_Continuation      = 4;
  54.     C_BraceOfs          = 0;
  55.     C_CaseOfs           = 0;
  56.     C_CaseDelta         = 4;
  57.     C_ClassOfs          = 0;
  58.     C_ClassDelta        = 4;
  59.     C_ColonOfs          = -4;
  60.     C_CommentOfs        = 0;
  61.     C_CommentDelta      = 1;
  62.     C_FirstLevelWidth   = -1;
  63.     C_FirstLevelIndent  = 4;
  64.     C_ParenDelta        = -1;
  65.     
  66.     REXX_Indent         = 4;
  67. #    REXX_Do_Offset      = 0;
  68.  
  69. # grep -n
  70.     CompileRx = { 1, 2, 3, /^([\w:._\-\/\\]#):(\d+):/ };
  71. # GCC
  72.     CompileRx = { 1, 2, 3, /^([\w:._\-\/\\]+):(\d+):\s(.*)$/ };
  73. # Borland C++              
  74.     CompileRx = { 1, 2, 3, /^{Error}|{Warning}\s(\S+)\s(\d+):\s(.*)$/ };
  75. # CSet++
  76.     CompileRx = { 1, 2, 3, /^([\w:._\-\/\\]+)\((\d+):\d+\)(.*)$/ };
  77. # Watcom C++
  78.     CompileRx = { 1, 2, 3, /^([\w:._\-\/\\]+)\((\d+)\):\x20{Error!}|{Warning!}(.*)$/ };
  79. # TI CC ?
  80.     CompileRx = { 1, 2, 3, /^"([\w:._\-\/\\]+)", line (\d+): (.*)$/ };
  81. # IPF compiler
  82.     CompileRx = { 1, 2, 3, /^\<([^:]+):(\d+)\> (.*)$/ };
  83.  
  84.     CompileRx = { 1, 2, 3, /^([\w:._\-\/\\]+)\((\d+)\)\s*:\s*(.*)$/ };
  85.     CompileRx = { 2, 3, 1, /^([^\t]+)\t([^\t]+)\t(\d+)$/ };
  86. }
  87.