Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Select lines by numbers in TextEdit Apps
TextEdit has a dialog that lets you select lines. You can invoke the Select Line window by pressing Command-L. In this window, you can enter a single line number, but you can also enter relative selections or ranges. For example, enter the following:

2: selects line 2.

+2: selects the second line after the line where the cursor is.

-2: selects the second line before the line where the cursor is.

12-14: selects lines 12, 13 and 14.

+2-4: selects 3 lines, 2 lines after the line where the cursor is.

-2-4: selects 3 lines, 2 lines before the line where the cursor is
    •    
  • Currently 3.45 / 5
  You rated: 1 / 5 (11 votes cast)
 
[5,344 views]  

Select lines by numbers in TextEdit | 2 comments | Create New Account
Click here to return to the 'Select lines by numbers in TextEdit ' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Select lines by numbers in TextEdit
Authored by: fferitt25 on Apr 02, '13 07:27:10PM

This goes back to the early days of TextEdit.

The operators are still available in Snow Leopard.

Honestly I think the functionality was around during the OS 9 days of SimpleText - but that's been awhile and my memory could be a little foggy that far back.

But TextEdit hasn't changed much in 14 yeards. The most significant addition was DOC file compatibility.



[ Reply to This | # ]
Select lines by numbers in TextEdit
Authored by: slb on Apr 03, '13 04:04:08PM

Well then that's 14 years I didn't know about lines :)



[ Reply to This | # ]