home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / q / qedtips1.zip / TECH6.MSG < prev   
Text File  |  1992-07-24  |  7KB  |  129 lines

  1.  
  2.           A QEdit Tip from the SemWare Technical Support Staff
  3.  
  4.                 .. Manipulating Marked Blocks (Part A)..
  5.  
  6.         QEdit provides several ways to manipulate a marked Block.
  7.         Manipulation can be done directly, using the scrap buffer
  8.         (Clipboard), or using the scratch buffers.  Following is a
  9.         description of each of QEdit's block manipulation commands along
  10.         with our default key combinations.
  11.  
  12.         Manipulating Directly
  13.         ~~~~~~~~~~~~~~~~~~~~~
  14.         The following commands allow you to manipulate a marked Block
  15.         directly.
  16.  
  17.         CopyBlock <Alt C> - will make a copy of the marked Block and
  18.             insert it where you decide.  This can be either in another
  19.             place in the same file, or in another file.  To use this
  20.             command, mark the Block and move the cursor to the position
  21.             where you wish to insert the marked text. Now press <Alt C>
  22.             and notice the Block will be inserted at the new position.
  23.             To unmark the copied Block, enter the UnmarkBlock command.
  24.  
  25.         CopyOverBlock <Alt Z> - will work just like the CopyBlock
  26.             command except the Block is copied to the current cursor
  27.             position by overlaying the existing text.  The command can
  28.             _only_ be used with column Blocks.  The Block will be
  29.             inserted without shifting the text to the right.
  30.  
  31.         MoveBlock <Alt M> - will work just like the CopyBlock command
  32.             except that upon entering the MoveBlock command, the
  33.             original marked Block is deleted from the file.
  34.  
  35.         DeleteBlock <Alt G> - will delete a marked Block of text from
  36.             the file.  To use this command, mark the Block of text to be
  37.             deleted, then enter the DeleteBlock command.
  38.  
  39.         ShiftLeft <Shift 7> and ShiftRight <Shift F8> - will shift the
  40.             text contained in a marked Block one column to the left or
  41.             right.  To use these commands, mark the Block and enter the
  42.             ShiftLeft or ShiftRight command.  If there is not a marked
  43.             Block or the cursor is outside of the Block, the current
  44.             cursor line will be shifted.
  45.  
  46.         Manipulating Using the Scrap Buffer (Clipboard)
  47.         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  48.         The Scrap Buffer is a temporary holding area for marked Blocks
  49.         of text.  The commands Cut, Copy, Paste, and PasteOver are
  50.         solely responsible for manipulating text to and from the Scrap
  51.         Buffer.
  52.  
  53.         Cut <grey -> - will copy the marked Block into the Scrap Buffer.
  54.             The Block is then deleted from the file being edited.  If no
  55.             Block is marked, the cursor line is cut into the Scrap
  56.             Buffer.
  57.  
  58.         Copy <grey +> - will copy the marked Block into the Scrap
  59.             Buffer and then unmark the Block.  If no Block is marked,
  60.             the cursor line is copied into the Scrap Buffer.
  61.  
  62.         Paste <grey *> - will insert the contents of the Scrap Buffer to
  63.             the current cursor position.  If the Scrap Buffer contains a
  64.             character or column Block, it is inserted at the cursor
  65.             position.  If the Scrap Buffer contains a line Block, it is
  66.             inserted before or after the cursor line depending on the
  67.             configuration setting.
  68.  
  69.         PasteOver <Ctrl PrtSc> - will work like the Paste command, but
  70.             for column Blocks.  It takes a column Block which has been
  71.             loaded into the Scrap Buffer using the Cut or Copy commands
  72.             and places it at the current cursor position by overlaying
  73.             the existing text and without shifting text to the right.
  74.  
  75.         When you issue a Copy or Cut command, the marked Block is placed
  76.         in the Scrap Buffer.  The next time you Copy or Cut a Block into
  77.         the Scrap Buffer, the previous contents of the Scrap Buffer are
  78.         deleted and replaced with the new Block.
  79.  
  80.         You can use the Paste and PasteOver commands as many times as
  81.         needed to insert a copy of the Block held in the Scrap Buffer at
  82.         multiple positions in your file or files.  The Paste and
  83.         PasteOver commands will not purge the contents of the Scrap
  84.         Buffer.
  85.  
  86.         The Cut and Copy commands can be configured to act on the
  87.         current cursor line if no Block is marked.  This option can be
  88.         customized using the configuration program QCONFIG.EXE.  Run
  89.         QCONFIG.EXE, select A)dvanced options, and return till you get
  90.         to the option that reads:
  91.  
  92.                 Should Cut and Copy use the current line if no block
  93.                 marked (Y/N)? [N]
  94.  
  95.         The default configuration is set to <N> and will result in no
  96.         action if the Cut and Copy commands are used outside of a block.
  97.         If set to <Y>, QEdit will take use the current cursor line if
  98.         the Cut and Copy commands are issued.
  99.  
  100.         Manipulating Using the Scratch Buffer
  101.         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  102.         A Scratch Buffer is a special type of buffer to which you assign
  103.         a name.  QEdit allows you to create and name up to 99 Scratch
  104.         Buffers for each editing session.  These can be useful if you
  105.         have several different Blocks of text that you want to insert in
  106.         multiple locations.  The commands StoreScrbuff, AppendScrbuff,
  107.         and GetScrbuff are used to place text in, and retrieve text
  108.         from, a Scratch Buffer. Whenever you issue one of these
  109.         commands, QEdit will ask you for the name of the Scratch Buffer.
  110.         The contents of all Scratch Buffers are discarded when the
  111.         editor is terminated.
  112.  
  113.         StoreScrbuff <Ctrl B><S> - will copy the marked Block to the
  114.             named Scratch Buffer.  The editor will prompt for the name
  115.             of the Scratch Buffer.
  116.  
  117.         AppendScrbuff <Ctrl B><A> - will append the marked Block to the
  118.             end of the named Scratch Buffer.  The existing contents of
  119.             the named Scratch Bufferss are _not_ lost.  If the named
  120.             Scratch Buffer does not exist, a new Scratch Buffer will be
  121.             created.
  122.  
  123.         GetScrbuff <Ctrl B><L> - will insert the contents of the named
  124.             Scratch Buffer at the cursor position.
  125.  
  126.         Matthew Giles (SemWare Technical Support)
  127.  
  128.         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  129.