cancel
Showing results for 
Search instead for 
Did you mean: 

Why does a txt file take so long to open in Notepad or Wordpad

Community Veteran
Posts: 38,311
Thanks: 972
Fixes: 57
Registered: 15-06-2007

Why does a txt file take so long to open in Notepad or Wordpad

Occasionally I want to check the routerstats log which is about 67,000 lines long
If I use Notepad or Wordpad it takes ages to fully open so I can see the last few lines but if I use Word or Libre Office (writer or calc) it is much quicker
11 REPLIES
Community Veteran
Posts: 4,688
Thanks: 796
Fixes: 3
Registered: 06-11-2014

Re: Why does a txt file take so long to open in Notepad or Wordpad

Hang on a sec, I'll go find where I read the reason....
Edit:
Found it, the reason is:
"Microsoft Windows: A collection of 32bit extensions and a graphical shell for a 16bit patch to an 8bit O.S. originally coded for a 4bit microprocessor written by a 2bit company who cant stand 1 bit of competition."
Grin
Community Veteran
Posts: 4,978
Thanks: 1,153
Fixes: 28
Registered: 16-10-2014

Re: Why does a txt file take so long to open in Notepad or Wordpad

NotePad++ Is the dog's danglies as far as editors go.
You can get it from here if you want it : http://notepad-plus-plus.org/
Community Veteran
Posts: 1,136
Thanks: 2
Registered: 30-07-2007

Re: Why does a txt file take so long to open in Notepad or Wordpad

+1 for np++.
As for the reason, <note|word>pad will be trying to load the entire file at once, Word/Libre Office will step through the file as you scroll through it.
F9 member since 4 Sep 1999
F9 ADSL customer since 27 Aug 2004
DLM manages your line the same way DRM manages your rights.
Look at all the pretty graphs! (now with uptime logging!)
Moderator
Moderator
Posts: 25,891
Thanks: 1,195
Fixes: 50
Registered: 14-04-2007

Re: Why does a txt file take so long to open in Notepad or Wordpad

I knew there was something I forgot to reinstall after my rebuild.
Edit: I've just reinstalled it with the latest version and it has an interesting built-in opening page.

Customer and Forum Moderator.

VileReynard
Seasoned Pro
Posts: 10,649
Thanks: 206
Fixes: 9
Registered: 01-09-2007

Re: Why does a txt file take so long to open in Notepad or Wordpad

Quote
jeremy@hector:~$ tail ~/'Links/Link to Manuals/Ubuntu_Linux_Bible.pdf'
0046435628 00000 n
0046435738 00000 n
0046435848 00000 n
0046435949 00000 n
0046439495 00000 n
trailer
<</Size 11675>>
startxref
116
%%EOF

Gives an instant response for the last few lines of a 45MByte file. Grin Grin Grin

Moderator
Moderator
Posts: 17,367
Thanks: 987
Fixes: 116
Registered: 11-01-2008

Re: Why does a txt file take so long to open in Notepad or Wordpad

prefer UltraEdit myself..
Will Moderate For Thanks
Community Veteran
Posts: 38,311
Thanks: 972
Fixes: 57
Registered: 15-06-2007

Re: Why does a txt file take so long to open in Notepad or Wordpad

With Notepad ++ it is instantaneous  Grin
Community Veteran
Posts: 38,311
Thanks: 972
Fixes: 57
Registered: 15-06-2007

Re: Why does a txt file take so long to open in Notepad or Wordpad

I should have used Google to find the answer
Turning Word Wrap off just about fixes it but it still isn't as fast as Notepad ++ although by default it doesn't use Word Wrap
sjptd
Grafter
Posts: 467
Registered: 01-09-2014

Re: Why does a txt file take so long to open in Notepad or Wordpad

I use Notepad++ as general editor of choice.  However, for very large files I find others quicker, such as EditPad Lite, which can also open files too big for Notepad++.  As it doesn't read into main memory searches can be slower.
JayG
Aspiring Pro
Posts: 878
Thanks: 48
Fixes: 1
Registered: 30-10-2011

Re: Why does a txt file take so long to open in Notepad or Wordpad

Quote from: Strat
I knew there was something I forgot to reinstall after my rebuild.
Edit: I've just reinstalled it with the latest version and it has an interesting built-in opening page.

That's an extra special version just for forum moderators!!  Grin
Community Veteran
Posts: 4,978
Thanks: 1,153
Fixes: 28
Registered: 16-10-2014

Re: Why does a txt file take so long to open in Notepad or Wordpad

There is of course Emacs, this is way more than an editor, but can take a bit of getting used to and involves a fair bit of keyboard ballet. Having said that it does come with it's own Psychotherapist and is also supported on Windows.