home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / progmisc / tde221.zip / CFGMODES.H < prev    next >
C/C++ Source or Header  |  1993-04-01  |  2KB  |  71 lines

  1. /*
  2.  * cursor size
  3.  */
  4. #define SMALL_INS       0
  5. #define BIG_INS         1
  6.  
  7.  
  8. /*
  9.  * flags used for opening files in binary or text mode.
  10.  *   CRLF is for opening files in text mode - Operating System converts
  11.  *   LF to CRLF automatically.  in binary mode, LF is not translated.
  12.  */
  13. #define CRLF            1
  14. #define LF              2
  15.  
  16.  
  17. char *mode_screen[] = {
  18. "                      Default editor modes ",
  19. " ",
  20. "            Insert/Overwrite mode: ",
  21. "                      Indent mode: ",
  22. "                Physical Tab Size: ",
  23. "                 Logical Tab Size: ",
  24. "                   Smart tab mode: ",
  25. "                ^Z at end of file: ",
  26. "       End of line on file output: ",
  27. "                   Trailing space: ",
  28. "    Display end of line character: ",
  29. "                   Word wrap mode: ",
  30. "                      Left margin: ",
  31. "                 Paragraph margin: ",
  32. "                     Right margin: ",
  33. "               Insert cursor size: ",
  34. "         Create .bak backup files: ",
  35. "           Ruler at top of window: ",
  36. "                       Date style: ",
  37. "                       Time style: ",
  38. "         Initial search\\sort case: ",
  39. "  ",
  40. "  \x1b, \x1a = change values   \x18, \x19 = move cursor   F3 = Quit   F10 = Save and Quit",
  41. NULL
  42. };
  43.  
  44.  
  45. struct {
  46.    int line;
  47.    int col;
  48.    int mode;
  49.    void (*show_me)( void );
  50. } mode[19] = {
  51.    {  3, 36, 0, show_insert_mode },
  52.    {  4, 36, 0, show_indent_mode },
  53.    {  5, 36, 0, show_ptabsize },
  54.    {  6, 36, 0, show_ltabsize },
  55.    {  7, 36, 0, show_smart_mode },
  56.    {  8, 36, 0, show_controlz },
  57.    {  9, 36, 0, show_eol_out },
  58.    { 10, 36, 0, show_trail },
  59.    { 11, 36, 0, show_eol_display },
  60.    { 12, 36, 0, show_ww },
  61.    { 13, 36, 0, show_left },
  62.    { 14, 36, 0, show_para },
  63.    { 15, 36, 0, show_right },
  64.    { 16, 36, 0, show_cursor_size },
  65.    { 17, 36, 0, show_backup_mode },
  66.    { 18, 36, 0, show_ruler_mode },
  67.    { 19, 36, 0, show_date_style },
  68.    { 20, 36, 0, show_time_style },
  69.    { 21, 36, 0, show_initcase }
  70. };
  71.