home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 16 / 16.iso / w / w048 / 2.ddi / MSSRC.ARC / MSCMDS.INC < prev    next >
Encoding:
Text File  |  1987-12-21  |  10.5 KB  |  238 lines

  1. {                            MSCMDS.INC
  2.                                MS 4.0
  3.                 Copyright (c) 1985, 87 by Borland International, Inc.         }
  4.  
  5. type
  6.   CommandType =
  7.   (
  8.  
  9.     {Basic cursor movements}
  10.     CmdLeftChar,              {0. Left character}
  11.     CmdRightChar,             {1. Right character}
  12.     CmdLeftWord,              {2. Left lexeme}
  13.     CmdRightWord,             {3. Right lexeme}
  14.     CmdUpLine,                {4. Up line}
  15.     CmdDownLine,              {5. Down line}
  16.     CmdScrollUp,              {6. Scroll up}
  17.     CmdScrollDown,            {7. Scroll down}
  18.     CmdDownPage,              {8. Down page}
  19.     CmdUpPage,                {9. Up page}
  20.  
  21.     {Quick movements}
  22.     CmdWindowTopFile,         {10. Top of window}
  23.     CmdWindowBottomFile,      {11. Bottom of window}
  24.     CmdLeftLine,              {12. Cursor to left side}
  25.     CmdRightLine,             {13. Cursor to right side}
  26.     CmdTopScreen,             {14. Top of screen}
  27.     CmdBottomScreen,          {15. Bottom of screen}
  28.     CmdMoveToBegin,           {16. Move to previous BEGIN line}
  29.     CmdMoveToEnd,             {17. Move to previous END line}
  30.     CmdCpgotoln,              {18. Goto line n}
  31.     CmdGotoColumn,            {19. Goto column n}
  32.     CmdGotoWindow,            {20. Goto window n}
  33.     CmdJumpLastPosition,      {21. Previous cursor position}
  34.  
  35.     {Insertion and deletion}
  36.     CmdUndo,                  {22. Undo last deletion}
  37.     CmdRestoreCurrentLine,    {23. Restore line as on entry}
  38.     CmdTab,                   {24. Tab, either fixed or "smart"}
  39.     CmdInsertCtrlChar,        {25. Insert control character into text}
  40.     CmdNewLine,               {26. New line in text buffer}
  41.     CmdInsertLine,            {27. Insert line}
  42.     CmdDeleteRightChar,       {28. Delete current character}
  43.     CmdDeleteLeftChar,        {29. Delete left character}
  44.     CmdDeleteRightWord,       {30. Delete right lexeme}
  45.     CmdDeleteLineRight,       {31. Delete line right of cursor}
  46.     CmdDeleteLine,            {32. Delete line}
  47.     CmdDelLineNoRecourse,     {33. Delete line, no undo}
  48.  
  49.     {Find and replace}
  50.     CmdFind,                  {34. Find pattern}
  51.     CmdFindReplace,           {35. Find and replace}
  52.     CmdFindAndMacro,          {36. Search and apply macro at position}
  53.     CmdFindNext,              {37. Find next}
  54.  
  55.     {Files and DOS interface}
  56.     CmdInvokeDOS,             {38. Invoke a DOS shell}
  57.     CmdBackTab,               {39. Backward tab}
  58.     CmdNewFile,               {40. Edit a new file in current window}
  59.     CmdAbandonFile,           {41. Abandon file}
  60.     CmdReadBlock,             {42. Read file into window}
  61.     CmdSaveFile,              {43. Save file}
  62.     CmdWriteBlock,            {44. Write block to file, not appending}
  63.     CmdSaveQuit,              {45. Save file and exit}
  64.  
  65.     {Windows}
  66.     CmdAddWindow,             {46. Add second window with same or different file}
  67.     CmdSizeWindow,            {47. Resize current window}
  68.     CmdDoneFile,              {48. Save current file, and get a new one}
  69.     CmdWindowDown,            {49. Switch windows}
  70.     CmdHelpSummary,           {50. Put up a help summary}
  71.     CmdZoomWindow,            {51. Make the current window fill the screen}
  72.  
  73.     {Blocks}
  74.     CmdBlockBegin,            {52. Begin block}
  75.     CmdBlockEnd,              {53. End block}
  76.     CmdJumpTopOfBlock,        {54. Top of block}
  77.     CmdJumpBottomBlock,       {55. Bottom of block}
  78.     CmdBlockCopy,             {56. Copy block}
  79.     CmdBlockMove,             {57. Move block}
  80.     CmdBlockDelete,           {58. Delete block}
  81.     CmdBlockHide,             {59. Hide/display toggle block}
  82.     CmdBlockWord,             {60. Mark current word as block}
  83.  
  84.     {Text markers}
  85.     CmdToggleTextMarker,      {61. Toggle text marker display}
  86.     CmdSetMarker0,            {62. Set marker}
  87.     CmdSetMarker1,
  88.     CmdSetMarker2,
  89.     CmdSetMarker3,
  90.     CmdSetMarker4,
  91.     CmdSetMarker5,
  92.     CmdSetMarker6,
  93.     CmdSetMarker7,
  94.     CmdSetMarker8,
  95.     CmdSetMarker9,
  96.     CmdJumpMarker0,           {72. Jump to marker}
  97.     CmdJumpMarker1,
  98.     CmdJumpMarker2,
  99.     CmdJumpMarker3,
  100.     CmdJumpMarker4,
  101.     CmdJumpMarker5,
  102.     CmdJumpMarker6,
  103.     CmdJumpMarker7,
  104.     CmdJumpMarker8,
  105.     CmdJumpMarker9,
  106.  
  107.     {Macros}
  108.     CmdReadMacroFile,         {82. Load a set of macros from disk}
  109.     CmdWriteMacroFile,        {83. Write current macros to disk}
  110.     CmdToggleMacroRecord,     {84. Toggle macro recording}
  111.     CmdInsertMacro1,          {85. Insert Macro 1 once}
  112.     CmdInsertMacro2,
  113.     CmdInsertMacro3,
  114.     CmdInsertMacro4,
  115.     CmdInsertMacro5,
  116.     CmdInsertMacro6,
  117.     CmdInsertMacro7,
  118.     CmdInsertMacro8,
  119.     CmdInsertMacro9,
  120.     CmdInsertScrapPrompted,   {94. Insert scrap macro n times (prompted)}
  121.     CmdInsertScrap1,          {95. Insert scrap macro 1..9 times}
  122.     CmdInsertScrap2,
  123.     CmdInsertScrap3,
  124.     CmdInsertScrap4,
  125.     CmdInsertScrap5,
  126.     CmdInsertScrap6,
  127.     CmdInsertScrap7,
  128.     CmdInsertScrap8,
  129.     CmdInsertScrap9,
  130.  
  131.     {Toggles and status}
  132.     CmdSysInfo,               {104. Show system information}
  133.     CmdShowMem,               {105. Show available memory}
  134.     CmdToggleInsert,          {106. Toggle insert mode}
  135.     CmdToggleAutoindent,      {107. Toggle autoindent mode}
  136.  
  137.     {Text processing}
  138.     CmdToggleCase,            {108. Toggle case of character(s)}
  139.     CmdLowerCase,             {109. Lower case character(s)}
  140.     CmdUpperCase,             {110. Upper case character or block}
  141.     CmdSetRightMargin,        {111. Set the right margin for word wrap and reformat}
  142.     CmdReformParagraph,       {112. Reformat the current paragraph}
  143.     CmdToggleWordWrap,        {113. Toggle word wrap on or off}
  144.     CmdSetLeftMargin,         {114. Set the left margin for word wrap}
  145.     CmdToggleTabLine,         {115. Toggle tab line display on or off}
  146.     CmdInsertUndoBuffer,      {116. Insert undo buffer at cursor}
  147.     CmdToggleJustify,         {117. Toggle right justification}
  148.     CmdTogglePaginate,        {118. Toggle Pagination display}
  149.     CmdToggleAttribute,       {119. Toggle on-screen attribute display}
  150.     CmdCenterLine,            {120. Center the current line in margins}
  151.     CmdSetColors,             {121. Set editor colors}
  152.     CmdSaveDefaults,          {122. Save colors, toggles, etc for new time}
  153.  
  154.     {Utility Commands}
  155.     CmdPrintFile,             {123. Print a file}
  156.     CmdFlushUndo,             {124. Flush undo buffer}
  157.     CmdUnused4,               {125. For expansion}
  158.     CmdUnused5,               {126. For expansion}
  159.     CmdLogDrive,              {127. Log drive or path}
  160.     CmdDirectory,             {128. Show directory}
  161.  
  162.     {Additional commands}
  163.     CmdGotoPage,              {129. Go to specified page}
  164.     CmdSetTopMargin,          {130. Set default top margin}
  165.     CmdSetBotMargin,          {131. Set default bottom margin}
  166.     CmdSetPageLength,         {132. Set default page length}
  167.     CmdSetUndoLimit,          {133. Set default undo limit}
  168.     CmdToggleTabExpansion,    {134. Toggle tab expansion on read-in}
  169.     CmdGetDefaultExtension,   {135. Get a new default file extension}
  170.  
  171.     CmdSetTabLine,            {136. Set the tabs}
  172.     CmdSetTabSize,            {137. Set default tab size}
  173.     CmdSaveTabLine,           {138. Write current tab line into text}
  174.     CmdEditTabLine,           {139. Interactively edit the tabs}
  175.     CmdSetTempMargin,         {140. Set temporary margin for word wrap}
  176.     CmdReformBlock,           {141. Reformat marked block}
  177.     CmdCloseTillLast,         {142. Close window, on last one, enter menus}
  178.  
  179.     CmdPromptSetMarker,       {143. Prompt for a marker number to set}
  180.     CmdPromptJumpMarker,      {144. Prompt for a marker to jump to}
  181.     CmdPromptInsertMacro,     {145. Prompt for a macro to insert}
  182.     CmdToggleTabMode,         {146. Toggle between fixed and "smart" tabs}
  183.     CmdSetTempAtCursor,       {147. Set temporary margin at current column}
  184.     CmdSetSupportPath,        {148. Set the path to all the support files}
  185.     CmdToggleStripMode,       {149. Toggle high bit stripping on read-in}
  186.     CmdEditMacro,             {150. Edit a macro}
  187.     CmdWriteNamedFile,        {151. Save current window to another file}
  188.  
  189.     CmdToggleKeyHelp,         {152. Toggle display of keyboard help in menu system}
  190.     CmdWindowUp,              {153. Move to previous window}
  191.     CmdNextSentence,          {154. Next sentence}
  192.     CmdPrevSentence,          {155. Previous sentence}
  193.     CmdRestoreDefaultTabs,    {156. Restore to default (even) tabs}
  194.     CmdWhatFont,              {157. What font is cursor on}
  195.     CmdChooseBold,            {158. Insert Bold toggle}
  196.     CmdChooseDbl,             {159. Insert Doublestrike toggle}
  197.     CmdChooseUnd,             {160. Insert Underscore toggle}
  198.     CmdChooseSup,             {161. Insert Superscript toggle}
  199.     CmdChooseSub,             {162. Insert Subscript toggle}
  200.     CmdChooseAlt1,            {163. Insert Alt1 font toggle}
  201.     CmdChooseAlt2,            {164. Insert Alt2 font toggle}
  202.     CmdToggleRetraceMode,     {165. Toggle snow checking}
  203.     CmdToggleSolidCursor,     {166. Toggle block cursor mode}
  204.     CmdToggleEga43Line,       {167. Toggle EGA 43 line mode}
  205.     CmdMarginRelease,         {168. Set margin release}
  206.     CmdSpellCheck,            {169. Check spelling}
  207.  
  208.     CmdUnused6,               {170. Not used}
  209.  
  210.     CmdToggleWriteTabs,       {171. Toggle tabs written to compress output}
  211.     CmdToggleCompressWrap,    {172. Toggle compression prior to wrap}
  212.     CmdToggleInitZoomState,   {173. Toggle default zoom state}
  213.  
  214.     CmdHelpMenu,              {174. Help summary menu}
  215.     CmdHelpHelp,              {175. Help regarding help system}
  216.     CmdCursorHelp,            {176.}
  217.     CmdQuickHelp,             {177.}
  218.     CmdDeleteHelp,            {178.}
  219.     CmdFindHelp,              {179.}
  220.     CmdFileHelp,              {180.}
  221.     CmdWindowHelp,            {181.}
  222.     CmdBlockHelp,             {182.}
  223.     CmdTextHelp,              {183.}
  224.     CmdTabHelp,               {184.}
  225.     CmdUtilityHelp,           {185.}
  226.     CmdSettingHelp,           {186.}
  227.     CmdSpellingHelp,          {187.}
  228.     CmdMacroHelp,             {188.}
  229.     CmdFormatHelp,            {189.}
  230.     CmdFunctionKeyHelp,       {190.}
  231.  
  232.     {These four should be kept last}
  233.     CmdMenu,                  {191. Activate the menu system}
  234.     CmdAbort,                 {192. Abort current operation}
  235.     CmdNull,                  {193. No operation indicated}
  236.     CmdNullMain               {194. No op indicated, submenu accessible with no file open}
  237.     );
  238.