How to add number to each line of text in Notepad. New line after each line in a text file you can do it with Notepad find and replace option Go to Find and Replace. You can also turn on a single vertical line at whatever column you choose in SettingsPreferencesEdit ComponetsVertical Edge Setting.
By using the replace tool we can easily add a command for numbers of characters to find and replace it with a new line.
Regular Expression in Search Mode. For example to open a file directly at line 1500 we can pass it as notepad filename -n1500. We can control Notepad startup by passing the line number as an argument at launch time from the command line or via a shortcut. The blinking cursor is positioned at the beginning of the specified line.