Fix bug with outdent (col -> top)

This commit is contained in:
Ted Blackman 2017-08-24 13:20:46 -07:00
parent dc993fe091
commit c4793de019

View File

@ -310,10 +310,10 @@
::
=/ eat-newline +>(txt t.txt, loc [+(p.loc) 1])
=/ saw look:eat-newline
=/ cont
?| ?=($~ saw)
?=($done sty.u.saw)
(gte col.u.saw col)
=/ cont :: continue?
?| ?=($~ saw) :: line is blan
?=($done sty.u.saw) :: end of input
(gte col.u.saw top) :: no outdent
==
?: cont
[[lin &] eat-newline]