Optimized delete
This commit is contained in:
parent
18f339995e
commit
dd4775eb64
|
@ -182,10 +182,11 @@
|
||||||
|
|
||||||
@delete ( -- )
|
@delete ( -- )
|
||||||
#00 ;on-frame/f STA
|
#00 ;on-frame/f STA
|
||||||
get-eof get-from INC2 NEQ2 ?{ JMP2r }
|
.selection/length LDZ2 ORA ?{
|
||||||
.selection/length LDZ2 #0000 EQU2 ?{ erase-selection !<select-reset> }
|
get-from INC2k get-eof NEQ2 ?{ POP2 JMP2r }
|
||||||
get-from cut-char <redraw>
|
cut-char <redraw>
|
||||||
!file-save
|
!file-save }
|
||||||
|
erase-selection !<select-reset>
|
||||||
|
|
||||||
@get-eof ( -- addr* )
|
@get-eof ( -- addr* )
|
||||||
get-page !scap/
|
get-page !scap/
|
||||||
|
|
Loading…
Reference in New Issue