Recompute indxLeft and indxLeftAlt after line has changed.
Further on, the code checks if indxLeftPlace < indxLeft to determine whether there is a placeholder,
however the indxLeft is wrong as it is first computed before the line is uncommented but indxLeftPlace is computed after uncommenting.
Recompute
indxLeft
andindxLeftAlt
after line has changed.Further on, the code checks if
indxLeftPlace < indxLeft
to determine whether there is a placeholder, however theindxLeft
is wrong as it is first computed before the line is uncommented butindxLeftPlace
is computed after uncommenting.Related to this PR that was never merged: https://github.com/preservim/nerdcommenter/pull/226 Related issue: https://github.com/preservim/nerdcommenter/issues/68