There is no line tool!How do I make lines?
Hold shift on the pencil tool. It will automatically create a straight line for you. Just like how you can hold shift while drawing a circle to make a perfect one, and the same thing with the rectangle
Closing as a duplicate - and don't worry the paint editor is still being changed.