home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 19 / CD_ASCQ_19_010295.iso / vrac / tsetd2.zip / POTPOURR.DAT < prev    next >
Text File  |  1994-12-14  |  33KB  |  797 lines

  1.     ;
  2.     ;
  3.     ; SemWare Potpourri Macro data file.
  4.     ;
  5.     ; *WARNING*     DO NOT EDIT THIS FILE DIRECTLY!!!
  6.     ;
  7.     ; The Potpourri macro expects this file to be in a certain format.
  8.     ;
  9.     ;
  10. ASCII       Alternate ASCII chart
  11.  
  12.             Overview:
  13.  
  14.             This ASCII chart provides additional information for characters
  15.             0 thru 31.
  16.  
  17.             Keys:       (none)
  18.  
  19.             Usage notes:
  20.  
  21.             This macro does not have any key assignments.  To use, simply
  22.             select it from the Potpourri menu.
  23.  
  24. Adjust      Adjusts text in a marked block to the right, left or center
  25.  
  26.             Overview:
  27.  
  28.             This macro allows you to adjust text within a block by aligning
  29.             it either on the left or right, or by centering it.  If a column
  30.             block is marked, the macro operates on the text in the block
  31.             using the leftmost and/or rightmost column boundary (as
  32.             appropriate).  If a line or character block is marked, it
  33.             operates on the text on the lines spanned by the block, using the
  34.             left and/or right margin (as appropriate).  A selection menu
  35.             issued by the macro allows you to choose whether you want to left
  36.             adjust, right adjust, or center the text.
  37.  
  38.             Keys:       (none)
  39.  
  40.             Usage notes:
  41.  
  42.             This macro does not have any key assignments.  To use, simply
  43.             select it from the Potpourri menu.
  44.  
  45. Align       Aligns the current line with the cursor or the previous line.
  46.  
  47.             Overview:
  48.  
  49.             Align() positions the FirstNonWhite character on the current line
  50.             to the same position of the FirstNonWhite character on the
  51.             previous line or the first preceding non-blank line.  The cursor
  52.             will then be moved to the next line in the file.
  53.  
  54.             AlignAtCursor() positions the FirstNonWhite character on the
  55.             current line to the cursor position.  The cursor will then be
  56.             moved to the next line in the file.
  57.  
  58.             Keys:
  59.                       <Ctrl F5>       Align()
  60.                       <Ctrl F6>       AlignAtCursor()
  61.  
  62.             Usage notes:
  63.  
  64.             If the current line is blank, the cursor will still go to the next
  65.             line of the file, but no alignment will occur.
  66.  
  67. Book        Gives visual display of active bookmarks.
  68.  
  69.             Overview:
  70.  
  71.             These macros will give a visual display of all active bookmarks.
  72.             This comes in very handy when you cannot remember which bookmark
  73.             takes you to the desired location.  When you pop up the picklist,
  74.             a portion of the line where bookmarks are located will be
  75.             displayed so you can choose based on the content of the line.
  76.  
  77.             Keys:
  78.                       <Ctrl 1> mPlaceBookMark()
  79.                       <Ctrl 2> mGotoBookMark(kFORWARD)
  80.                       <Ctrl 3> mGotoBookMark(kBACKWARD)
  81.                       <Ctrl 4> mGotoBookMark(0)
  82.  
  83.             Usage notes:
  84.  
  85.             Using the <Ctrl 1> key, you can place bookmarks at any place in
  86.             any file.  The bookmarks are numbered in sequential order
  87.             beginning with 1.  Pressing the <Ctrl 2> and <Ctrl 3> keys will go
  88.             to the next and previous bookmarks respectively.  Pressing the
  89.             <Ctrl 4> key will invoke the pick list which shows the bookmark
  90.             number, file, line number, and part of the text on the line where
  91.             each bookmark is located.
  92.  
  93. CD          A "chdir" command for TSE.
  94.  
  95.             Overview:
  96.  
  97.             Provides a facility to change the current directory within TSE.
  98.             Either full or partial pathnames may be entered.  Limited to
  99.             drives identified by alphabetic letters followed by a colon (eg)
  100.             "c:".
  101.  
  102.             Detailed help is available by invoking the macro and following the
  103.             prompts.
  104.  
  105. Calendar    Displays a visual, changeable calendar.
  106.  
  107.             Overview:
  108.  
  109.             Three calendar displays are available -- Medium Size Single Month,
  110.             Three Months at a time and a Small Single Month (Alt-C to toggle
  111.             between them).
  112.  
  113.             A small calendar can be inserted into the current file with the
  114.             Alt-I key combination. Here is a sample:
  115.  
  116.                  ┌────────────────────┐
  117.                  │April      5th  1993│
  118.                  │Su Mo Tu We Th Fr Sa│
  119.                  │             1  2  3│
  120.                  │ 4[ 5] 6  7  8  9 10│
  121.                  │11 12 13 14 15 16 17│
  122.                  │18 19 20 21 22 23 24│
  123.                  │25 26 27 28 29 30   │
  124.                  └────────────────────┘
  125.  
  126.             Keys:
  127.                 Next Day                Cursor Up or Cursor Right
  128.                 Previous Day            Cursor Down or Cursor Left
  129.                  
  130.                 Next Month              +, SpaceBar or Enter
  131.                 Previous Month          - or BackSpace
  132.                  
  133.                 Next Year               Page Up
  134.                 Previous Year           Page Down
  135.                  
  136.                 First Day Of Month      Home
  137.                 Last Day Of Month       End
  138.                  
  139.                 First Day Of Year       Ctrl-Home
  140.                 Last Day Of Year        Ctrl-End
  141.                  
  142.                 Today                   Alt-T
  143.                 Change Calendar Type    Alt-C
  144.                 Insert Calendar into Text Alt-I
  145.                 Exit Calendar           Escape
  146.  
  147. ClipView    Simple ClipBoard Viewer utility for PROJECTS
  148.  
  149.             Overview:
  150.  
  151.             This file provides a simple clipboard viewer.  It allows
  152.             clipboards "A" through "Z" to be viewed.  It was written
  153.             as a support file for PROJECTS.
  154.  
  155.             Keys:       (none)
  156.  
  157.             Usage notes:
  158.  
  159.             This macro is may be executed from the PROJECTS macro or may be
  160.             execute directly from Potpourri or the "Execute Macro:" prompt.
  161.  
  162. Clock       Status line clock for TSE
  163.  
  164.             Overview:
  165.  
  166.             This clock uses binary support to help determine whether or not
  167.             data is overlaying the spot where the time would go.  It also
  168.             retrieves its color attribute byte from the first byte on the
  169.             screen, so it always knows what color to set the clock to.
  170.  
  171.             In addition, if "Eliminate Snow" is set within TSE, snow checking
  172.             will also be done in the binary, if the card is determined by the
  173.             binary to be a CGA card.
  174.  
  175.             Keys:       (none)
  176.  
  177.             Usage notes:
  178.  
  179.             Simply load or execute this macro to display a simple clock on the
  180.             statusline.
  181.  
  182. Cmp2BkUp    Compares the current file to a backup file
  183.  
  184.             Overview:
  185.  
  186.             The user will be prompted for a backup filename.  This backup file
  187.             may be inside an "ARC", "ARJ", "LZH", or "ZIP" file, or it may be
  188.             a stand alone file.  If the file is inside an archive, then the
  189.             filename must be the same as the current filename.  Note that
  190.             there may be many different files inside the archive, but only the
  191.             one that matches the current filename will be extracted.
  192.  
  193.             The two files will be split (either vertically or horizontally).
  194.             Cursor movement keystrokes will be fed to both windows so that
  195.             they move simultaneously, in sync with each other.
  196.  
  197.             Text may be scanned, and differences will be highlighted.
  198.  
  199.             The video mode may be changed from 25 to 28 to 43 to 50 lines to
  200.             show more detail.
  201.  
  202.             F1 is available for help.
  203.  
  204.             Whitespace characters (spaces and tabs) are automatically
  205.             converted to a single space character by default, in an effort to
  206.             reduce false comparisons.  This option may be toggled by pressing
  207.             the "W" key.
  208.  
  209.             Once a re-sync has been accomplished, both windows will update to
  210.             the end of the difference text, with the re-synced lines adjacent
  211.             to each other on line 12 of the screen.  Difference text will be
  212.             marked in both windows, for easy comparison.  Press the grey- key
  213.             to retreat to the BEGINNING of the difference text, then press the
  214.             grey+ key to move back to the END of the difference text.  Hit the
  215.             enter again to continue the search process, -- to find and
  216.             highlight the next difference.
  217.  
  218.             Keys:       (none)
  219.  
  220.             Usage notes:
  221.  
  222.             This macro is designed to be run from PROJECTS or may be executed
  223.             directly from Potpourri.  It is automatically purged when done.
  224.  
  225.             LIMITATIONS: -Line length must be under 256 characters.
  226.  
  227.                          -although whitespace errors will NOT cause files that
  228.                           are already in sync to de-sync (unless the
  229.                           whitespace filter is turned off), TSE's basic search
  230.                           mechanism is used to re-sync, and whitespace cannot
  231.                           be filtered out here.  This is usually not too big
  232.                           of an issue unless you completely en-tab, or de-tab
  233.                           one of the two files.  Then re-syncing will NOT take
  234.                           place.
  235.  
  236.                          -Your file decompressor must be in the path, or a
  237.                           "File Not Found"  error message will result.
  238.  
  239.             The usual disclaimer -- Use these macros at your own risk! I will
  240.             in NO WAY be responsible for ANY problems resulting in their use.
  241.  
  242. Colors      Color Syntax Highlighting
  243.  
  244.             Overview:
  245.  
  246.             Color Syntax Highlighting for TSE.  Color templates are provided
  247.             for files with the following extensions:
  248.  
  249.                 .S, .C, .ASM, .ASP, .BAS, .BAT, .BTM, .CBL, .FOR, .MOD,
  250.                 .PAS, .PRG, .SIM, .SLT, and .SYS.
  251.  
  252.             Note: By default any file which does not have a color file set
  253.             up for its particular extension will use the default colors
  254.             defined in the COLOR.TSE file.
  255.  
  256.             To modify the pre-defined color groups, execute COLORS and select
  257.             "Customize Color Groups" from the menu.
  258.  
  259.             You may easily create your own custom color template files, as
  260.             well.  Follow the directions given in "CUSTOM.DOC" which resides
  261.             in the MAC\COLOR\ subdirectory.  Additional information may be
  262.             found in MAC\COLOR\COLORS.DOC.
  263.  
  264.             Coloring is controlled via "color template files" (having
  265.             extensions of ".tse") which may be customized by you.
  266.  
  267.             Keys:       (none)
  268.  
  269.             Usage notes:
  270.  
  271.             This macro does not have any key assignments.  To use, simply
  272.             select it from the Potpourri menu.  Or, if you want it to load
  273.             each time the editor loads, execute COLORS and select the "Add
  274.             COLORS to AutoLoad List" option from the menu.
  275.  
  276.             This macro does not support comments or keywords partially or
  277.             fully scrolled off the screen.
  278.  
  279. Date        Inserts current date (format includes Month spelled out)
  280.  
  281.             Overview:
  282.  
  283.             This macro inserts the current date with the full name of the
  284.             month and a 4-digit year.  The format is as follows:
  285.  
  286.                               January 27, 1994.
  287.  
  288.             Keys:       (none)
  289.  
  290.             Usage notes:
  291.  
  292.             This macro does not have any key assignments.  To use, simply
  293.             select it from the Potpourri menu.
  294.  
  295. DelToBol    Delete text from cursor to beginning of current line.
  296.  
  297.             Overview:
  298.  
  299.             This macro is the complement to the DelToEol() command.  All text
  300.             from the beginning of the line through the position preceding the
  301.             cursor will be deleted.
  302.  
  303.             Keys:       (none)
  304.  
  305.             Usage notes:
  306.  
  307.             This macro does not have any key assignments.  To use, simply
  308.             select it from the Potpourri menu.
  309.  
  310. EditFile    EditFile() enhancement macro
  311.  
  312.             Overview:
  313.  
  314.             This macro collection enhances EditFile() by trying to load the
  315.             file from the current directory first, and if unsuccessful, it
  316.             then tries the current file's directory.  If wildcards are used,
  317.             two picklists will be presented -- one for the current directory
  318.             and one for the current file's directory.
  319.  
  320.             Keys:
  321.                   <Alt E>  SmartEditfile()
  322.  
  323.             Usage notes:
  324.  
  325.             Simply load this macro and press <Alt E> to pull up the
  326.             SmartEditFile() prompt.
  327.  
  328. Expand      Expands the current partial word based on match in current file.
  329.  
  330.             Overview:
  331.  
  332.             This macro file provides a macro that operates like a limited,
  333.             dynamic Template mode.  It expands, or completes, the "partial"
  334.             word to the left of the cursor based on other words in the file.
  335.             When you execute Expand from the Potpourri PickList, the Expand
  336.             macro is assigned to <Ctrl H>.
  337.  
  338.             Keys:
  339.                         <Ctrl H>  Expand()
  340.  
  341.             Usage notes:
  342.  
  343.             With this macro activated, just press <Ctrl H> each time you want
  344.             to complete the partial word immediately preceding the cursor.
  345.             The macro searches backward and forward in the file for words
  346.             that begin with the string that you typed as the partial word.
  347.             If only one match is found, the partial word is replaced with the
  348.             expanded word.  If multiple matches are found, the macro first
  349.             displays a PickList of expanded entries from which you can
  350.             choose.  To select an expanded word from the PickList, move the
  351.             cursor bar over the desired entry and press <Enter>.  Your
  352.             partial word is then replaced in the text with the expanded word
  353.             you selected.
  354.  
  355. Expr        Calculates the value of a specified mathematical expression.
  356.  
  357.             Overview:
  358.  
  359.             This macro operates as a simple calculator, and handles decimal
  360.             or hexadecimal numbers.  For decimal numbers, only whole numbers
  361.             are accepted.
  362.  
  363.             Keys:       (none)
  364.  
  365.             Usage notes:
  366.  
  367.             This macro does not have any key assignments.  To use, simply
  368.             select it from the Potpourri menu.
  369.  
  370.             The following operations are available:
  371.  
  372.                       >      SHR      (bitwise shift right)
  373.                       <      SHL      (bitwise shift left)
  374.                       ~      COMP     (2's complement)
  375.                       %      MOD      (modulo division)
  376.                       &      AND      (bitwise AND)
  377.                       |      OR       (bitwise OR)
  378.                       ^      XOR      (bitwise eXclusive-OR)
  379.                       +      Addition
  380.                       -      Subtraction
  381.                       *      Multiplication
  382.                       /      Division
  383.  
  384.             Precedence is as in SAL, but can be forced by using parenthesis.
  385.  
  386.             Hex number may be entered using C format, or ending with an 'h'
  387.             or '$'.  Regardless, the first character _must_ be numeric.
  388.  
  389. FillNum     Fill a _COLUMN_ block with a sequence of numbers.
  390.  
  391.             Overview:
  392.  
  393.             This macro fills a column block with a series of numbers that can
  394.             be incremented or decremented.  You specify the beginning and
  395.             (optionally) ending number in the series, as well as the positive
  396.             or negative amount by which to increment or decrement the series.
  397.  
  398.             Keys:       (none)
  399.  
  400.             Usage notes:
  401.  
  402.             This macro does not have any key assignments.  To use, simply
  403.             select it from the Potpourri menu.
  404.  
  405. FindEOL     Macros to find and replace text that include the end of line.
  406.  
  407.             Overview:
  408.  
  409.             This macro file provides a group of macros that allow you to find
  410.             and replace text that includes the end of line, if you specify
  411.             the end of line (as "$") in the search string.  These macros are
  412.             useful for locating a text string that begins on one line, and
  413.             ends on another.  They are also useful for such tasks as:
  414.  
  415.               ∙ Deleting extra blank lines in a file
  416.  
  417.                 For example, to change all occurrences of 2 blank lines to a
  418.                 single blank line, use this macro to search for "$$$" and
  419.                 replace with "$$".
  420.  
  421.               ∙ Removing trailing text from certain lines
  422.  
  423.                 For example, to remove a trailing comma from any lines
  424.                 immediately followed by a blank line, use this macro to
  425.                 search for ",$$" and replace with "$$".
  426.  
  427.             When you execute this macro file, special find, replace, and
  428.             repeat find/replace macros are assigned to keys.  A message is
  429.             displayed to identify the key to which each macro is assigned.
  430.  
  431.             Keys:
  432.                <AltShift F>  FindReplaceEol(TRUE)   // Find only
  433.                <AltShift R>  FindReplaceEol(FALSE)  // Find and Replace
  434.                <AltShift L>  RepeatFindReplaceEol() // RepeatFind
  435.  
  436.             Usage notes:
  437.  
  438.             There are a few limitations to this macro:
  439.  
  440.               1 - Does not support regular expressions.
  441.               2 - Search string cannot be a single '$'.
  442.               3 - When lines are joined by replacing the '$' with nothing,
  443.                   the resulting line must be less than the max line length.
  444.  
  445. InsMatch    Inserts the matching character for a specific groups of chars.
  446.  
  447.             Overview:
  448.  
  449.             This macro causes the editor to insert the matching character for
  450.             a specific group of bracketing character pairs, including the
  451.             following:  [], (), {}, <>, '', "".  Execute this macro to toggle
  452.             the "insert matching" mode ON or OFF.  When ON, the matching
  453.             character of a pair is automatically inserted when you type the
  454.             first character.  For example, if you enter the character {, this
  455.             macro inserts the matching character, }.
  456.  
  457.             Keys:     Char  Inserts
  458.                         [     []
  459.                         '     ''
  460.                         "     ""
  461.                         {     {}
  462.                         <     <>
  463.  
  464.             Usage notes:
  465.  
  466.             This macro does not have any key assignments.  To use, simply
  467.             select it from the Potpourri menu.
  468.  
  469.             Each time this macro is executed, the EnterMatching state is
  470.             toggled.  The first time, EnterMatching is enabled.  To disable,
  471.             simple execute the macro again.
  472.  
  473. Justify     Justifies a paragraph based on the right margin.
  474.  
  475.             Overview:
  476.  
  477.             This macro work just like the WrapPara() command, but also
  478.             justifies each line to the RightMargin.
  479.  
  480.             Keys:       (none)
  481.  
  482.             Usage notes:
  483.  
  484.             This macro does not have any key assignments.  To use, simply
  485.             select it from the Potpourri menu.
  486.  
  487. LongstLn    Locates the longest line in the current file or block.
  488.  
  489.             Overview:
  490.  
  491.             This macro locates the longest line in the current file.  When
  492.             you execute this macro, you are positioned on the longest line,
  493.             and its length is displayed on the StatusLine.  If a block is
  494.             marked in the current file, then the search is limited to the
  495.             block.
  496.  
  497.             Keys:       (none)
  498.  
  499.             Usage notes:
  500.  
  501.             This macro does not have any key assignments.  To use, simply
  502.             select it from the Potpourri menu.
  503.  
  504. Para        Macros to go to the end and to the next and previous paragraph.
  505.  
  506.             Overview:
  507.  
  508.             These macros will position the cursor on the next or previous
  509.             paragraph, or at the end of the current paragraph.  They assume
  510.             that there is at least one blank line between paragraphs.
  511.  
  512.             Keys:
  513.                       <Ctrl CursorDown>       NextPara()
  514.                       <Ctrl CursorUp>         PrevPara()
  515.                       <Ctrl CenterCursor>     EndPara()
  516.  
  517.             Usage notes:
  518.  
  519.             If you wish to make this macro a permanent part of your
  520.             configuration, then simply add "Para" to the AutoLoad list on
  521.             the Macro menu.
  522.  
  523. Projects    Project management macro for saving and restoring files
  524.  
  525.             Overview:
  526.  
  527.             Project management macro for TSE.  This macro will save currently
  528.             loaded files and several pre-defined editing variables as a named
  529.             project.  The macro may then be run to reload the previously saved
  530.             files for a given project.
  531.  
  532.             Keys:
  533.                   <Ctrl K><M>         ShowMainMenu()
  534.                   <Ctrl K><P>         SaveProjectFiles()
  535.                   <Ctrl K><A>         SaveProjectFilesAndExit()
  536.  
  537.             Usage notes:
  538.  
  539.             Executing Project will prompt the user with a menu allowing
  540.             PROJECTS to be added to the AutoLoad list.  Adding PROJECTS to the
  541.             AutoLoad list will allow projects from the command line or from an
  542.             initial picklist each time the editor is executed.
  543.  
  544.             To make changes to this macro or assign pre-defined functions
  545.             to keys, see the "User Configurable Area" below.
  546.  
  547.             This file contains source for SAVING/RESTORING project
  548.             information. Projects are stored in a PRJ subdirectory located
  549.             just after the directory where the PROJECTS macro is located (eg)
  550.             C:\TSE\MAC\PRJ.
  551.  
  552.             Now, when you save a project, you will be presented with a message
  553.             box asking you for a project name (!!LAST!! is the default) Note
  554.             that you should select your own name for the project, since
  555.             !!LAST!! will be overwritten each time a project is saved.  That's
  556.             it -- project information will be saved, and made available for
  557.             later restoration.  This allows for NEAR SEAMLESS EDITING across
  558.             sessions.
  559.  
  560.             It is UNNECESSARY to change into the PRJ subdirectory to restart a
  561.             project.  Simply type "e projectname" (with or without the ".PRJ"
  562.             extension), and TSE will automatically open that project for you
  563.             -- REGARDLESS OF THE CURRENT DIRECTORY SETTING. (Note also that it
  564.             is NOT necessary to have the "PRJ" subdirectory in your path
  565.             statement).
  566.  
  567.             Although this is convenient, there is ANOTHER WAY.  Every time a
  568.             project is saved, TWO project files are created -- one with the
  569.             project name that you assign when you exit the editor, and the
  570.             other with the name "!!LAST!!.PRJ".  Since an "!" is near the
  571.             beginning of the alphabet, this file should always be the first
  572.             file in a picklist of files.  By starting the editor with just "e
  573.             <enter>", this picklist will be displayed.  Simply press <enter> a
  574.             second time to edit the LAST PROJECT FILES, or move through the
  575.             picklist to choose another project.  If you do not wish to edit a
  576.             project, just press <Escape> to get the familiar "File(s) to edit"
  577.             box.
  578.  
  579.             Saved information is as follows:
  580.  
  581.             ALL FILENAMES currently being edited.
  582.             ALL STANDARD BOOKMARKS across ALL files.
  583.             ALL AUDIT BOOKMARKS across ALL files.
  584.             ALL KEYSTROKE MACROS (including scrap macro).
  585.             The CURRENT DRIVE AND DIRECTORY.
  586.             The VIDEO MODE (25, 28, 43, or 50 lines).
  587.             The MAIN CLIPBOARD DATA (all marking types).
  588.             Up to 26 NAMED CLIPBOARDS (single characters "A" through "Z" only).
  589.             Any MARKED BLOCK (all marking types).
  590.             The state of INSERT.
  591.             The state of AUTOINDENT.
  592.             The state of WORDWRAP.
  593.             The state of the RIGHT MARGIN.
  594.             The state of the HEX display function.
  595.             The state of the BINARY display function.
  596.             ALL HISTORY information.
  597.  
  598. RePage      Places page-breaks in current file based on printer settings.
  599.  
  600.             Overview:
  601.  
  602.             This macro places formfeed characters (ASCII 12) throughout a
  603.             file, based on the page size.  (The page size is determined by
  604.             the value of the PrintLinesPerPage variable, which can be set
  605.             from the Print Menu, by selecting "Lines Per Page" under "Set
  606.             Options").  When you execute this macro, it pauses on each line
  607.             where a formfeed should go, according to the page size, and
  608.             places a cursor bar on that line.  You can then select that line
  609.             on which to place the formfeed, or move the cursor bar to a
  610.             previous line in the file to select a different line on which to
  611.             place the formfeed. After you select the line for the formfeed,
  612.             the macro resumes, relative to the location of the selected line.
  613.  
  614.             Keys:       (none)
  615.  
  616.             Usage notes:
  617.  
  618.             This macro does not have any key assignments.  To use, simply
  619.             select it from the Potpourri menu.
  620.  
  621. Shift       Enables <Shift>+cursor-keys to emulate CUA-style block marking.
  622.  
  623.             Overview:
  624.  
  625.             This macro modifies the <Shift>+cursor-keys to emulate CUA-style
  626.             block marking and manipulating.  It also assigns other keys to
  627.             comply with CUA standards, including key assignments for Paste
  628.             (from the System ClipBoard), CopyBlock (from the System
  629.             ClipBoard), Cut (to the System ClipBoard), and DelBlock.
  630.  
  631.             Keys:
  632.                   <Shift Ins>         Paste()
  633.                   <Ctrl Ins>          Copy()
  634.                   <Shift Del>         Cut()
  635.                   <Ctrl Del>          DelBlock()
  636.                   <Shift CursorRight> ShiftCursor()
  637.                   <Shift CursorLeft>  ShiftCursor()
  638.                   <Shift CursorUp>    ShiftCursor()
  639.                   <Shift CursorDown>  ShiftCursor()
  640.                   <Shift Home>        ShiftCursor()
  641.                   <Shift End>         ShiftCursor()
  642.                   <Shift PgUp>        ShiftCursor()
  643.                   <Shift PgDn>        ShiftCursor()
  644.  
  645.             Usage notes:
  646.  
  647.             If you wish to make this macro a permanent part of your
  648.             configuration, then simply add "Shift" to the AutoLoad list on
  649.             the Macro menu.
  650.  
  651. ShowKey     Displays information about keys available in TSE.
  652.  
  653.             Overview:
  654.  
  655.             This macro displays information about the assignable keys on the
  656.             keyboard. When you execute this macro, an information chart is
  657.             displayed on the screen.  You then press a key or key-combination
  658.             (using the <Ctrl>, <Shift>, and <Alt> keys).  If the key is one
  659.             that the editor recognizes as an assignable key, a line is
  660.             displayed in the chart that identifies the following information
  661.             for that key:
  662.  
  663.               ∙ screen display character (if applicable)
  664.  
  665.               ∙ ASCII code
  666.  
  667.               ∙ scan code
  668.  
  669.               ∙ hexadecimal representation
  670.  
  671.               ∙ decimal representation
  672.  
  673.               ∙ key name (that is, the "name" to use for that key in an editor k
  674.                 assignment)
  675.  
  676.             If the key is not assignable, nothing is displayed when you press
  677.             the key.
  678.  
  679.             Keys:       (none)
  680.  
  681.             Usage notes:
  682.  
  683.             This macro does not have any key assignments.  To use, simply
  684.             select it from the Potpourri menu.
  685.  
  686. Sum         Sums a column of numbers marked as a _COLUMN_ block.
  687.  
  688.             Overview:
  689.  
  690.             This macro sums up a column of numbers that have been marked in
  691.             the text as a column block.  The result is optionally inserted in
  692.             the text.  Sum handles decimal and hexadecimal numbers.  For
  693.             decimal numbers, it accepts positive and negative (identified
  694.             with a preceding "-" sign) numbers, as well as decimal-point
  695.             fractions.
  696.  
  697.             Keys:       (none)
  698.  
  699.             Usage notes:
  700.  
  701.             This macro does not have any key assignments.  To use, simply
  702.             select it from the Potpourri menu.
  703.  
  704.             Sums either base 10 (decimal), base 16 (hexadecimal), or mixed.
  705.  
  706.             For base 10, a fractional part is allowed and may be up to 8
  707.             decimal places.  Fractions are disallowed for hexadecimal
  708.             numbers.
  709.  
  710.             For base 16, a preceding '0x' is ignored as is a trailing 'h'
  711.  
  712.             For mixed base, a preceding '0x' or a valid hexadecimal letter
  713.             a-f or a trailing 'h' forces base 16 for that entry. Otherwise,
  714.             base 10 is assumed.
  715.  
  716.             The fractional part is maintained within (-1,1) to avoid
  717.             overflow.
  718.  
  719.             Commas within a number are ignored.
  720.  
  721.             Only the final result is placed in the necessary form for
  722.             display.
  723.  
  724.             To find a number, the cursor scans left to right until a numeric
  725.             sign or valid number is encountered.  Only whitespace is skipped.
  726.             Also, only one sign is allowed.  In other words, --1 is not
  727.             allowed.
  728.  
  729. TabUtil     Converts tab characters to spaces, or spaces to tab characters.
  730.  
  731.             Overview:
  732.  
  733.             This macro converts tab characters in the current file to spaces,
  734.             or converts spaces to tab character.  When invoked, a menu is
  735.             presented allowing you to select Entab or Detab.
  736.  
  737.             To limit the scope of the conversion to a block, execute the macro
  738.             from within a marked block.  NOTE that it will convert the entire
  739.             line that the blocks cross.
  740.  
  741.             Usage notes:
  742.  
  743.             This macro does not have any key assignments.  To use, simply
  744.             select it from the Potpourri menu.
  745.  
  746.             When entabbing, if a tab character or a single or double quote is
  747.             encountered, the rest of that line is not entabbed.
  748.  
  749. Where       A "whereis" command for TSE.
  750.  
  751.             Overview:
  752.  
  753.             This command will search a drive or multiple drives for the
  754.             specified file, and present the user with a list of all such found
  755.             files.  From this list, you can either edit or delete the file.
  756.  
  757.             Usage notes:
  758.  
  759.             Normally, whereis searches the drives that have been specified via
  760.             the configuration menu.  However, you can override the default by
  761.             specifying one or more drives along with the filename, as in:
  762.             "cde:*.doc", which would search drives "c", "d", and "e" for all
  763.             "*.doc" files.
  764.  
  765.             Searches may also include a path, for instance:
  766.  
  767.             C:\TSE\*.MAC will find all ".MAC" files in all of the TSE
  768.             subdirectories. (eg) C:.\*.EXE will find all ".EXE" files
  769.             beginning with the current directory.
  770.  
  771. Wipe        Move or Cut a block and fill will spaces.
  772.  
  773.             Overview:
  774.  
  775.             This macro file provides two macros:  MoveWipe, which is a
  776.             variation of the MoveBlock command; and CutWipe, which is a
  777.             variation of the Cut (to the System ClipBoard) command.  When you
  778.             execute Wipe from the Potpourri PickList, MoveWipe is assigned to
  779.             <AltShift M>, and CutWipe is assigned to <Shift Grey*>.  These
  780.             macros behave similarly to the commands on which they are based,
  781.             except that the area of text from which the block is moved or
  782.             cut, is filled with spaces.  Also, with MoveWipe, if a column
  783.             block is moved, the editor overlays existing text with the
  784.             contents of the block, rather than inserting the contents of the
  785.             block into its new location.
  786.  
  787.             Keys:
  788.                   <AltShift M>        MoveWipe()
  789.                   <AltShift Grey->    CutWipe()
  790.  
  791.             Usage notes:
  792.  
  793.             If you wish to make this macro a permanent part of your
  794.             configuration, then simply add "Shift" to the AutoLoad list on
  795.             the Macro menu.
  796.  
  797.