Customizable Line Numbers For Textareas - jQuery Linenumbers
Briefly

Ideal for coding environments, script editing, or managing large chunks of text where line-specific formatting is crucial.
In addition, the plugin detects the cursor position and highlights the current line number, which is useful for quickly locating and rectifying issues.
Read at jQuery Script
[
add
]
[
|
|
]