The “Go to Line” command allows you to select and move to a specific line quickly.
Choose the Go to Line command in the Find menu
Enter the line number where to jump to the dialog.
Click Go, or press Return.
You can also specify a range of lines.
If you type in “3”:
→ Line 3 (the third line from the top) is selected.
If you type in “3:2”:
→ What this indicates is “starting from line 3, select 2 lines.” Thus, lines 3 and 4 are selected.
If you type in “3:-1”:
→ What this indicates is “starting from line 3, select the rest lines except the last 1 line.” Thus, if the document has 10 lines, the lines from line 3 to 9 are selected.