TS - Text-Split a line





The number of temporary blank lines to be inserted between the split lines. If you do not type a number, or if the number that you type is 1, the editor inserts only one blank line.

The n value may be specified as 0 to request that no lines be inserted between the split lines.


To split a line:

    1. Type TS in the line command area of the line you would like to split. If you want to insert more than one temporary blank line between the split lines, type a number greater than 1 immediately after the TS command.

If you do not want any lines inserted between the split lines, enter this command as TS0.

Note: When the command TS0 is mapped to a key, it acts similar to how the Enter key does in a text editor like Notepad, by breaking apart a line at the point the key is pressed.

    1. Move the cursor to the desired split point.
    2. Press Enter.
    3. The line is split at the cursor location and the requested number of temporary blank insert lines are added.

For ease of splitting an individual line, the TS command is often mapped to a key using KEYMAP.  A suggested key to map for this purpose is Alt-S.

To rejoin lines, use the TF (text flow) line command.

See Word Processing Support for more information on all SPFLite word processing support, and for an Application Note on splitting lines based on a search string.

The Join line commands J/JJ and TJ/TJJ, and the Glue line commands G/GG and TG/TGG can also be used to join lines together.

To insert permanent blank lines rather than temporary blank lines, see TB / TBB - Text-Break Lines.

Relationship between TS, I and MASK Line Commands

The blank lines that are inserted at the point a line is split using the TS command are created in the same way that the I line command creates new lines.  That means that the new lines are temporary, and will contain '''''' in the sequence area.  You must manually type some data onto such temporary new lines to retain them.  Otherwise, those new lines will disappear the next time you press Enter, the same way that temporary new lines are treated when the I line command creates new lines.

In particular, this means that if a non-default, non-blank MASK line has been defined, one or more copies of the MASK line will be inserted at the point the line is split via TS.

See also the SPLIT - Split Lines Using Find/Change Strings primary command for more information.

Created with the Personal Edition of HelpNDoc: Generate Kindle eBooks with ease