I added these entries to the key-mac.lib file:
**********
Move current line up / down - #1.
**********
Moves the current line up or down (respectively) in the file.
Uses text register 103 as a temporary register.
[VISUAL EXIT]
Begin_Of_Line() Reg_Copy(103,1,DELETE)
Line(-1,NOERR) Reg_Ins(103) Line(-1)
[VISUAL EXIT]
Begin_Of_Line() Reg_Copy(103,1,DELETE)
Line(1,NOERR) Reg_Ins(103) Line(-1)
**********
Move current line up / down - #2
**********
Moves the current line up or down (respectively) in the file.
Uses only the Undo stack and doesn't change any other resources.
[VISUAL EXIT]
Begin_Of_Line() Del_Line()
Line(-1,NOERR) Undo_Delete() Line(-1)
[VISUAL EXIT]
Begin_Of_Line() Del_Line()
Line(1,NOERR) Undo_Delete() Line(-1)
Ted.
|
|