Problem:
Add a text at the start of every line
Solution:
Press Ctrl+H keys
In search and replace box
search for ^ and in replace text box type the text that you want to display.
Problem:
Add a text at the end of every line
Solution:
Press Ctrl+H keys
In search and replace box
search for $ and in replace text box type the text that you want to display.