(m291) Follow cursor
This commit is contained in:
parent
bf030b22f3
commit
9f69c95646
|
@ -214,7 +214,17 @@
|
||||||
@<move> ( mod -- )
|
@<move> ( mod -- )
|
||||||
.selection LDZ ADD INCk ?{
|
.selection LDZ ADD INCk ?{
|
||||||
POP count-lines #01 SUB !<select> }
|
POP count-lines #01 SUB !<select> }
|
||||||
count-lines DIVk MUL SUB
|
( | follow )
|
||||||
|
DUP .lines/folders LDZ SUB
|
||||||
|
( up ) DUP #80 LTH ?{
|
||||||
|
.selection/scroll LDZ ADD #80 LTH ?{ POP !<redraw-dir> }
|
||||||
|
.selection/scroll LDZk #01 SUB SWP STZ
|
||||||
|
POP !<redraw-dir> }
|
||||||
|
( down ) DUP #18 LTH ?{
|
||||||
|
.selection/scroll LDZ ADD .lines/tracks LDZ NEQ ?{ POP !<redraw-dir> }
|
||||||
|
.selection/scroll LDZk INC SWP STZ
|
||||||
|
POP !<redraw-dir> }
|
||||||
|
POP
|
||||||
( >> )
|
( >> )
|
||||||
|
|
||||||
@<select> ( id -- )
|
@<select> ( id -- )
|
||||||
|
|
Loading…
Reference in New Issue