(→Columnar Block Examples) |
(→Columnar Block Examples) |
||
| Line 21: | Line 21: | ||
The following screen shows a columnar block highlighted. Note that the cursor is in the lower right corner of the block: | The following screen shows a columnar block highlighted. Note that the cursor is in the lower right corner of the block: | ||
| + | [[File:Columnar_Block_Example_01.png|border|upright|class=img-responsive center-block|link=]] | ||
| + | After copying this block to a text register, the register will contain: | ||
<pre> | <pre> | ||
VEDIT works manipulate columns of text, a “columnar block” is a rectangle of characters in your file. It can be anywhere from one character wide to the full width of the text being edited and also extend from as little as one line to many pages in length. All of vEdit's block operations work with columnar blocks, also you can restrict a search/replace operation to the columnar block.
Columnar blocks are especially convenient for editing tabular data such as a spreadsheet or a database. For example, you could copy a table of numbers, say between lines 10 and 20 and between columns 30 and 40 to a text register. This columnar block of numbers can then be inserted anywhere else. To make columnar block operations as simple and useful as possible, VEDIT performs some additional manipulations on your text.
To perform columnar block operations mark the desired block with BLOCK > Set column marker ( Alt-I or toolbar). After setting the first block marker, the highlighting shows precisely which characters are included in the block. You will immediately notice the difference in the way the text is highlighted in Column Mode.
The following screen shows a columnar block highlighted. Note that the cursor is in the lower right corner of the block:

After copying this block to a text register, the register will contain:
VVVVVVVVV EEEEEEEEE DDDDDDDDD IIIIIIIII TTTTTTTT. VVVVVV...