as / a

A graphical text editor
BSD 3-Clause "New" or "Revised" License
347 stars 25 forks source link

a: edit: Crashes on '^' or '$' #78

Closed jubei85 closed 6 years ago

jubei85 commented 6 years ago

Win7/64 go 1.9 crashed if input commands: 1,$s, 1,$p and etc...

as commented 6 years ago

There are two separate issues here:

Because the latter causes the crash, we will address that issue here. A separate issue will be created for missing p.

as commented 6 years ago

Those specific constructions should work for the most part. Added p and s, but the edit program is overdue for refactoring.

Some tests
Edit ,x,func.+,=
Edit 2,$p
Edit ^,10,p