VE: make D copy first deleted line to IBUF
This commit is contained in:
parent
6a6c59300e
commit
8f0e51a21c
4
blk/122
4
blk/122
@ -11,6 +11,6 @@ Block Editor (B100). Refer to documentation there.
|
|||||||
|
|
||||||
'o' inserts a blank line after the cursor. 'O', before.
|
'o' inserts a blank line after the cursor. 'O', before.
|
||||||
|
|
||||||
'D' deletes "modifier" lines at the cursor.
|
'D' deletes "modifier" lines at the cursor. The first of those
|
||||||
|
lines is copied to IBUF.
|
||||||
(cont.)
|
(cont.)
|
||||||
|
3
blk/130
3
blk/130
@ -10,5 +10,6 @@
|
|||||||
: $O EDPOS @ 0x3c0 ( 15 * 64 ) >= IF EXIT THEN
|
: $O EDPOS @ 0x3c0 ( 15 * 64 ) >= IF EXIT THEN
|
||||||
_U EDPOS @ 0x3c0 AND DUP pos! _cpos _zbuf BLK!! contents ;
|
_U EDPOS @ 0x3c0 AND DUP pos! _cpos _zbuf BLK!! contents ;
|
||||||
: $o EDPOS @ 64 < IF EXIT THEN EDPOS @ 64 + EDPOS ! $O ;
|
: $o EDPOS @ 64 < IF EXIT THEN EDPOS @ 64 + EDPOS ! $O ;
|
||||||
: $D acc@ 0 DO 16 EDPOS @ 64 / DO i _mvln- LOOP LOOP
|
: $D $H 64 icpy
|
||||||
|
acc@ 0 DO 16 EDPOS @ 64 / DO i _mvln- LOOP LOOP
|
||||||
BLK!! contents ;
|
BLK!! contents ;
|
||||||
|
Loading…
Reference in New Issue
Block a user