improve comments
This commit is contained in:
parent
6668d45bd8
commit
b27355c44f
|
@ -701,9 +701,14 @@
|
||||||
#00 .searching/active STZ
|
#00 .searching/active STZ
|
||||||
;redraw-all JSR2 ;return JMP2
|
;redraw-all JSR2 ;return JMP2
|
||||||
|
|
||||||
|
( TODO: i haven't decided how to solve the problem of )
|
||||||
|
( overlapping matches yet. i don't really want to maintain )
|
||||||
|
( a global list of all matches, which means that currently )
|
||||||
|
( it can change in response to e.g. cursor position when )
|
||||||
|
( matches overlap. )
|
||||||
|
|
||||||
@move-to-next-match
|
@move-to-next-match
|
||||||
.buffer/limit LDZ2
|
.buffer/limit LDZ2
|
||||||
( FIXME: we should consider starting at the _end_ of the current match )
|
|
||||||
;cur-pos JSR2 INC2
|
;cur-pos JSR2 INC2
|
||||||
&loop
|
&loop
|
||||||
GTH2k ,&next JCN ,&fail JMP
|
GTH2k ,&next JCN ,&fail JMP
|
||||||
|
@ -720,7 +725,6 @@
|
||||||
|
|
||||||
@move-to-prev-match
|
@move-to-prev-match
|
||||||
;data
|
;data
|
||||||
( FIXME: we should consider starting at the _end_ of the current match )
|
|
||||||
;cur-pos JSR2 #0001 SUB2
|
;cur-pos JSR2 #0001 SUB2
|
||||||
&loop
|
&loop
|
||||||
GTH2k ,&fail JCN
|
GTH2k ,&fail JCN
|
||||||
|
|
Loading…
Reference in New Issue