TextEdit copying query

Joined
Apr 12, 2008
Messages
4
Reaction score
0
Points
1
Hi all

I have 50,000 separate lines in textedit. Each line contains about 25 letters max.

What I need to do is select and copy for example line 24000 to line 50000. To literally scroll over these lines will take an eternity plus I have 17 such files.

Is there better way of doing this i.e. some command I am missing. I tried pasting to Numbers but there is no helpful function etc their either. I cannot find anything in automator.

Any help would be appreciated.

TKs
recent mac convert.
 

cwa107


Retired Staff
Joined
Dec 20, 2006
Messages
27,042
Reaction score
812
Points
113
Location
Lake Mary, Florida
Your Mac's Specs
14" MacBook Pro M1 Pro, 16GB RAM, 1TB SSD
Hi all

I have 50,000 separate lines in textedit. Each line contains about 25 letters max.

What I need to do is select and copy for example line 24000 to line 50000. To literally scroll over these lines will take an eternity plus I have 17 such files.

Is there better way of doing this i.e. some command I am missing. I tried pasting to Numbers but there is no helpful function etc their either. I cannot find anything in automator.

Any help would be appreciated.

TKs
recent mac convert.

I would take a look at a more robust Text Editor like Text Wrangler to be honest. Those sound like pretty heavy duty text files.
 
Joined
Mar 30, 2004
Messages
4,744
Reaction score
381
Points
83
Location
USA
Your Mac's Specs
12" Apple PowerBook G4 (1.5GHz)
I second TextWrangler...it should handle large files better than TextEdit.

Also, to more directly address your question...you can select large areas of text by clicking to place the insertion point at the beginning of the desired selection, and then holding down the shift key and clicking again at the end. So, just click, scroll, and shift-click. No need to drag over thousands of lines. (This should work in most any application.)
 
OP
asquire
Joined
Apr 12, 2008
Messages
4
Reaction score
0
Points
1
cwa107 and technologist

Excellent. Thank you very much. Such a simple solution that I feel like an idiot for not knowing. The text files are actually going to be used in three arrays on VB(I still have to learn xcode!). The system cannot handle 900,000 array items so I have to split the original file data up and run sub programs on them. You have made this process a billion times easier.

Tks
squire

ps nice to see Deming is still being read.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top