(Created page with "<seo title="Copy Text Between Files | vEdit" description="Learn to use a text register in vEdit to copy portions from one file to another while editing two files at the same t...")
 
Line 14: Line 14:
  
 
==Related Resources==
 
==Related Resources==
*[[Main_Page|Wiki Home]]
+
*[[Editing_Multiple_Files|Editing Multiple Files Overview]]
 
*[[Main_Page#section-editing|Edit EBCDIC, ASCII, ANSI, Hex, Text and Multiple Files]]
 
*[[Main_Page#section-editing|Edit EBCDIC, ASCII, ANSI, Hex, Text and Multiple Files]]
 +
*[[Main_Page|Wiki Home]]

Revision as of 14:37, 20 February 2017


A common reason for editing two files is to copy portions from one file to another, this requires the use of a text register.

How to Copy Text From One Files to Another

  1. Highlight the block in the normal fashion. Either a stream, line or columnar block can be copied. You may want to use BLOCK > Set stream marker(F9 or the toolbar) to highlight a very large block.
  2. Select BLOCK > Copy to register (normal hot-key: Ctrl-F11 or Numpad+). Enter the desired text register number; we suggest “0” through “9”. You can immediately press Enter > <kbdCtrl-F11</kbd> or Numpad+ again to select register “0”, also called the scratchpad.
  3. Switch to the second file and move the cursor to the desired position.
  4. Select BLOCK > Insert register (normal hot-key: F11 or Numpad*). Select the same text register as in step 2.

You will receive an error message if the block is too large to fit in a text register. Use the article Cut and Paste Large Blocks to correct this error.

Related Resources