Single line text editor that makes use of linkedlists