I have an object with 15 lines. But when I display changes in it, line numbers count both old and new line value, so line numerations for the rest of the object are messed.
I've attached screenshots for current implementation and desired result from github


Thanks for your attention!