using splice to add new object at the correct index and updating all line_numbers afterwards; makes it possible to copy-paste pad lines
updated todo with new bug