How come when you load up a file that the file only lods up the first line of the file?

How do you open up a whole file fully into the text box?

How do u edit a certain line of the text in a text file? or if segment of line if possible.