TIP: Click on subject to list as thread! ANSI
echo: qedit
to: ALL
from: JORJ STRUMOLO
date: 1995-06-21 22:13:00
subject: TSE: SlipRight/SlipLeft

 SLED is a simple editor which has a pair of built-in macros
 assigned to  and  for which I've never seen TSE
 duplicates.  Call it column slipping.  Say you have text:
  aaaaa  bbbbb              ccccc ddddd         eeeee
  aaaaa  bbbbb              ccccc ddddd         eeeee
  aaaaa  bbbbb              ccccc ddddd         eeeee
  aaaaa  bbbbb              ccccc ddddd         eeeee
 Say further that you'd like a more balanced screen appearance,
 equalizing the distance between columns.  In TSE you can line
 block the whole thing, and slide it left or right, but sliding
 *parts* is much more difficult, requiring repeated marking and
 unmarking and general fiddling.  These macros make it easy:
proc SlipLeft()
     PushPosition() GoToBlockBegin()
     while isCursorInBlock() DelChar() Down() endwhile
     PopPosition()
end
proc SlipRight()
     PushPosition() GoToBlockBegin()
     while isCursorInBlock()
     InsertText(" ",_insert_) Down() Left()
     endwhile
     PopPosition() Left()
end
      SlipLeft()
      SlipRight()
 You line block the whole section, then position your cursor
 anywhere within the marked block.  SlipRight will cause
 everything to the right of your cursor to move to the right;
 SlipLeft will cause everything to the right of your cursor
 to move to the left, eating characters if required.  No
 repetitious fiddling with block marking.
 -- SPEED 2.0m #1019: Accept your genius and say what you think. * Emerson
--- QScan/PCB v1.17b / 01-0175
---------------
* Origin: Eagle's Nest Comm., Inc Prov, RI 401-621-4600 (1:323/150)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.