Use the Go to Line command to quickly move to a specific line.
In the CotEditor app
on your Mac, open a document.
Choose Find > Go to Line.
Enter the line number you want to jump to.
Click Go, or press Return.
You can also specify a range of lines using the specific format. For example:
| Input | Range to select |
|---|---|
| 3 | Selects line 3 (the third line from the top). |
| 3:2 | Selects 2 lines starting from line 3. Lines 3 and 4 are selected. |
| 3:-1 | Selects the lines from line 3 up to the second-to-last line. For example, if the document has 10 lines, lines 3 to 9 are selected. |