Browse Prior Art Database

Method to Perform String Block Operations That Automatically Maintain the Left Margin Space

IP.com Disclosure Number: IPCOM000038393D
Original Publication Date: 1987-Jan-01
Included in the Prior Art Database: 2005-Jan-31
Document File: 3 page(s) / 62K

Publishing Venue

IBM

Related People

Pancoast, ST: AUTHOR [+3]

Abstract

A method is described for users to maintain their left margin alignment during block moves and copies in a text processing type application. In the described method the block operations are character string oriented, in other words, when a block is marked, only the characters in the ASCII stream from the first to the last are included in the block. A block does not refer to a set of characters within a geometric area marked by opposite corners, as in some implementations of block operations. The implementation of block operations described allows the flexibility of specifying any size string of characters to be contained in the block. When moving or copying a paragraph, the tendency is not to include the left margin spacing of the first line.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 59% of the total text.

Page 1 of 3

Method to Perform String Block Operations That Automatically Maintain the Left Margin Space

A method is described for users to maintain their left margin alignment during block moves and copies in a text processing type application. In the described method the block operations are character string oriented, in other words, when a block is marked, only the characters in the ASCII stream from the first to the last are included in the block. A block does not refer to a set of characters within a geometric area marked by opposite corners, as in some implementations of block operations. The implementation of block operations described allows the flexibility of specifying any size string of characters to be contained in the block. When moving or copying a paragraph, the tendency is not to include the left margin spacing of the first line. This is shown in the example below, where underlining is used to show the defined block: This is a sample paragraph. The words

don't have to mean anything. This is a

sample paragraph. The words don't have

to mean anything. This is a sample

paragraph.

A A A A A A A A A A A A A A A

A A A A A A A A A A A A A A A A A A A A A A A A A A A B B B B B B B B B B B B B B B

B B B B B B B B B B B B B B B B B B B B B B B B B B B A block that is defined and moved or copied like this may not produce the intended results. For instance, if that paragraph is moved in between the "A" and "B" paragraphs, with the chosen insert point being the first "B", the results are: A A A A A A A A A A A

A A A A A A A A A A

A A A A A A A A A A A A A A A

A A A A A A This is a sample paragraph. The words don't have to mean anything. This is a

sample paragraph. The words don't have

to mean anything. This is a sample

paragraph.

B B B B B B B B B B B B B B B

B B B B B B B B B B B B B B B B B B B B B B B B B B B Notice that the
"B" paragraph lost its leading blank space. This occurred because the operator marked the block and chose the insert point based on the left margin (which is the normal "home" position), instead of column 1, which would have resulted in full lines being moved as desired. Notice also that the "A" paragraph has extra leading spaces on the first line that caused a portion of the...