home *** CD-ROM | disk | FTP | other *** search
/ Power Programming / powerprogramming1994.iso / progtool / editor / j414src.arc / MENUMAPS.TXT < prev    next >
Text File  |  1989-10-10  |  3KB  |  132 lines

  1. /************************************************************************
  2.  * This program is Copyright (C) 1986 by Jonathan Payne.  JOVE is    *
  3.  * provided to you without charge, and with no warranty.  You may give    *
  4.  * away copies of JOVE, including sources, provided that this notice is *
  5.  * included in all the files.                        *
  6.  ************************************************************************/
  7.  
  8. /* menumaps.txt K. Mitchum 1/88. The same warnings apply as in keymaps.txt.
  9.    You MUST use a version of setmaps compiled with MAC defined for this
  10.    file to be converted correctly. */
  11.  
  12.  
  13. #include "jove.h"
  14. #include "mac.h"
  15. #MENU
  16. data_obj MDIV = { STRING, "(-" };
  17. data_obj MAJM = { STRING, "(Major Modes:" };
  18. data_obj MINM = { STRING, "(Minor Modes:" };
  19. data_obj BOOL = { STRING, "(Boolean:" };
  20. data_obj DECM = { STRING, "(Decimal:" };
  21. data_obj STRM = { STRING, "(String:" };
  22. data_obj CHAR = { STRING, "(Character:" };
  23. #define MENU_DIV &MDIV
  24.  
  25. struct menu Menus[NMENUS] = {
  26. "File",101,0, {
  27.     "visit-file",
  28.     "find-file",
  29.     "insert-file",
  30.     MENU_DIV,
  31.     "save-file",
  32.     "write-file",
  33.     MENU_DIV,
  34.     "write-modified-files",
  35.     "write-region",
  36.     MENU_DIV,
  37.     "write-macros-to-file",
  38.     MENU_DIV,
  39.     "exit-jove",
  40.     0
  41. },
  42.  
  43. "Buffer",103,0, {
  44.     &MAJM,
  45.     "c-mode",
  46.     "fundamental-mode",
  47.     "lisp-mode",
  48.     "text-mode",
  49.     &MINM,
  50.     "auto-fill-mode",
  51.     "auto-indent-mode",
  52.     "over-write-mode",
  53.     "show-match-mode",
  54.     "word-abbrev-mode",
  55.     MENU_DIV,
  56.     0
  57. },
  58.  
  59. "Window",104,0, {
  60.     "grow-window",
  61.     "shrink-window",
  62.     MENU_DIV,
  63.     "split-current-window",
  64.     "delete-other-windows",
  65.     "window-find",
  66.     MENU_DIV,
  67.     "number-lines-in-window",
  68.     0
  69. },
  70.  
  71. "Point",105,0, {
  72.     "set-mark",
  73.     "exchange-point-and-mark",
  74.     MENU_DIV,
  75.     "search-forward",
  76.     "search-reverse",
  77.     "i-search-forward",
  78.     "i-search-reverse",
  79.     "query-replace-string",
  80.     "replace-string",
  81.     MENU_DIV,
  82.     "find-tag",
  83.     0
  84. },
  85.  
  86. "Command",106,0, {
  87.     "begin-kbd-macro",
  88.     "end-kbd-macro",
  89.     "name-kbd-macro",
  90.     "execute-kbd-macro",
  91.     "execute-macro",
  92.     MENU_DIV,
  93.     "bind-macro-to-key",
  94.     "bind-to-key",
  95.     "describe-key",
  96.     MENU_DIV,
  97.     "execute-named-command",
  98.     0
  99. },
  100.  
  101. "Set",107,0, {
  102.     &BOOL,
  103.     "allow-bad-filenames",
  104.     "auto-case-abbrev",
  105.     "case-ignore-search",
  106.     "files-should-end-with-newline",
  107.     "macify",
  108.     "make-backup-files",
  109.     "marks-should-float",
  110.     "match-regular-expressions",
  111.     "send-typeout-to-buffer",
  112.     "wrap-search",
  113.     &DECM,
  114.     "c-indentation-increment",
  115.     "internal-tabstop",
  116.     "left-margin",
  117.     "mark-threshold",
  118.     "paren-flash-delay",
  119.     "right-margin",
  120.     "scroll-step",
  121.     "sync-frequency",
  122.     &STRM,
  123.     "comment-format",
  124.     "mode-line",
  125.     "tag-file",
  126.     &CHAR,
  127.     "abort-char",
  128.     0
  129. }
  130. };
  131.  
  132.