mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-10 06:40:24 +09:00
I forgot that when you remove lines[n] then lines[n+1] becomes lines[n] so to remove the range lines[a:b] you need to remove lines[a] for a-b times. In this case we should delete lines[start.Y + 1] over and over instead of removing lines[i] because i is contantly increasing. Fixes #166